Post by msdiallo » Thu Aug 24, 2023 9:14 pm

Hello community,

I receive an error message after registering a seller. And the error comes from the failure to send notification email to the administrator.

See attached screenshots

Here is the information of my opencart installation:
1.OpenCart Version: 4.0.1.1
2. Used Template/Theme: eMarket
3. (Additional) Installed Extension(s): purpletree multivendor module

Thank you in advance for your various answers.

Attachments

mail_config.jpg

mail_config.jpg (85.55 KiB) Viewed 2193 times

error_line.jpg

error_line.jpg (115.81 KiB) Viewed 2193 times

Last edited by msdiallo on Sun Aug 27, 2023 6:55 pm, edited 2 times in total.

Newbie

Posts

Joined
Tue Jan 03, 2023 8:16 pm

Post by IP_CAM » Thu Aug 24, 2023 10:48 pm


My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by ADD Creative » Fri Aug 25, 2023 3:54 am

You need to use ssl:// in place of tls:// for port 465.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by msdiallo » Sat Aug 26, 2023 1:50 am

You need to use ssl:// in place of tls:// for port 465.
I used ssl for port 465 and it generated another error message: Exception: Error: DATA not accepted from server! in /home/hmeinc5/public_html/system/library/mail/smtp.php on line 253

Newbie

Posts

Joined
Tue Jan 03, 2023 8:16 pm

Post by IP_CAM » Sat Aug 26, 2023 2:30 am

Opencart Version: 4.0.1.1
it is highly recommended to use the latest OC v.4.0.2.2 Release, to avoid problems. The (Prototype) Version you use is still full of faults:
https://github.com/opencart/opencart/re ... ag/4.0.2.2

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by ADD Creative » Sat Aug 26, 2023 3:06 am

Error: DATA not accepted from server! is usually a timeout issue or your host rejecting the email thinking it spam. What is the timeout set to?

Changing system/library/mail/smtp.php line 253 to the following may help to see the error.

Code: Select all

throw new \Exception($error_text . ' reply:' . $reply);

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by msdiallo » Sat Aug 26, 2023 8:31 pm

ADD Creative wrote:
Sat Aug 26, 2023 3:06 am
Error: DATA not accepted from server! is usually a timeout issue or your host rejecting the email thinking it spam. What is the timeout set to?

Changing system/library/mail/smtp.php line 253 to the following may help to see the error.

Code: Select all

throw new \Exception($error_text . ' reply:' . $reply);
Hello everyone,
Here is what I get as an error message by replacing line 253.
Exception: Error: DATA not accepted from server! reply:550-Sorry! This server is unable to send email from this domain: 550 gmail.com. Please try sending from a domain on this server. in /home/hmeinc5/public_html/system/library/mail/smtp.php on line 253

with this setting:
Mail Engine : SMTP
Hostname : ssl://mail.mydomain.com
Port : 465
Timeout : 30

Newbie

Posts

Joined
Tue Jan 03, 2023 8:16 pm

Post by EvolveWebHosting » Sat Aug 26, 2023 9:46 pm

Check with your hosting provider or compare the settings to what you use in an email client. Is this Gmail or an email account included with your hosting package?
If you're using cPanel, you can also go to the Email Section and click 'Email Accounts' and then click the 'Manage Button'. On the next screen, you'll see in the right column 'Connect Devices' and cPanel should provide you with the correct settings.

Opencart Hosting Plans, Domain Registration, Microsoft and Google Email and More
Visit our website for great deals and most importantly, fast and friendly support - www.evolvewebhosting.com


User avatar
Active Member

Posts

Joined
Fri Mar 27, 2015 11:13 pm
Location - Denver, Colorado, USA

Post by msdiallo » Sat Aug 26, 2023 10:10 pm

EvolveWebHosting wrote:
Sat Aug 26, 2023 9:46 pm
Check with your hosting provider or compare the settings to what you use in an email client. Is this Gmail or an email account included with your hosting package?
If you're using cPanel, you can also go to the Email Section and click 'Email Accounts' and then click the 'Manage Button'. On the next screen, you'll see in the right column 'Connect Devices' and cPanel should provide you with the correct settings.
You will find in the attached screenshot, my Mail Client Manual Settings

Attachments

mail_client_manual_settings.jpg

mail_client_manual_settings.jpg (91.92 KiB) Viewed 1984 times


Newbie

Posts

Joined
Tue Jan 03, 2023 8:16 pm

Post by EvolveWebHosting » Mon Aug 28, 2023 10:46 am

I'm not sure why you're adding ssl:// or tls:// at all. Try removing that and just use mail.yourdomain.com as the hostname and the appropriate port # in the port field.

Opencart Hosting Plans, Domain Registration, Microsoft and Google Email and More
Visit our website for great deals and most importantly, fast and friendly support - www.evolvewebhosting.com


User avatar
Active Member

Posts

Joined
Fri Mar 27, 2015 11:13 pm
Location - Denver, Colorado, USA

Post by ADD Creative » Tue Aug 29, 2023 2:22 am

msdiallo wrote:
Sat Aug 26, 2023 8:31 pm
Exception: Error: DATA not accepted from server! reply:550-Sorry! This server is unable to send email from this domain: 550 gmail.com. Please try sending from a domain on this server. in /home/hmeinc5/public_html/system/library/mail/smtp.php on line 253
That suggests the domain set as your hostname doesn't match the domain for your store's email address.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by msdiallo » Wed Aug 30, 2023 9:04 pm

ADD Creative wrote:
Tue Aug 29, 2023 2:22 am
msdiallo wrote:
Sat Aug 26, 2023 8:31 pm
Exception: Error: DATA not accepted from server! reply:550-Sorry! This server is unable to send email from this domain: 550 gmail.com. Please try sending from a domain on this server. in /home/hmeinc5/public_html/system/library/mail/smtp.php on line 253
That suggests the domain set as your hostname doesn't match the domain for your store's email address.
Thanks you very much ! It's working fine now!
Thank you all!

Newbie

Posts

Joined
Tue Jan 03, 2023 8:16 pm
Who is online

Users browsing this forum: No registered users and 1 guest