Once a day at 0902 (and, whenever there's exception) my inos sends an email via my smtp2go account where the receiver is my gmail account and the sender is set to aname@orange.fr. Problem - oftentimes the email arrives (as shown by gmail) with an inacceptable delay. Up to few hours. Attached screenshot showes that the mail has been sent at 0902 precisely an received ~4 hours later. Can someone suggest how
to improve things? I'm ready to have a paid subscription for a service if necessary. Thank in advance.
Guy
This is not likely to be an Arduino issue as such, but your e-mail may be falling foul of anti-spam filtering policy. Some servers delay mail deliberately if it looks "suspicious" to discourage spam activity. You should probably look at whitelisting the e-mail address on your gmail and smtp2go account account and perhaps change the sender name to something imaginative than the rather generic 'aname'.
@UKHeliBob: its logically so. the time field in the mail text is appended (here by robi 4) when the mail is sent. If sending fails, retry conter increments and the time will be set anew in the text for next try.
@BitSeeker: i think the problem is typical of an arduino or more generally of a 'thing' for which one need to 'invent' a sender address.
how to whitelist? How to convince the 'network' that its a honest mail? I admit that i am ignorent of email mechanics snd thats why i am here asking for help
It looks like you are using the service smtp2go to send an email to your gmail.com account. However, you appear to have "spoofed" an "orange.fr" sender address. Gmail will know from the DNS records that that mail did not come directly from an orange.fr server and may apply some anti spam policy. Also, smtp2go will not want their servers to get on a spam black list and may throttle outgoing mail especially to domains like Gmail.com.
Does smtp2go give any recommendations for a sender address, say yourname@smtp2go.com ?
Yes, it is not an Arduino problem, however it raises issues which could be relevant to Arduino/IOT users, that is finding/using a reliable and cheap email gateway service.
@6v6gt thank you for trying to come up with solutions instead or rejecting as irrelevant. Yes. Smtp2go did come with suggestions i did not understand so i though someone here already resolved the issue and could guide me. If this thread concludes with the/a right procedure for email sending it'd be beneficial for many ino users. Thanks again