close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Add custom email headers

Thread began 6/27/2022 5:46 am by mlowe4 | Last modified 6/29/2022 8:34 pm by mlowe4 | 83 views | 8 replies

Ray BorduinWebAssist

The headers currently are:

Date: Tue, 28 Jun 2022 19:48:02 +0000
From: support@nexuscst.com
Message-ID: <bMqtcX8e6zZFHMTiU30zVCoUen89ztQyi9jHzEFamQ@sentrydemo.nexuscst.com>
X-Mailer: PHPMailer 6.1.7 (https://github.com/PHPMailer/PHPMailer)
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="b1_bMqtcX8e6zZFHMTiU30zVCoUen89ztQyi9jHzEFamQ"
Content-Transfer-Encoding: 8bit



The MIME-Version is already there. The Content-Type is set to: multipart/alternative

This is the necessary type to allow both html and plain text versions to be sent. The code automatically produces plain text versions of the code for html clients that don't support viewing html, but it should deliver the html version for any email client that supports it.

Email clients that support html will get the header:
Content-Type: text/html; charset=us-ascii

If you want to change the charset, you can do that in the email settings UI from our extension. I've added it for you and you can see the result on line 53:
$Email->CharSet = "ISO-8859-1";

That should create the correct headers for you.


Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...