zoti Posted January 12, 2007 Share Posted January 12, 2007 My web hosting company can't find what is wrong and why the php email function is not working. I'm tired of this and I need to be able to send out emails and receive emails through the contact us page. Is there a way to do it using my regular email server? Can some one give a simple step by step instructons? Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 12, 2007 Share Posted January 12, 2007 You should first determine if the problem with sending the emails is with the in-built oscommerce mail functions or with the php mail function. There is a contribution that will allow you to test that (search for test email in contributions). There are cgi scripts available for sending emails that may work for you for the contact us page but your order emails, which is more important, I think, still won't work. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
zoti Posted January 12, 2007 Author Share Posted January 12, 2007 You should first determine if the problem with sending the emails is with the in-built oscommerce mail functions or with the php mail function. There is a contribution that will allow you to test that (search for test email in contributions). There are cgi scripts available for sending emails that may work for you for the contact us page but your order emails, which is more important, I think, still won't work. Jack And how do I determine where the problem is? I suspect my webservie has put me on their black list (for no reason) and they deny it. They give me no other solution and I need a way to communicate with my customers. Link to comment Share on other sites More sharing options...
zoti Posted January 12, 2007 Author Share Posted January 12, 2007 BTW, I already ran email_test.php a few times and no email is being sent out at all. Link to comment Share on other sites More sharing options...
noxmihai Posted January 12, 2007 Share Posted January 12, 2007 HI all I have the same problem with sending emails. It's working only if I use an email account from my domain; but if is other email account then i can't receive anything. sorry for my english HELP!!!! Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 12, 2007 Share Posted January 12, 2007 And how do I determine where the problem is? I suspect my webservie has put me on their black list (for no reason) and they deny it. They give me no other solution and I need a way to communicate with my customers. If basic email is an option in your hosting account, which it should be, then demand that they fix it. They are not required to fix the code in your oscommerce shop, unless they have agreed to do so, but they are required to provide the basic services you pay for. The email test script sends email by not using the oscommerce code at all so if that is not working, it is your hosts problem. If they refuse, or can't, fix it, then it's time to look for another host. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
zoti Posted January 12, 2007 Author Share Posted January 12, 2007 I spoke to my web hosting company and they now claim that I'm on the black list. I really think there is a nother problem but they require that I will provide an opt-out link for customers who want to tbe removed from my mailing list. It seem that the link that enables the customer (registered ones) to be removed from the mailing list is not enough for them. I really don't know what they want me to do or how to do it. Can anyone help? Also, what is the conclusion from running email_test.php and not receiving any of the 2 emails? Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 13, 2007 Share Posted January 13, 2007 They are correct that the code should be opt-in (althoguh their response seems a bit harsh). In fact, I think it is the law (I'm not a lawyer) in some countries. The default code is opt-in for the newsletter. If you have some other code added for a mailing list, you will have to find out where that is automaticaly enabled and set it to default to off. The email function in oscommerce uses the php mail function to actually send the email. The email test script sends an email using the oscommerce email function as well as the php mail function. So if the former fails and the latter works, the problem is related to oscommerce. If they both fail, the problem is with the mail code in php. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
zoti Posted January 13, 2007 Author Share Posted January 13, 2007 Both tests don't work. Here's what the support guys told me: The opt-out link you specified does not provide users a way of opting out or removing their email address from the list. Please do provide a link that will give your users a chance to remove themselves from your mailing list. I'm sorry but we cannot process your request until this is complied with. To be honest. I don't understand what they want from me or how to do it. I'm completely lost on this one. Link to comment Share on other sites More sharing options...
Jack_mcs Posted January 13, 2007 Share Posted January 13, 2007 I can't help you with this since you seem to be using non-standard code. When someone creates an account in a standard shop, they are given the option to join the newsletter list. This is called Opt In. If the box comes up already checked, that means they are added automatically to that list. They can select the box to stop that. This is called Opt Out. You apparently have some code that is set to automatically add customers to a list. You need to change that. Although I have never heard of a host paying such close attention to such code unless they received a complaint about your site. But that doesn't really matter. They are telling you what you have to do. You either need to do it or find another host. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
zoti Posted January 13, 2007 Author Share Posted January 13, 2007 The thing is, I'm not using any special code. I installed a couple of contributions but non of them had anything to do with the news letter. I have no idea when and why they have added me to the black list. It took me 10 days of constant nagging just to get them to admit it. Now I'm trying to get them to remove me from that black list. They have asked for a link where a customer can opt-out from the newsletter. I gave them a link to the standard OsCommerce page on which you have the check box for unsubscribe but this seems to be not enough for them. They are driving me nuts and I'm loosing a lot of customers because it looks like I'm ignoring emails and not sending info about orders. Arrrrgh... Link to comment Share on other sites More sharing options...
♥14steve14 Posted April 3, 2010 Share Posted April 3, 2010 I think what they require you to do, is to place an unsubscribe link at the bottom of your newletter or emailthat is sent to your subscribers. I had a simailar thing with my newsletter, and once the unsubscribe link was in place all was well again. I may be wrong. REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.