How to set LVE Notifications content always as multipart?
Forum
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. jucavega
  2. Wednesday, 12 April 2017
  3.  Subscribe via email
I manage a few Cloudlinux - cPanel servers and I want to send LVE stats notifications to resellers when their customers exceed resources. I'm checking the emails daily, for the ones I get on our own reseller account, and I see that the emails from some servers come in plain text while others come in HTML.

I see the headers on the HTML emails as:
Content-Type: multipart/alternative;
boundary="===============7518038636894340845=="

while the ones on the plain content email are:
Content-Type: text/plain

I have both the html and txt versions of the emails in /usr/share/lve/emails/en_US/, but obviously the HTML ones are easier to read. What is changing the Content-Type? or how do I set it so that it is always multipart/alternative ?
Rate this post:
  1. 13.04.2017 09:04:10
  2. # 1
Bogdan Accepted Answer
Posts: 709
Joined: 26.06.2013
0
Votes
Undo
Hello,

There is no switch to configure it, it is done automatically - the notification is formed as Multipart content type when both files are present. The plain text is taken from the .txt files, html version - from the .html template. In case when only one template is present (.txt or .html) the notification is sent as a Non-multipart content type notification.

Check file names if they are really same, should be both: reseller_notify.txt and reseller_notify.html .
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.