Search code examples
htmlemailhtml-emailnewsletteremail-client

HTML E-Mail formatting issues in Apple Mail Client


I'm trying to create a HTML-based newsletter. In Apple's mail client I noticed that my telephone numbers, zip codes, and addresses were all automatically turned into links, which is not what I intended.

Is there a way to prevent this behaviour, or will I have to resort to work-arounds such as using images in place of the text? Perhaps if I choose a certain <!DOCTYPE> this will change the formatting given by the client?


Solution

  • All Apple clients (and GMail too) comb through text and add an <a> tag around what it sees as an address or phone number. Try this:

    <style type="text/css">
        .applelinksBlack a {color:#000000 !important; text-decoration:none;}
    </style>
    
    Visit our studio at <span class="applelinksBlack" style="color:#000000 !important">3 Abbey Rd, London NW8 9AY, United Kingdom, or call 1-555-555-5555</span>