Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

HTML email redirect via exim

Discussion in 'E-mail Discussion' started by tivilardo, Apr 18, 2018.

  1. tivilardo

    tivilardo Registered

    Joined:
    Jun 2, 2017
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ecuador
    cPanel Access Level:
    Root Administrator
    Hi everyone,

    I already set up the redirection(copy) of outgoing email of an email account vía etc/cpanel_exim_system, as shown here.

    Emails are being copied great, but the only problem is that HTML email arrive with plain (no HTML) format.

    What can I do?

    Here is the code I´m using:

    if $sender_address: contains "sender@domain.com"
    then
    unseen deliver "receiver@domain.com"
    endif​
     
  2. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,551
    Likes Received:
    253
    Trophy Points:
    193
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello,


    I'm not able to replicate this behavior.

    I tested creating a system filter identical to yours then set it up to send to a remote server (Gmail) and then to deliver locally.

    For each configuration, I created an HTML email using the webmail client and sent mail

    In both cases, I received the mail in HTML format.

    Was there any further information or specific steps that needed to be done to replicate this? What client are you using to receive the copied mail to?


    Thank you,
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. tivilardo

    tivilardo Registered

    Joined:
    Jun 2, 2017
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ecuador
    cPanel Access Level:
    Root Administrator
    Hi Lauren,

    The emails are sent by an APP in HTML format. The normal deliver looks good in HTML format (MS Outlook win 10), but the hidden copy shows HTML tags in plain text (MS Outlook win 10).

    Thanks for your help.
     
  4. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,551
    Likes Received:
    253
    Trophy Points:
    193
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @tivilardo

    I can confirm that HTML mail sent from webmail on the server to the recipient and the copied address display as intended (this is what I tested) if the mail is no longer displaying in HTML format the issue would most likely be with Outlook itself. Please see the following:

    Change the message format to HTML, Rich Text Format, or plain text

    Outlook can also be set to read standard mail as plain text, can you confirm if the mail is displayed in HTML format when viewing it through another client or webmail?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice