Jump to content

Email From address and Attachments?


the_oliver

Recommended Posts

mail($EmailTo, $Subject, $Body, $mail_header, "From: <$from>");

 

Hello im trying to set the from address in an email, but when i do it with the above it doesnt work!  Instead it stops the header being set to HTML and shows that code.  Can any one tell me where im going wrong?

 

Also how can i send attatchments with an email?

 

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/54044-email-from-address-and-attachments/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.