Home Forums Extensions Office 365 Invalid Message Id

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #70504
    Fireside AdminFireside Admin
    Participant

    I was testing the emails sent through your system using Mail-Tester.com and got the error: SMTP: Message-Id is not valid, according to RFC 2822

    I wrapped the internetMessageId in “<” and “>” and the error went away.

    The changes I made were to /post-smtp-extension-office365/inc/Engine.php

    Line 79 went from:
    `
    $payload[‘Message’][‘internetMessageId’] = $message->getMessageId();
    `
    to
    `
    $payload[‘Message’][‘internetMessageId’] = “<” . $message->getMessageId() . “>”;
    `

    I hope it helps someone else.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.
Scroll to Top