Bodybuilder Posted July 30, 2003 Posted July 30, 2003 Ok, i installed an other mailserver. but now i have another problem. When i want to confirm an order it says that the user is unknown, that is what my mailserver says to oscomerce. What is the username and password that oscommerce uses to send e-mail?? If i know that i can register that user to my mail server. thnx
Guest Posted July 30, 2003 Posted July 30, 2003 There is a contribution for SMTP with authentication (search terms smtp auth). Otherwise, osCommerce does not send as a user. Good luck, Matt
Bodybuilder Posted July 30, 2003 Author Posted July 30, 2003 Ohh ok thanks!. when i search for smtp auth i get a list of 40 results. which one do i have to download?
Guest Posted July 30, 2003 Posted July 30, 2003 It usually comes up close to the bottom and actually has smtp and authentication in the name. Hth, Matt
Bodybuilder Posted July 30, 2003 Author Posted July 30, 2003 Ok thanks i found it and installed it. It still says user unknown, that's weird. Is it possible to use an other SMTP server, like the SMTP server of hotmail or my internet providers SMTP server? Thnx
Guest Posted July 30, 2003 Posted July 30, 2003 Sure, just change the authentication information in the file appropriately. Good luck, Matt
Bodybuilder Posted July 30, 2003 Author Posted July 30, 2003 Ok i changed it to my ISP's SMTP server. and i removed these lines. return mail($to_addr, $subject, $this->output, 'From: ' . $from . $this->lf . 'To: ' . $to . $this->lf . implode($this->lf, $this->headers) . $this->lf . implode($this->lf, $xtra_headers)); } else { return mail($to, $subject, $this->output, 'From: '.$from.$this->lf.implode($this->lf, $this->headers).$this->lf.implode($this->lf, $xtra_headers)); Or are these lines neccesary? Thnx
Bodybuilder Posted July 30, 2003 Author Posted July 30, 2003 OK it works, i changed some SMTP settings in php.ini to my providers ISP SMTP settings. Only 2 little problems left, if i register a new user he doesnt get an e-mail. and when it places an order it also don't receive an e-mail about the order. Only these 2 little problems left, and i'm finished :)
Guest Posted July 31, 2003 Posted July 31, 2003 Which are you using now? The SMTP w/ authentication? Or the PHP mail? Where is email working? Is it address dependent? With what did you replace the two lines that you removed? From where did you remove them? Are you still using that module? Thanks, Matt
Recommended Posts
Archived
This topic is now archived and is closed to further replies.