lcotta Posted July 8, 2003 Share Posted July 8, 2003 Hi all, and thanks for developing such a great e-com solution. I have configured OSCom for a friend at http://www.artedicarte.it. Everything works fine, except e-mail notifications (i.e. like when an order is placed). My understanding is that the e-mail related stuff (i.e. smtp server etc.) is set in php.ini. However this site is hosted as a VHost by Aruba (http://www.aruba.it). Of course I have no access to the host's php.ini, I only have r/w/x access to the site's directory. I know the site comes with the ability to send email via smtp.artedicarte.it, but I have'nt seen any parameter in admin that I could set to specify the outgoing mail server. Would it be possible to tweak the OSCom code to handle this configuration? Hope this makes sense, TIA to all Luca Link to comment Share on other sites More sharing options...
lcotta Posted July 8, 2003 Author Share Posted July 8, 2003 Follow up on my previous message. I tried a simple php script, see below <?php mail("[email protected]","test","If you get thisnThen it works!","From: info@$SERVER_NAMErn"); ?> I uploaded it and it worked fine. No need to set any parameters. So... am I missing something? :( TIA, Luca Link to comment Share on other sites More sharing options...
Guest Posted July 9, 2003 Share Posted July 9, 2003 Two things. One, do you have SMTP set as your delivery method in admin? Two, are you sending your emails from the same address when using the store? I.e. is the store sending emails from the name to which info@$SERVER_NAME resolves? Many SMTP servers are configured *not* to send emails from outside domains. Hth, Matt Link to comment Share on other sites More sharing options...
lcotta Posted July 9, 2003 Author Share Posted July 9, 2003 Thanks, I got further along the problem :-). Yes, I got the email working with smtp as transport, now I'm messing around with LF-CRLF because I get double messages... oh well :-) Luca Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.