I have a script that sends out an email when a user specifies a event time and date.
1st issue is
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