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?
Placing title tags in email html can be helpful for some email clients such as MS Outlook for better rendering. However, there are some email providers that don't like this, and sometimes prevents recipients from getting your email.
The title must be text-only, and it is shown in the browser's title bar or in the page's tab. The <title> tag is required in HTML documents! The contents of a page title is very important for search engine optimization (SEO)!
The <title> HTML element defines the document's title that is shown in a browser's title bar or a page's tab. It only contains text; tags within the element are ignored. Metadata content. Text that is not inter-element whitespace.
HTML Email Tag HTML <a> tag provides you option to specify an email address to send an email. While using <a> tag as an email tag, you will use mailto: email address along with href attribute.
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.uk
email failed to arrive but the 4 others had no problems.
After a process of elimination it turned out that the @blueyonder.co.uk
mail 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!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With