Re: Sendmail...
| From: | Ross Fleming | Date: | Fri, 26 Oct 2001 11:37:03 +0000 |
| Subject: | Re: Sendmail... | ||
| References: | 1 2 3 4 5 6 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-10052@lists.php.net to get a copy of this message | ||
Hmm... that didn't work for me when I tried it. It was the 1st thing I
tried. I kept getting "Server error" on the PHP page when I ran it.
I'll certainly try it again.
It won't be clara I use anyway but I do know the server address from
Outlook etc. and it just didn't seem to work. Don't know what magic
your PC seems to do but consider yourself lucky. :)
Ross
PS You should be shot for that "clara-fy" pun!!! ;)
DL Neil wrote:
>
> Ross,
>
> Apologies if I've confused the issue: "TLD" is "top level domain"
> otherwise known as "country level domain", ie in your
> case ".uk".
> thus your ISP's SMTP server MIGHT be smtp.clara.co.uk (it won't PING for me, so
> please clara-fy that). Thus
>
> -----
> > > [mail function]
> > > ; For Win32 only.
> > > SMTP = smtp.clara.co.uk
> > >
> > > ; For Win32 only.
> > > sendmail_from = r.fleming@clara.co.uk
> > >
> > > ; For Unix only. You may supply arguments as well (default: 'sendmail -t
> > > -i').
> > > ;sendmail_path =
> -----
>
> suitably edited, might work.
> Let us know,
> =dn
>
> PS have put this conversation back on the list, in case others can benefit/improve...
>
> > That sounds better. I'm at uni just now so I can't try it till I get
> > home.
> >
> > I take it the TLD has a bearing on things? I tried it before (granted
> > without the .TLD at the end) and it didn't work
> >
> > I'll give it a go and let you know what happens
> >
> > Cheers for your info! Appreciate it :)
> >
> > Ross
> >
> > DL Neil wrote:
> > >
> > > Ross,
> > >
> > > If you're still dissatisfied, here is my PHP.ini mail section - I'm using
> > > WinNT 4.0 SP6a and link into my ISP's SMTP
> > > server (I don't run a local SMTP or POP server because the less I run on the
> > > (portable) box itself, the
> faster/better I
> > > like it!)
> > >
> > > -----
> > > [mail function]
> > > ; For Win32 only.
> > > SMTP = smtp.isp.address.TLD
> > >
> > > ; For Win32 only.
> > > sendmail_from = mailaccount@isp.address.TLD
> > >
> > > ; For Unix only. You may supply arguments as well (default: 'sendmail -t
> > > -i').
> > > ;sendmail_path =
> > > -----
> > >
> > > NB I didn't do anything with the last line - the "Unix only" bit
> > > seemed a warning! Also no 30-day wonder...
> > >
> > > Hope it helps,
> > > =dn
> > >
> > > ----- Original Message -----
> > > From: "Ross Fleming" <r.fleming@totalise.co.uk>
> > > To: "Eric Pankoke" <epankoke@csdatasol.net>
> > > Cc: <php-windows@lists.php.net>
> > > Sent: 25 October 2001 12:11
> > > Subject: Re: [PHP-WIN] Sendmail...
> > >
> > > > Searched google with the string "sendmail for windows".
> > > >
> > > > http://www.indigostar.com/sendmail.htm
> > > >
> > > > It's a shareware version of sendmail though, not sure how long it will
> > > > last. I'm thinking about using Blat (freeware) which is just a command
> > > > line mailer and just calling it from exec() or system() etc. Either
> > > > that or actually using sendmail through cygwin or something.
> > > >
> > > > Ross
> > > >
> > > >
> > > > Eric Pankoke wrote:
> > > > >
> > > > > Just curious, where did you find the win32 version of sendmail?
> > > > >
> > > > > At 11:49 PM 10/24/01 +0100, Ross Fleming wrote:
> > > > > >Never mind people, I found a win32 version of sendmail and it works
> > > > > >now.
> > > > > >
> > > > > >Ta anyway
> > > > > >
> > > > > >Ross
> > > > > >
> > > > > >-----Original Message-----
> > > > > >From: Ross Fleming [mailto:r.fleming@totalise.co.uk]
> > > > > >Sent: 24 October 2001 23:29
> > > > > >To: php-windows@lists.php.net
> > > > > >Subject: [PHP-WIN] Sendmail...
> > > > > >
> > > > > >
> > > > > >Hello, I'm probably just being a bit thick, but how exactly do I
> > > > > >get the
> > > > > >mail function to work?..
> > > > > >
> > > > > >Do I need a sendmail replacement? (I downloaded blat to see if that
> > > > > >would
> > > > > >help but can't see that it does.)
> > > > > >
> > > > > >------
> > > > > >php.ini
> > > > > >
> > > > > >
> > > > > >[mail function]
> > > > > >; For Win32 only.
> > > > > >SMTP= mail.totalise.co.uk ; for Win32 only
> > > > > >
> > > > > >; For Win32 only.
> > > > > >sendmail_from= r.fleming@totalise.co.uk ; for Win32 only
> > > > > >
> > > > > >----------
> > > > > >
> > > > > >Do I need to have this in?..
> > > > > >
> > > > > >; For Unix only. You may supply arguments as well (default:
> > > > > >'sendmail -t -i').
> > > > > >;sendmail_path=
> > > > > >
> > > > > >I tried uncommenting the sendmail_path and pointed to
> > > > > >c:\windows\blat.exe
> > > > > >
> > > > > >Called it from within a php page
> > > > > >mail("r.fleming@clara.co.uk", "My Subject",
> > > > > >"Line 1\nLine 2\nLine 3");
> > > > > >
> > > > > >Got:
> > > > > >Warning: Server Error in C:\Program Files\Apache
> > > > > >Group\Apache\htdocs/email.php on line 11
> > > > > >
> > > > > >whether I uncommented the sendmail_path line or not.
> > > > > >
> > > > > >Any help appreciated. I'm running Windows 98.
> > > > > >
> > > > > >Thanks
> > > > > >
> > > > > >Ross
> > > > > >
> > > > > >
> > > > > >--
> > > > > >PHP Windows Mailing List (http://www.php.net/)
> > > > > >To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> > > > > >For additional commands, e-mail: php-windows-help@lists.php.net
> > > > > >To contact the list administrators, e-mail:
> > > > > >php-list-admin@lists.php.net
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >--
> > > > > >PHP Windows Mailing List (http://www.php.net/)
> > > > > >To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> > > > > >For additional commands, e-mail: php-windows-help@lists.php.net
> > > > > >To contact the list administrators, e-mail:
> > > > > >php-list-admin@lists.php.net
> > > > >
> > > > > --
> > > > > PHP Windows Mailing List (http://www.php.net/)
> > > > > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> > > > > For additional commands, e-mail: php-windows-help@lists.php.net
> > > > > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> > > >
> > > > --
> > > > PHP Windows Mailing List (http://www.php.net/)
> > > > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> > > > For additional commands, e-mail: php-windows-help@lists.php.net
> > > > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> > > >
> > > >
> > >
> > > --
> > > PHP Windows Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> > > For additional commands, e-mail: php-windows-help@lists.php.net
> > > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net