Post by liprotech.in » Wed Apr 05, 2023 2:17 pm

I have tried the following settings:
Mail Engine: SMTP
Mail Parameters: sales@domain.in
SMTP Hostname:
email-smtp.ap-south-1.amazonaws.com
or
tls://email-smtp.ap-south-1.amazonaws.com
or
ssl://email-smtp.ap-south-1.amazonaws.com

SMTP Username: XXXXXXXXXXX
SMTP Password: XXXXXXXXX
SMTP Port: 25 / 587
SMTP Timeout: 10

when using ssl://email-smtp.ap-south-1.amazonaws.com and 587
Internal Server Error
Internal Server Error
<b>Warning</b>: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages:
error:1408F10B:SSL routines:ssl3_get_record:wrong version number in <b>/var/www/vhosts/domain.in/httpdocs/system/library/mail/smtp.php</b> on line <b>88</b><b>Warning</b>: fsockopen(): Failed to enable crypto in <b>/var/www/vhosts/nationalpc.in/httpdocs/system/library/mail/smtp.php</b> on line <b>88</b><b>Warning</b>: fsockopen(): Unable to connect to ssl://email-smtp.ap-south-1.amazonaws.com:587 (Unknown error) in <b>/var/www/vhosts/nationalpc.in/httpdocs/system/library/mail/smtp.php</b> on line <b>88</b>

when using ssl://email-smtp.ap-south-1.amazonaws.com and 25
Internal Server Error
Internal Server Error
<b>Warning</b>: fsockopen(): Unable to connect to ssl://email-smtp.ap-south-1.amazonaws.com:25 (Connection timed out) in <b>/var/www/vhosts/domain.in/httpdocs/system/library/mail/smtp.php</b> on line <b>88</b>

when using tls://email-smtp.ap-south-1.amazonaws.com and 587
Internal Server Error
Internal Server Error

when using tls://email-smtp.ap-south-1.amazonaws.com and 25
Internal Server Error
Internal Server Error
<b>Warning</b>: fsockopen(): Unable to connect to email-smtp.ap-south-1.amazonaws.com:25 (Connection timed out) in <b>/var/www/vhosts/domain.in/httpdocs/system/library/mail/smtp.php</b> on line <b>88</b>

when using email-smtp.ap-south-1.amazonaws.com and 587
Internal Server Error
Internal Server Error

when using email-smtp.ap-south-1.amazonaws.com and 25
Internal Server Error
Internal Server Error
<b>Warning</b>: fsockopen(): Unable to connect to email-smtp.ap-south-1.amazonaws.com:25 (Connection timed out) in <b>/var/www/vhosts/domain.in/httpdocs/system/library/mail/smtp.php</b> on line <b>88</b>

PROSENJIT DAS
nationalpc.in
Lowest Price at your doorstep


User avatar
New member

Posts

Joined
Tue Oct 16, 2018 11:13 pm

Post by ADD Creative » Wed Apr 05, 2023 4:52 pm

Try ssl://email-smtp.ap-south-1.amazonaws.com and port 465.

Also look in your server or PHP error logs, not the OpenCart one.

www.add-creative.co.uk


Expert Member

Posts

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

Post by liprotech.in » Wed Apr 05, 2023 7:05 pm

ADD Creative wrote:
Wed Apr 05, 2023 4:52 pm
Try ssl://email-smtp.ap-south-1.amazonaws.com and port 465.

Also look in your server or PHP error logs, not the OpenCart one.
No working. Same error.
We are using the following things:
Version Plesk Obsidian v18.0.51_build1800230310.09 os_Ubuntu 20.04
OS Ubuntu 20.04.6 LTS
PHP 8.0.28
OpenCart 3.0.3.8
No theme installed.

PROSENJIT DAS
nationalpc.in
Lowest Price at your doorstep


User avatar
New member

Posts

Joined
Tue Oct 16, 2018 11:13 pm

Post by IP_CAM » Wed Apr 05, 2023 8:59 pm

Just in case, only this latest v.3.x Version will handle PHP v.8.x:
https://github.com/opencart/opencart/tr ... nce/upload

My Github OC Site: https://github.com/IP-CAM
5'200 + 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 liprotech.in » Wed Apr 05, 2023 10:17 pm

Plesk server log:
CODE: 500
POST /admin/index.php?route=marketing/contact/send&user_token=iWXF5KzV9gHFOH0JJu4i09xYI8hWpLIC HTTP/1.0


AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Exception: Error: DATA not accepted from server! in /var/www/vhosts/nationalpc.in/httpdocs/system/library/mail/smtp.php:241\nStack trace:\n#0 /var/www/vhosts/nationalpc.in/httpdocs/system/library/mail/smtp.php(209): Mail\\Smtp->handleReply()\n#1 /var/www/vhosts/nationalpc.in/httpdocs/system/library/mail.php(142): Mail\\Smtp->send()\n#2 /var/www/vhosts/nationalpc.in/httpdocs/admin/controller/marketing/contact.php(235): Mail->send()\n#3 /var/www/vhosts/nationalpc.in/storage/modification/system/engine/action.php(79): ControllerMarketingContact->send()\n#4 /var/www/vhosts/nationalpc.in/httpdocs/admin/controller/startup/router.php(26): Action->execute()\n#5 /var/www/vhosts/nationalpc.in/storage/modification/system/engine/action.php(79): ControllerStartupRouter->index()\n#6 /var/www/vhosts/nationalpc.in/httpdocs/system/engine/router.php(67): Action->execute()\n#7 /var/www/vhosts/nationalpc.in/httpdocs/system/engine/router.php(56): Router->execute()\n#8 /var/www/vhosts/nationalpc.in/h...', referer: https://nationalpc.in/admin/index.php?r ... xYI8hWpLIC

