sending mails with PB always needs a bit of luck, but actually I could no longer send mails from my mailserver to Gmail, all mails were bounced by Gmail due to a missing "Message-ID", that PB not automatically generates and my mailserver doesn't insert. In RFC this is not totally mandatory, but it looks like Gmail wants it now since this July.
After looking in the headers of other mails, solution for me was:
Code: Select all
SetMailAttribute(#yourmailid, #PB_Mail_Custom, "Message-ID: <"+FormatDate("%yyyy%mm%dd%hh%ii%ss", Date())+"."+RSet(Str(Random(999999,0)), 6, "0")+"@"+yourmailservershostname$+">")