Including Youtube icon to HTML email templates plugin


1. I want to include Youtube icon to my email template. What code should I use to do this?

Help me to replace twitter with youtube icon.


it seems I can't paste the code here

2. I have also installed E-newsletter plugin. Will there be any conflicts?

3. I have setup my gmail account to send mails using my domain. Can't I use this same template in gmail too? (this maybe a naive question :smiley:)


  • Patrick

    Hi there @chathura

    I hope you're having a great day!

    To add the YouTube icon to your emails, first grab it from their downloads page:

    Then, after resizing if necessary, upload that icon to your media library. You can then use it in your email templates like any other image you would add to a post with a link. For example:
    <a href="" TARGET="_blank"><img src="" alt="YouTube-logo-full_color" width="154" height="96" class="alignnone size-full wp-image-58" /></a>

    There should not be conflicts with e-Newsletter as that plugin uses its own template system. However, if you do notice some odd behavior between the 2 plugins in your own tests, please be sure to let us know so we can investigate and correct any issues.

    As for sending emails through Gmail, it's important to note that your HTML template will apply to all emails sent from your site. So, as long as the email originates from your site, the template should be used, even if you are sending through Gmail using SMTP for example.

    I hope this helps! And thanks for being a member :slight_smile:

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.