Re: Mail

From: Date: Fri, 30 Jun 2000 21:01:42 +0000
Subject: Re: Mail
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-780@lists.php.net to get a copy of this message
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

« previous php.windows (#780) next »