Jump to content
thirty bees forum

How set from address in the Phpmailer module


Recommended Posts

Posted

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:

Screenshot_20250714_080307.png

Posted

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.

Posted

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

Posted
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.
image.png.c6e400629e12a9e267566650142d0d04.png

Posted
47 minutes ago, the.rampage.rado said:

Go to Preferences -> Store contacts and enter your outgoing email there.
image.png.c6e400629e12a9e267566650142d0d04.png

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.

Posted

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?

Posted

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/

 

Posted

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

Posted
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.

Screenshot_20250716_080122.png

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...