PROSENJIT DAS
nationalpc.in
Lowest Price at your doorstep


User avatar
New member

Posts

Joined
Tue Oct 16, 2018 11:13 pm

Post by JNeuhoff » Wed Apr 05, 2023 10:58 pm

@liprotech.in: Is there a reason why you won't read the forum posts here? OpenCart 3.0.3.8 doesn't support PHP 8.x releases. For the latter, you need to run the 3.0.x.x_Maintenance version of OpenCart.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by liprotech.in » Wed Apr 05, 2023 11:29 pm

JNeuhoff wrote:
Wed Apr 05, 2023 10:58 pm
@liprotech.in: Is there a reason why you won't read the forum posts here? OpenCart 3.0.3.8 doesn't support PHP 8.x releases. For the latter, you need to run the 3.0.x.x_Maintenance version of OpenCart.
We have changed the PHP version to 7.4.33. the problem is still there.
host:
ssl://email-smtp.ap-south-1.amazonaws.com
Port: 465
Error:
CODE: 500
POST /admin/index.php?route=marketing/contact/send&user_token=vbV84uCtqj1whAkCE5XmSmIQu7IGq4HG HTTP/1.0

AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Exception: Error: DATA not accepted from server! in /var/www/vhosts/nationalpc.in/httpdocs/system/library/mail/smtp.php:241\nStack trace:\n#0 /var/www/vhosts/nationalpc.in/httpdocs/system/library/mail/smtp.php(209): Mail\\Smtp->handleReply()\n#1 /var/www/vhosts/nationalpc.in/httpdocs/system/library/mail.php(142): Mail\\Smtp->send()\n#2 /var/www/vhosts/nationalpc.in/httpdocs/admin/controller/marketing/contact.php(235): Mail->send()\n#3 /var/www/vhosts/nationalpc.in/storage/modification/system/engine/action.php(79): ControllerMarketingContact->send()\n#4 /var/www/vhosts/nationalpc.in/httpdocs/admin/controller/startup/router.php(26): Action->execute()\n#5 /var/www/vhosts/nationalpc.in/storage/modification/system/engine/action.php(79): ControllerStartupRouter->index()\n#6 /var/www/vhosts/nationalpc.in/httpdocs/system/engine/router.php(67): Action->execute()\n#7 /var/www/vhosts/nationalpc.in/httpdocs/system/engine/router.php(56): Router->execute()\n#8 /var/www/vhosts/nationalpc.in/h...', referer: https://nationalpc.in/admin/index.php?r ... IQu7IGq4HG

PROSENJIT DAS
nationalpc.in
Lowest Price at your doorstep


User avatar
New member

Posts

Joined
Tue Oct 16, 2018 11:13 pm

Post by liprotech.in » Thu Apr 06, 2023 12:29 am

We have tried with two different servers.
AWS LIGHTSAIL
nationalpc.in
PHP 7.4.33
OpenCart 3.0.3.8
No Theme

Hostgator Linux VPS
liprotech.in
PHP 7.4.33
OpenCart 3.0.3.8
No Theme

Same kind of error
CODE: 500
POST /admin/index.php?route=marketing/contact/send&user_token=vyABbwVIqKRcHOJBHCeOo8SWJnRxg6hN HTTP/1.0 (Source Apache SSL/TLS access)

AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Exception: Error: DATA not accepted from server! in /var/www/vhosts/liprotech.in/httpdocs/system/library/mail/smtp.php:241\nStack trace:\n#0 /var/www/vhosts/liprotech.in/httpdocs/system/library/mail/smtp.php(209): Mail\\Smtp->handleReply()\n#1 /var/www/vhosts/liprotech.in/httpdocs/system/library/mail.php(142): Mail\\Smtp->send()\n#2 /var/www/vhosts/liprotech.in/httpdocs/admin/controller/marketing/contact.php(235): Mail->send()\n#3 /var/www/vhosts/liprotech.in/httpdocs/system/engine/action.php(79): ControllerMarketingContact->send()\n#4 /var/www/vhosts/liprotech.in/httpdocs/admin/controller/startup/router.php(26): Action->execute()\n#5 /var/www/vhosts/liprotech.in/httpdocs/system/engine/action.php(79): ControllerStartupRouter->index()\n#6 /var/www/vhosts/liprotech.in/httpdocs/system/engine/router.php(67): Action->execute()\n#7 /var/www/vhosts/liprotech.in/httpdocs/system/engine/router.php(56): Router->execute()\n#8 /var/www/vhosts/liprotech.in/httpdocs/system/framework.php(169):...', referer: https://liprotech.in/admin/index.php?ro ... SWJnRxg6hN
(Source Apache error)

PROSENJIT DAS
nationalpc.in
Lowest Price at your doorstep


User avatar
New member

Posts

Joined
Tue Oct 16, 2018 11:13 pm

Post by liprotech.in » Thu Apr 06, 2023 1:15 am

Problem resolved.

PROSENJIT DAS
nationalpc.in
Lowest Price at your doorstep


User avatar
New member

Posts

Joined
Tue Oct 16, 2018 11:13 pm

Post by paulfeakins » Thu Apr 06, 2023 5:20 pm

liprotech.in wrote:
Thu Apr 06, 2023 1:15 am
Problem resolved.
Great so please add [SOLVED] to the start of the post title.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by campim » Thu Jun 08, 2023 6:28 am

Dear liprotech.in:

I do have similar problems, do you mind posting how did you solve your issue? thanks in advance,

Daniel

User avatar
Newbie

Posts

Joined
Thu Oct 23, 2014 2:12 am

Who is online

Users browsing this forum: David081988wise, Semrush [Bot] and 107 guests