-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SMTP] MessageID gets overwritten #2859
Comments
This is not good behaviour by sendinblue, as it's very likely to break DKIM signing. While you can set your own message ID, if they are replacing it in transit, there's not much you can do. I recommend asking their support. |
@Synchro Have you noticed anything similar on other services? I wonder if they all use the "origin message id" header to add the message id generated by phpmailer |
What are you using sendinblue for exactly? I am not familiar with sendinblue, but in general; the Message-ID is set by the e-mail sending application/server. If I understand and assume correctly, you are using PHPMailer to send an email to sendinblue, and you use sendinblue to actually send the emails to the actual (final) recipient. So more or less relaying / re-sending the original PHPMailer sent email. If this assumption is true, sendinblue is the "actual" sending application, so might very well set its own Message-ID. It is actually sending a new email, which happens to be very similar to the original one... The Message-ID is there for debugging purposes on the sending application. So, a Message-ID from PHPMailer, sent from sendinblue would (from a solution perspective) not have great value, since it will not correspond to anything you can debug on the sendinblue side, whereas a sendinblue Message-ID would. So maybe describe your solution a bit more and what your actual problem is with the new Message-ID? |
Hi,
When I send emails using phpmailer and sendinblue SMTP, the message id (header) is always replaced by SendinBlue
I have tried getting the last message id that is autogenerated by PHPMailer
getLastMessageID()
and compared it with the actual message id in the header on the gmail (account that receives the email sent by phpmailer) and they are different.I also tried generating my own custom message id header but that is also replaced by SendinBlue.
Instead it gets added in another header with title "origin message id" on both cases.
Is there any way to force my own custom message id header?
The text was updated successfully, but these errors were encountered: