Havouza Posted Sunday at 10:34 AM Posted Sunday at 10:34 AM I need to set a from address for the phpmailer to be able to send email to a gmail address. How can that be done
Yabber Posted Monday at 06:28 AM Posted Monday at 06:28 AM The best thing is not to use gmail at all, because google is a criminal corporation that sells access to gmail to various criminal companies. And if you absolutely want the whole world to read your mail, then:
Havouza Posted Monday at 07:30 AM Author Posted Monday at 07:30 AM I agree fully, thats why I run our own fully secured mail servers as a business for small users. But this is for a customers webshop and he only use gmail so I have no choice. Then your statement about what google do you have not one proof for but its enough that google use the content of my emails for marketing.
Havouza Posted yesterday at 06:43 AM Author Posted yesterday at 06:43 AM It seems to be a miss understanding. The shop use its own mail to send out customer mails. But no mails is accepted by gmail and I can ofc not tell the cusomers that, well if you have gmail you will not get any mails from us
the.rampage.rado Posted yesterday at 08:43 AM Posted yesterday at 08:43 AM 1 hour ago, Havouza said: It seems to be a miss understanding. The shop use its own mail to send out customer mails. But no mails is accepted by gmail and I can ofc not tell the cusomers that, well if you have gmail you will not get any mails from us Go to Preferences -> Store contacts and enter your outgoing email there.
Havouza Posted 23 hours ago Author Posted 23 hours ago 47 minutes ago, the.rampage.rado said: Go to Preferences -> Store contacts and enter your outgoing email there. What I understand the store email is only the mail which show up as sender in the mail. That is already correct. But gmail does not accept that. Someone said I need a fixed From in the phpmailer but if I set that the mails are not sent. All other sent mails goes out flawless and when I test the mail settings I get 10/10 score for security etc.
the.rampage.rado Posted 22 hours ago Posted 22 hours ago You can play with the additional settings in PHPmailer but for me the default ones work as expected. I had similar issues (emails were rejected) because the from email (the one from Store contacts) was different from the user email I was sending from for one shop few years back. Since I synced those - no issues. Could your host IP be blocked by google for previous spam issues (previous user)? Could you check its reputation?
Yabber Posted 21 hours ago Posted 21 hours ago I thought that a gmail account is used to send mail in the store and that's why you wanted to change the “from” field in phpMailer. A common cause of non-delivery of email is the misconfiguration of the DNS zone of the domain from which we send emails. Missing records: dkim, spf, dmarc. Check your domain to see if it is configured correctly: https://mxtoolbox.com/domain/ You can also check if, due to spam, the domain has been added to some RBL lists: https://www.anti-abuse.org/multi-rbl-check/
Havouza Posted 20 hours ago Author Posted 20 hours ago No the mail is sent via the email server installed on the same server. But gmail block all mails sent to customers/ suppliers that use a gmail address
Yabber Posted 2 hours ago Posted 2 hours ago 17 hours ago, Havouza said: But gmail block all mails sent to customers/ suppliers that use a gmail address I did a test on a client account with a gmail address and all the store's emails are delivered correctly. Also, the reason for non-delivery of mail is definitely a misconfiguration of the mail server on the hosting.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now