enigmabunny Posted October 11, 2007 Share Posted October 11, 2007 Hi guys / gals. I have only just noticed, but when I send an e-mail from admin, it says it is sent, but nothing is received at the other end. I have no idea what i should be looking for to resolve this. any ideas? Thanks Link to comment Share on other sites More sharing options...
Nullachtfuffzehn Posted October 11, 2007 Share Posted October 11, 2007 Any other mails are being sent, like newsletters, welcome mails, order mails etc.? Link to comment Share on other sites More sharing options...
enigmabunny Posted October 11, 2007 Author Share Posted October 11, 2007 welcome emails are being sent, thats about it. Link to comment Share on other sites More sharing options...
enigmabunny Posted October 16, 2007 Author Share Posted October 16, 2007 so any ideas guys / gals? as i still havnt figured it out.... ;( Link to comment Share on other sites More sharing options...
bpopelar Posted October 16, 2007 Share Posted October 16, 2007 The higher level modules (like tep_mail.php or contact_us.php ) that utilize the email class do not check the status returned. The email is always reported as successfully sent to the user. I can understand why the higher level modules are coded this way. What are they going to do, report the error to the user who can do nothing about it? Unfortunately, there is no logging / debug capability to turn on to easily figure out what is going wrong. You can hack some code into the tep_mail.php to dump the email class return status. I suspect you will find that it is returning False (i.e., an error occurred). Check the settings of the following parameters in admin -> My Store Store Owner Customer Server E-Mail Address [email protected] E-Mail From [email protected] The above parameters define the source addresses for the various emails originated by osCommerce. Also check the email parameters in admin -> configuration -> email options E-Mail Transport Method smtp E-Mail Linefeeds CRLF Use MIME HTML When Sending Emails false Verify E-Mail Addresses Through DNS false Send E-Mails true The transport method will depend on what type of server you are hosted on; sounds like you already have this set correctly. You could try to toggling the linefeed parameter between CR and CRLF and see if this solves your problem. On a linux box CRLF is correct. Link to comment Share on other sites More sharing options...
enigmabunny Posted October 16, 2007 Author Share Posted October 16, 2007 hi thnx for the reply, have tried your suggestions and played around with them a bit, but still no luck, Link to comment Share on other sites More sharing options...
enigmabunny Posted October 16, 2007 Author Share Posted October 16, 2007 hi i just tried sending an email to another address, which wasnt hotmail (which is what i was trying before) and it works ok.... so it must have something to do with hotmail?? Link to comment Share on other sites More sharing options...
bpopelar Posted October 18, 2007 Share Posted October 18, 2007 It shouldn't have anything to do with hotmail. I assume the hotmail email address you used was valid. I've been tempted to create / build-in a debug capability into the 901 contribution to collect the SMTP exchange and dump it to a web page and/or file. I can't do it today, but I might get around to it this weekend. Link to comment Share on other sites More sharing options...
germ Posted October 18, 2007 Share Posted October 18, 2007 If the server isn't configured to put "Reverse DNS Lookups" in the email header, some email providers will just delete the email and you'll never see it. I had the same situation on a site I managed a few years ago. They changed the server setting to put them in the email headers and everything was OK after. AOL was like that a few years ago. I don't use it now so I don't know about their current policy. But, that would explain why the mail gets to some addresses and not others. "Reverse DNS Lookups" would be something to ask your host about... ;) If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.