When sending an HTML e-mail, is there any sense in using the <title> tag? In the PHP Manual, for instance, they use such a tag in their main sample code. However, I see no reason why an e-mail client would use this title and not the Subject from the e-mail. Is there any reason to set this tag?
When sending an HTML e-mail, is there any sense in using the <title> tag?
Share
I’ve been looking into this myself as I’m writing a PHP mailing list manager script that uses the
sendmail()function.The script allows the admin to create and send multiform emails (both text and html versions).
After much testing I have found that some email servers appear to have issues with the title tag (
<title></title>).I created a test email and sent it to 5 of my email address, my
@blueyonder.co.ukemail failed to arrive but the 4 others had no problems.After a process of elimination it turned out that the
@blueyonder.co.ukmail servers did not like the title tags in the html part of the email message, when I removed the tag the email arrived no probs.Very strange!