Search code examples
htmloutlookhtml-emailsendgridemail-client

Sending an email-id in HTML code using Sendgrid API


When I'm sending the Email id using the HTML. It is visible in browser G-mail but it is not visible in the Outlook and Apple Email client. This is a sendgrid email template.

<div style="font-size: 10px; line-height: 150%; margin: 0px; text-align: left;">
    <span style="color:#FFFFFF;">
        <span style="font-family:arial,helvetica,sans-serif; decoration:none;" href="mailto: :useremail">
            Sender Email::useremail
        </span>
    </span>
</div>

Solution

  • You can use this :-

    <div style="font-size: 10px; line-height: 150%; margin: 0px; text-align: left;"><a target="_blank" style="font-size: 10px; line-height: 150%; text-align: left; color:#FFFFFF; font-family:arial,helvetica,sans-serif; text-decoration:none;" href="mailto: :useremail">Sender Email: :useremail</a></div>