I have a gsuite account for business domainname-X with 2 users. Me and my wife have a main google gsuite account emailaddress that ends on this domainname-X. I also added a alias as a "send as" in the gmail settings for my wife as domainname-Y.
Inside the site of domainname-Y I try to let rsformspro send mails via smtp.gmail.com. The from and reply to email address contains an domainname-Y emailaddress while the authentication uses my wifes gsuite username of domainname-X. In addition I use 2 step auth in gsuite so I had to enable less secure apps as well as creating a special app password that I copied without the spaces. For many people this works. I enabled OpenSSL extension since I run letsencrypt on linux/ direct admin on Php 7.2.19 for this user.
spf record is correct.
So I sent a test mail in the Joomla mail settings.
port 587 starttls
password: google app password
I set up the debugger to include almost everything inside the everything.php log file.
This trows the following error:
Code: Select all
2019-07-23T13:07:37+00:00 ERROR xx.xxx.xx.xxx mail Error in Mail API: SMTP -> get_lines(): $data is "