Post by SubCon » Sat Aug 22, 2009 8:42 am

Hi all, I have this error while creating new account and press "continue". Now it seems like smtp config problem on host but the "Contact Us" page sends emails just fine. Also strangely the way the hosts lets me send the mails is by config:

smtp, host, user, but no password. If I do specify the password I have Auth fail :-\ ...

Newbie

Posts

Joined
Thu Aug 13, 2009 6:10 am

Post by readyman » Sat Aug 22, 2009 12:17 pm

What's the error message?

http://www.alreadymade.com
Follow me on twitter.com/alreadymade


User avatar
Global Moderator

Posts

Joined
Wed May 20, 2009 5:16 am
Location - Sydney

Post by SubCon » Sat Aug 22, 2009 6:54 pm

Error: RCPT TO command failed! Thats the message, nothing else loads. The account is created though.

Newbie

Posts

Joined
Thu Aug 13, 2009 6:10 am

Post by Daniel » Sat Aug 22, 2009 7:09 pm

1. why do you not use the built in mail function?
2. How is you mail provider? google, yahoo, hotmail?

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by SubCon » Sat Aug 22, 2009 7:13 pm

I use the hosts smtp option. It does not support mail(). Did not try google or other solutions. I'd prefer to make it work as it is. I have 9 other sites on the same account which send mail no problem with manually written script so..

Newbie

Posts

Joined
Thu Aug 13, 2009 6:10 am

Post by SubCon » Mon Aug 24, 2009 4:18 am

Update: I've integrated PHPMailer instead of an existing mail script. Of course edited the controller files accordingly, And Voila! Everything works great! I used the latest PHPMailer 2.0.4.
Daniel you should check that mail script IMHO.

Newbie

Posts

Joined
Thu Aug 13, 2009 6:10 am

Post by Daniel » Mon Aug 24, 2009 5:16 am

post the work you have done.

i might include it in the next release.

i was thinking of using swiftmailer.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by SubCon » Tue Aug 25, 2009 2:06 am

Ok so here it is:
PHPMailer from http://phpmailer.worxware.com

1.I've put the PHPMailer files into system/library.
2.Edited system/startup.php to load the phpmailer instead of what mail script there was.
3.Then I edited the control and model relevant php scripts coz the phpmailer functions are slightly different.

There are examples of the functions in the readme of phpmailer.

Thats it pretty simple.. BTW PHPMailer lets you set the mail as html mail, so you can send more stylish mails.

I am not familiar with swiftmailer so I guess the choice is yours Daniel.

If anyone needs more info post here or PM me.

Newbie

Posts

Joined
Thu Aug 13, 2009 6:10 am
Who is online

Users browsing this forum: Amazon [Bot], Baidu [Spider] and 23 guests