Re: Mail
| From: | sunny | Date: | Sat, 01 Jul 2000 10:01:21 +0000 |
| Subject: | Re: Mail | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-785@lists.php.net to get a copy of this message | ||
Does it need php_nsmail.dll?
Where to find the DLL?
Thanks.
"Mark Stabb" <mark@northdevon-on-the.net> wrote in message
news:001401bfe2d6$66602940$010000c3@ODYSSEY...
> Firstly you need a working SMTP/POP3 server to test this and make it work
> You can either go on line and use your normal ISP settings for mail & SMTP
> server
> or you can down load an evaluation copy of VPOP3 from www.pscs.co.uk
>
> next use the mail() function to do whatever you wany.(See manual it works
> the same in Win NT or 98 as in Linux UNIX)
>
> i.e.
> $email = "address to recieve mail";
> $subject = "subject line";
> $body = "body of mail"; this bit can be HTML if needed.
> $admin = "admin email address ie. you";
>
> mail("$mail", "$subject", "$body", "From:
> $admin\nContent-Type:text/html\ncharset=iso-8859-1");
>
> extra headers are added after the body bit and separated by \n
> so ie. $admin\n$admin2
>
> Content-Type:text/html\ncharset=iso-8859-1 this bit displays the
> email as HTML in the clients email package ie. outlook etc.
>
> hope this helps if you want to see this work go to
> http://www.northdevonholidays.co.uk goto search, put in
> property no
1022
> click ok and on the next page click the send me this page as an email
button
> the image takes a second or two to download.
> Best wishes
>
> Mark Stabb
> Leasehouse Ltd
>
>
> ----- Original Message -----
> From: "Ryan Gaul" <rgaul@WETAUTOMOTIVE.COM>
> To: <php-windows@lists.php.net>
> Sent: Friday, June 30, 2000 8:33 PM
> Subject: [PHP-WIN] Mail
>
>
> > How exactly do you do set up the mail functions on the Win32 platform?
I
> > see options in php.ini, but I'm not exactly sure how they're supposed to
> > work. Anyone?
> >
> > Ryan
> >
> > --
> > 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
>