With the Mailer component I created a form that allows sending emails from a web page
The user only has to insert in a form the sender mail, recipient mail, subject and text of the message.
The message is sent to the recipient
Everything works fine, but not when the recipient is a *@gmail.com
In that case I came back with an error:
“host gmail-smtp-in.l.google.com[173.194.69.26] said: 550-5.7.1 [5.134.127.138] Messages missing a valid Message-ID header are not 550-5.7.1 accepted. Please visit 550-5.7.1 https://support.google.com/mail/?p=RfcMessageNonCompliant and review 550 5.7.1 RFC 5322 specifications for more information. cf8-20020a170906b2c800b00a18a4f5f158si2550681ejb.270 - gsmtp (in reply to end of DATA command)”
Note that my SMTP server is an external server - is a paid server - (smtp.240.ext.armada.it). I use it in Plesk, to send email and it works normally with @gmail.com addresses. therefore the problem must be necessarily faced in the sending method from wappler
How can I change the sending to make it work?
Thanks
I have has issues with Google lately.
Check you have spf and dmarc records on the sender domain’s dns records as if not , Google will reject all mail.
Could possibly bet the cause
Thank you all.
I understand the issue of spf and dmarc on sender domain, I will check.
But why doesn’t it work even if I use a sender @gmail.com and a recipient @gmail.com ?
Gmail doesn’t authorize itself?
For a test with a sender @gmail.com I’ve tried also modify my Mailer ‘posta.json’ with typicals Google parameters: the same parameters that I use in Thunderbird… but doesn’t work