Page 1 of 1
OC 1.5.1.3 Mail/SMTP Config - Mail not Sending[SOLVED]
Posted: Sat Mar 03, 2012 11:56 pm
by aidymitch
Hi Everyone,
Looking for a solution to this problem I have with setting up the email configuration. I'm using One.Com for my email and to host my website, I have also contacted them several times to find out why I am not receiving emails from my Contact Us page and to see if they can tell me the correct mail/smtp configuration. They have tried various configurations (as I have) to get it working, but no success.
When I send an email from the Contact Us page, I get the 'mail sent' message as though it has been sent, but no email arrives in my email inbox. I have checked that my email account receives incoming mail and that I can also send emails from the email account, so it seems that the email account itself is ok.
I have tried various combinations of settings on the mail configuration page in OC, using Mail, SMTP, various ports (25, 2525), different SMTP hosts and with/without passwords and mail parameters.
I'm currently using the following configuration:
Mail Protocol: SMTP
Mail Parameters: <blank>
SMTP Host: mailout.one.com
SMTP Username:
info@mydomainname.co.uk
SMTP Password: <blank>
SMTP Port: 25
SMTP Timeout: 5
New Order Alert Mail: No
New Account Alert Mail: No
Any ideas?
Cheers
Adrian
Re: OC 1.5.1.3 Mail/SMTP Config - Mail not Sending
Posted: Thu Mar 08, 2012 3:02 am
by tim_s
First things first, you need to ask your hosting provider if they allow the use of the php Mail function. If so, then you should use the "mail" setting in the configuration. If they don't allow it, then you'd need to use the SMTP settings. You'll need to fill out all the fields, including the password. I'd also try changing the setting for the port to 587.
Here's a tutorial I wrote in configuring the mail settings in OpenCart. We allow the use of the php Mail setting so it was really simple.
http://www.inmotionhosting.com/support/ ... n-opencart
If you're using SMTP settings you'll need to configure it correctly:
SMTP host: anything that points to your mail server like mail.yourdomain.com
SMTP username: the full email address you're using
SMTP password: the email address aboves password
SMTP Port: 587
Let me know if this works out for you!
Re: OC 1.5.1.3 Mail/SMTP Config - Mail not Sending
Posted: Wed Mar 14, 2012 12:07 am
by aidymitch
Hi Tim, thanks for taking the time to reply.
I've tried your suggestions, and unfortunately I still am not receiving emails in my inbox from the contact us page.
I've spoken to One.com and they have said that the mail.php function is enabled and port 25 is open, I tried port 587 as you suggested but unfortunately, it made no difference to issue.
I tried the 'mail' function and added the
info@mydomain.co.uk into the parameter, I get this error message-
Notice: mail(): Policy restriction in effect. The fifth parameter is disabled on this system in /customers/4/a/9/mydomain.co.uk/httpd.www/system/library/mail.php on line 155Warning: Cannot modify header information - headers already sent by (output started at /customers/4/a/9/mydomain.co.uk/httpd.www/index.php:104) in /customers/4/a/9/mydomain.co.uk/httpd.www/vqmod/vqcache/vq2-system_engine_controller.php on line 28Warning: Cannot modify header information - headers already sent by (output started at /customers/4/a/9/mydomain.co.uk/httpd.www/index.php:104) in /customers/4/a/9/mydomain.co.uk/httpd.www/vqmod/vqcache/vq2-system_engine_controller.php on line 29
Without the mail parameter, I receive no error, and no email...
When I try using SMTP filling in all the fields as you suggest, I get the following error message:-
Notice: Error: AUTH LOGIN not accepted from server! in /customers/4/a/9/mydomain.co.uk/httpd.www/system/library/mail.php on line 225
Any clues from these error messages? (In both messages i've changed my real 'domain name' to 'mydomain'.)
Thanks
Adrian
Re: OC 1.5.1.3 Mail/SMTP Config - Mail not Sending
Posted: Fri Mar 30, 2012 5:52 am
by timparnell
Hi
I'm no expert and I only found this thread searching how to set up mail on opencart myself.
I just watched an excellent tutorial on setting up mercury on xampp
http://www.youtube.com/watch?v=zO2p3uX9poY
It may help you (I know this is localhost not live) but it covers the "policy restriction" you mention when he talks about sending mail from his localhost to gmail.... You can't send it direct due to this "polcy restriction". You have to forward the mail to gmail smtp server for them to send....
Take a look at the tutorial hopefully it should help.
If you're still stuck feel free to PM me...
Tim
Re: OC 1.5.1.3 Mail/SMTP Config - Mail not Sending
Posted: Wed Apr 11, 2012 5:00 pm
by danhuxted
Hi Adrian,
I came across this post regarding SMTP setup with a one.com account. I am now experiencing the exact same issue and getting really frustrated with one.com as the settings they've provided aren't working.
Can you advise me how you got around this and what steps you took?
Cheers,
Dan
Re: OC 1.5.1.3 Mail/SMTP Config - Mail not Sending[SOLVED]
Posted: Wed Apr 11, 2012 7:21 pm
by aidymitch
Hi,
thanks everyone for your answers and suggestions. This is now solved...
not 100% sure what the exact issue was, but I followed everyones advice and checked all my settings including the email address in the 'Settings' and 'General' tab. Looks like i had made a typo there and this could have been the error all along :-/
I used the 'mail' protocol setting on the 'Mail' tab, with the Port set to 25 and Timeout at 5. All other settings were left blank, and this now works perfectly on One.Com.
Regards
Adrian
Re: OC 1.5.1.3 Mail/SMTP Config - Mail not Sending[SOLVED]
Posted: Thu May 17, 2012 5:07 pm
by rajithg
just a suggestion... if this cannot be solved.. u do like this..
Create a hotmail account and give it as the email receiver.. in FW options in hotmail, add your main email account...
When I was working with joomla using smart former.. i had a similar issue.. so i did above to get it solved... hope it will work for you too...

Re: OC 1.5.1.3 Mail/SMTP Config - Mail not Sending[SOLVED]
Posted: Tue Oct 15, 2013 9:36 pm
by Maeploy
My settings.
General Tab:
Email -
sales@mywebsite.com
Mail Tab:
Mail Protocol - SMPT
Mail Parameters - Left Blank
SMPT HOST - Found in "Cpanel - Mail - Email Accounts - More - Configure Email Client"
SMPT Username -
sales@mywebsite.com (must be the same as in gerneral tab. I recieved no emails
while they where different. This is also found in
"Cpanel - Mail - Email Accounts - More - Configure Email Client")
SMPT Password - Whatever it is. Can be changed at "Cpanel - Mail - Email Accounts - Change Password"
SMPT Port - 587 (25 works also, but 465 does NOT work and causes the error
"Notice: Error: EHLO not accepted from server! in
/home/cpanelusername/public_html/mywebsite.com/system/library/mail.php on line 200" )
SMPT Timeout - 5
This is really just a restating of other people stuff but it is working for me. Hope it helps