emediastudios Posted March 19, 2008 Share Posted March 19, 2008 I have this code a friend wrote for me. mysql_query("UPDATE resume SET file = '".$target_path."' WHERE email='".$_POST[email]."'"); mail("[email protected]","New Application at your website", "Please go to your website to see the application"); It works, but he forgot to add the sent from part of the script and it ends up in the spam box. Can someone please tell me how to add that into this script please. Link to comment https://forums.phpfreaks.com/topic/96855-mail-sent-from/ Share on other sites More sharing options...
bobinindia Posted March 19, 2008 Share Posted March 19, 2008 Update it to the code below mysql_query("UPDATE resume SET file = '".$target_path."' WHERE email='".$_POST[email]."'"); mail("[email protected]","New Application at your website", "Please go to your website to see the application", 'From:[email protected]'); Good luck Link to comment https://forums.phpfreaks.com/topic/96855-mail-sent-from/#findComment-495676 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.