Dicko_md Posted May 30, 2013 Share Posted May 30, 2013 Hi I have a script that sends out an email when a user specifies a event time and date. 1st issue is Also the below forms the date and time in my email (this works OK) but I would like it to be noticed when on a smart phone so that it can be added to the calendar. At the moment it just looks like text. I have also had it display the date and time as dS M Y and this doesnt make a difference. $formdate = date("d/m/Y H.i", $formdate); 2nd issue is $comment .= $addcomment."\n".GetConfig('defaultmsg'); @mail($info['email'], "$info[subject] (AutoReminder: $formdate)", "Event Date : ".$formdate."\n".$comment, GetConfig('msgheaders')); I have added the Event Date : and that comes through with the email but I would like to create a HTML email here and put some data out puts into a html table and the logo at the top of the email. Does anybody have any ideas ? 3rd issue is As this is a generated email it always goes into junk on my hotmail account. Is there any way to stop this apart from advising the user to check their junk/spam mail ? My host already has SPF turned on for authenticity. Thanks in advance Martyn Link to comment https://forums.phpfreaks.com/topic/278585-help-to-create-a-html-email-from-a-script-i-have/ Share on other sites More sharing options...
Dicko_md Posted May 31, 2013 Author Share Posted May 31, 2013 Nobody any ideas? Thanks martyn Link to comment https://forums.phpfreaks.com/topic/278585-help-to-create-a-html-email-from-a-script-i-have/#findComment-1433360 Share on other sites More sharing options...
boompa Posted May 31, 2013 Share Posted May 31, 2013 Are you using a library like SwiftMailer or PHPMailer to send the mail? If not I'd try one of those first. Link to comment https://forums.phpfreaks.com/topic/278585-help-to-create-a-html-email-from-a-script-i-have/#findComment-1433389 Share on other sites More sharing options...
Dicko_md Posted May 31, 2013 Author Share Posted May 31, 2013 I dont think my script is using any of those. Its all done by creating the email in php from a mysql database. Is it easy to integrate ? Thanks in advance ? Link to comment https://forums.phpfreaks.com/topic/278585-help-to-create-a-html-email-from-a-script-i-have/#findComment-1433416 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.