PDA

View Full Version : PhpMailer function from: email



Ed
June 14, 2017, 10:40 AM
The phpMailer from: function is not working, does anyone know what might be happening, can anyone help me? :)

Ed
June 15, 2017, 03:20 AM
The From function of phpMailer is not getting up the main site site email


$this->phpMailer->From = $config['site_main_email']; // is not working

Is someone having the same problem? See the image below to understand:
2434

Viktor
June 15, 2017, 03:27 AM
Hello Ed,

Would you please send Admin Panel access to my PM I will check your email configurations.

Viktor
June 15, 2017, 06:15 AM
Hello Ed,

If you want to send emails through gmail you should configure smtp or set email from your mail server like: somthing@yoursite.com

Ed
June 15, 2017, 06:37 AM
Hi, Viktor!

The SendMail from my Cloud Server is pre-configured with a Gmail account, I recently discovered that Gmail does not allow the "From" sender to be rewritten.

Anyway thanks for your Help and Attention!

Reg.

Ed

Viktor
June 15, 2017, 06:42 AM
As I said in previous post you should configure smtp in Admin Panel >> Basic Settings >> Email

Ed
June 15, 2017, 06:51 AM
All Gmail accounts return with a Header "X-Google-Original-From: Visitor-Name <visitor-email@gmail.com>" It does this automatically, it looks like a Gmail anti-fraud measure.

I did not know that, but everything is working without problems!

Thank you Viktor!

Ed
June 15, 2017, 07:25 AM
In the old days it allowed the manipulation of the sender, but now does not, Gmail says that this serves to leave the accounts protected