Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to email out with PHP?

Status
Not open for further replies.

TerryJones

Programmer
Jul 19, 2000
15
AU
Dear all,<br><br>I am wondering what the best way to email out a message at a certain point in a PHP script is.<br><br>I am writting a PHP script (AddUser1.php3) where the user is added into a database. Once this is done, the info is sent to a 2nd script (AddUser2.php3).<br><br>At the 2nd script, I want to be able to email a message to 3 individuals (I know all 3 email addresses).<br><br>If anyone has any info on how to email out from a php script (prefer without the user being involved), could you please give me some advice.<br><br>Thank you.
 
Dear all,<br><br>I figured out how to fix this problem. <br><br>I used:<br>&quot;mail($address, $header, $body, $additions)&quot;, as shown in PHP manual, at &quot;<A HREF=" TARGET="_new"> $additions = &quot;FROM &quot;.$emailAddress;<br><br>Thanks all, and have a nice day.<br><br>Yours Sincerely,<br>&nbsp;&nbsp;Terry F. Jones
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top