Im using OC 1.5.4.1 and having problem with emails not being sent when SMTP setting is used.
The SMTP transactional service Im using is Amazon's SES.
In the OC System Setting for Mail, I have the following field values:
Mail Protocol: SMTP
SMTP Host: email-smtp.us-east-1.amazonaws.com
SMTP Username: 50MECHARACT3R53
SMTP Password: aIMDHGFFJhsgdghysdfj!fgdg
SMTP Port: 587 (tried 25 and 467 as well)
SMTP Timeout: 5
Error Log shows:
PHP Warning: fsockopen(): unable to connect to email-smtp.us-east-1.amazonaws.com:587 (Connection refused) in /server/user/public_html/mydomain.com/system/library/phpmailer/class.smtp.php on line 135
How to fix this?
The SMTP transactional service Im using is Amazon's SES.
In the OC System Setting for Mail, I have the following field values:
Mail Protocol: SMTP
SMTP Host: email-smtp.us-east-1.amazonaws.com
SMTP Username: 50MECHARACT3R53
SMTP Password: aIMDHGFFJhsgdghysdfj!fgdg
SMTP Port: 587 (tried 25 and 467 as well)
SMTP Timeout: 5
Error Log shows:
PHP Warning: fsockopen(): unable to connect to email-smtp.us-east-1.amazonaws.com:587 (Connection refused) in /server/user/public_html/mydomain.com/system/library/phpmailer/class.smtp.php on line 135
How to fix this?
~al3xandr1a
Newbie / Student
try
ssl://email-smtp.us-east-1.amazonaws.com:465
or perhaps without the port :465
edit your post and replace your credentials by fake ones if those are real!
ssl://email-smtp.us-east-1.amazonaws.com:465
or perhaps without the port :465
edit your post and replace your credentials by fake ones if those are real!
Attn: I no longer provide OpenCart extensions, nor future support - this includes forum posts.
Reason: OpenCart version 3+
Thanks!
Hi artcore,
Did you mean adding the ssl:// like this...?
SMTP Host: ssl://email-smtp.us-east-1.amazonaws.com
(The credentials used above are fakes...thank you)
Did you mean adding the ssl:// like this...?
SMTP Host: ssl://email-smtp.us-east-1.amazonaws.com
(The credentials used above are fakes...thank you)
~al3xandr1a
Newbie / Student
http://docs.aws.amazon.com/ses/latest/D ... ckage.html
It seems they use tls:// on port 465
Is your server IP blacklisted?
Do they offer support?
Otherwise did you try the regular MAIL function?
It seems they use tls:// on port 465
Is your server IP blacklisted?
Do they offer support?
Otherwise did you try the regular MAIL function?
Attn: I no longer provide OpenCart extensions, nor future support - this includes forum posts.
Reason: OpenCart version 3+
Thanks!
I tested on Ubuntu 16.04 with Opencart 1.5.6.1, Amazon SES.
Get files on: http://www.mediafire.com/?h9oo072xbksx0 and save in folder /system/library/
Remember just of change the e-mail in line 120 and 122 in file mail.php
Get files on: http://www.mediafire.com/?h9oo072xbksx0 and save in folder /system/library/
Remember just of change the e-mail in line 120 and 122 in file mail.php
Who is online
Users browsing this forum: No registered users and 42 guests