Announcement

Collapse
No announcement yet.

Add MIME and message_id headers to emails

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Add MIME and message_id headers to emails

    How can I ensure MIME and message_id headers are added to emails?

    Is it in layouts or in the mail scripts?

    How do I do this?

    Thank you.
    Jonathan Chappell
    Website Designer
    SellerDeck Website Designer
    Actinic to SellerDeck upgrades
    Graphicz Limited - www.graphicz.co.uk

    #2
    Hi Jonathan,

    You probably need to do make the changes in SmtpLibrary.pm

    I have this starting at line 489 in my version (18.0.6) and it looks as if the MIME content is already there. It should be easy enough to generate a message_ID header and add it to the header string.

    my $mail_headers = "From: $mail_from\n".
    "To: $mail_to\n".
    "Reply-to: $mail_replyTo\n".
    "Subject: ".encode('MIME-Header', $mail_subject)."\n".
    "Date: $sNow\n";
    "MIME-Version: 1.0\n";
    #
    # Send the email
    -----------------------------------------

    First Tackle - Fly Fishing and Game Angling

    -----------------------------------------

    Comment


      #3
      Thanks Mike - I am sure it is a false positive by Mail Channels but they are being difficult!
      Jonathan Chappell
      Website Designer
      SellerDeck Website Designer
      Actinic to SellerDeck upgrades
      Graphicz Limited - www.graphicz.co.uk

      Comment

      Working...
      X