HTML email redirect via exim

tivilardo

Registered
Jun 2, 2017
3
0
1
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 "[email protected]"
then
unseen deliver "[email protected]"
endif​
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,309
363
Houston
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,
 

tivilardo

Registered
Jun 2, 2017
3
0
1
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.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,309
363
Houston
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?