Add extra headers on Email() function

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
wunganayi
User
Posts: 19

Add extra headers on Email() function

Post by wunganayi »

I want to add the following extra headers on the Email() Class.

Content-class: urn:content-classes:calendarmessage and MIME-Version: 1.0

Want to use this Email() Class to send Event Calendars to clients


arbei
User
Posts: 9292

Post by arbei »

You may call PHPMailer methods via the Email class, e.g. if you use Email_Sending server event, you may use

$email->addCustomHeader("Content-class", "urn:content-classes:calendarmessage and MIME-Version: 1.0");

(Are you sure it is not "Content-Class" with uppercase "C"?)


Post Reply