aapinen Posted February 23, 2006 Share Posted February 23, 2006 Should I have a email-server or something to get emails going from the osCommorce? I mean if I write a message from eg. "Contact Us" it doesnt come to my e-mail which I configured from the admin-tools. Link to comment Share on other sites More sharing options...
aapinen Posted February 23, 2006 Author Share Posted February 23, 2006 I have win XP and tried sendmail and smtp. Link to comment Share on other sites More sharing options...
♥Vger Posted February 24, 2006 Share Posted February 24, 2006 Did the web server you installed come with a mail server as well? If you installed the XAMPP Apache web sever package then it comes with Mercury Mail, but it doesn't start automatically - you have to start it yourself. If you don't have a mail server for your web server then try Post Cast. Vger Link to comment Share on other sites More sharing options...
aapinen Posted February 24, 2006 Author Share Posted February 24, 2006 I have Apache2Triad and I suppose I have Xmail -server running, becouse it is on the Task Manager. But I haven't touched or configured xmail anyway. So do I have to have a mail-server? How can I test it works? Should I change something from the php.ini file (for eg. localhost > my ISP:s smpt -server address). When I send mail from osCommerce everything seems to be ok, but the mail isnt reaching its destination. Could it be that my ISP is blocking outgoing data or ports? Can I test it somehow to send mail direct to my mail-server (xmail)? Link to comment Share on other sites More sharing options...
aapinen Posted February 24, 2006 Author Share Posted February 24, 2006 http://www.oscommerce.com/community/contributions,1595 Tried to do this email_test.php. nothing happened. >_< What can it be. Link to comment Share on other sites More sharing options...
Guest Posted February 24, 2006 Share Posted February 24, 2006 http://www.oscommerce.com/community/contributions,1595 Tried to do this email_test.php. nothing happened. >_< What can it be. Did you check your aministration settings should look like this Wolfgang Link to comment Share on other sites More sharing options...
aapinen Posted February 24, 2006 Author Share Posted February 24, 2006 Yes I checked. I also investigated phpxmail (mailserver which come in the apache2triad) and notice that all in smtp log are red. So i think its not about osCommerce? And I run this script in the htdocs root and nothing happened. <?php // maitest.php mail('[email protected]','testmailsubject','testmail content','From:[email protected]'); ?> Should I put my ISP:n smtp servers address somewhere or configure my own xmail? Link to comment Share on other sites More sharing options...
aapinen Posted February 24, 2006 Author Share Posted February 24, 2006 I'd really need some support, please. Could someone test this script and say does it work. If it works I guess its about my mail-server. http://www.oscommerce.com/community/contri...arch,email_test Link to comment Share on other sites More sharing options...
aapinen Posted February 24, 2006 Author Share Posted February 24, 2006 Ok, now I can get mail to admin.localhost. Found this tool how to handle all apachetrian servers and logs. Just found a way how to read that mail :) But how can I send mail to outside.... Link to comment Share on other sites More sharing options...
♥Vger Posted February 24, 2006 Share Posted February 24, 2006 Why would you want to get mail to outside, for a local (offline) testing installation? You should receive both the customer and admin e-mails at the local e-mail address configured in your osCommerce admin panel. This will prove to you that the system is working. Vger Link to comment Share on other sites More sharing options...
aapinen Posted February 25, 2006 Author Share Posted February 25, 2006 I cant send and test email from catalog/admim becouse if I put as address xxxx@localhost osCommerce says its not a valid mail address (becouse there isnt? .com,net, fi etc). From contact_us.php the mail goes to the admin@localhost as it should. :) But for some reason when customer is making an order and has paid, admin@localhost won't get any mail, and I think osCommerce should send the order with mail at that point? (In theory, what should I make so I could send email from admin@localhost to eg. [email protected]? Should I contact somehow my mailserver to my ISP:n smtp-server?) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.