Guest Posted August 11, 2005 Posted August 11, 2005 For some strange reason my shopping cart doesn't send emails like it used to. I haven't changed anything so I don't know why they are not being sent. None of the welcome emails, order receipt, or password forgot emails ever get delivered now. How can I debug whats keeping them from being sent?
greysun Posted August 11, 2005 Posted August 11, 2005 Are you useing an external smtp server IE through your isp. Are you hosting the site locally or is it through a hosting company. Do you get any errors or does everything work properly except the emails are not being delivered?
brewbeer Posted August 11, 2005 Posted August 11, 2005 email usage has changed alot recently. some servers will have a limit of outgoing emails. I have had issues with sending emails with oscommerce. i believe it is worth an update as in the last year the can-spam act has infected trustworthy businesses. probably the issue is with your isp if you have locally hosted server or the server that runs your email is miscofigured or has a limit. in a statement. email is frustrating these days and oscommerce is not the greatest platform to use for emailing due to federal regulations. I have major issues getting emails out from oscommerce so I started using phpmailer and incorporated it into the site. It has many more config values but does require development experience. sorry i cant help more. "Chooca ma blah blah"
Guest Posted August 11, 2005 Posted August 11, 2005 Are you useing an external smtp server IE through your isp. Are you hosting the site locally or is it through a hosting company. Do you get any errors or does everything work properly except the emails are not being delivered? <{POST_SNAPBACK}> My site is being hosted by a commercial webhosting company on a Linux server. I have OSC set to use sendmail. The shopping cart functions properly with no errors its just that no emails are ever delivered. I have checked with the hosting provider and they said that sendmail is installed on the webserver running on the normal port 25. I tried this email test utility http://www.oscommerce.com/community/contributions,1595 and no errors at all but the emails never got delivered. On another part of the website I have a contact us page that uses Matt Wright's cgi formmail and that works fine. I get the emails from the cgi script just nothing from OSC.
Guest Posted August 11, 2005 Posted August 11, 2005 what are the other settings in the admin regarding email, ie cr, cr/lf? how are your email address' configured?
Guest Posted August 11, 2005 Posted August 11, 2005 what are the other settings in the admin regarding email, ie cr, cr/lf?how are your email address' configured? <{POST_SNAPBACK}> The only email address setup for my domain is [email protected] and its a real valid email. Here are the settings for email: E-Mail Transport Method sendmail E-Mail Linefeeds LF Use MIME HTML When Sending Emails false Verify E-Mail Addresses Through DNS false Send E-Mails true On the email linefeeds I have tried switching it to CRLF but I still didn't get the emails.
boxtel Posted August 11, 2005 Posted August 11, 2005 The only email address setup for my domain is [email protected] and its a real valid email. Here are the settings for email: E-Mail Transport Method sendmail E-Mail Linefeeds LF Use MIME HTML When Sending Emails false Verify E-Mail Addresses Through DNS false Send E-Mails true On the email linefeeds I have tried switching it to CRLF but I still didn't get the emails. <{POST_SNAPBACK}> I would recommend the emailQueue contrib. It will not solve the sending problem but it sure helps the testing process as you can resend your emails by the press of a button. Treasurer MFC
chooch Posted September 17, 2005 Posted September 17, 2005 The only email address setup for my domain is [email protected] and its a real valid email. Here are the settings for email: E-Mail Transport Method sendmail E-Mail Linefeeds LF Use MIME HTML When Sending Emails false Verify E-Mail Addresses Through DNS false Send E-Mails true On the email linefeeds I have tried switching it to CRLF but I still didn't get the emails. <{POST_SNAPBACK}> i am having the same problem.. all my emails on all my oscommerce sites hosted at the same hosting company have gone down WTF is going on? it was doing my head-in but then realsied it was on all domains on same server - so i have emailed them and waiting for a response then will definately move to another host Upon receiving fixes and advice, too many people don't bother to post updates informing the forum of how it went. Until of course they need help again on other issues and they come running back! Why receive the information you require in good faith for free, only to then have the attitude to ignore the people who gave it to you? There's no harm in saying, 'Thanks, it worked'. On the contrary, it creates a better atmosphere. CHOOCH
241 Posted September 17, 2005 Posted September 17, 2005 Have you tried changing the x-mailer from osCommerce to your own domain with a valid return path as many isp now only accept mail form the domain with a valid return path, this is also true for Matt's formmail You can try catalog/includes/functions/general.php approx line #963 $message = new email(array('X-Mailer: osCommerce Mailer')); to $message = new email(array('X-Mailer: yourdomain Mailer','Return-Path: [email protected]')); admin/mail.php approx line #40 $mimemessage = new email(array('X-Mailer: osCommerce')); to $mimemessage = new email(array('X-Mailer: yourdomain','Return-Path: [email protected]')); admin/includes/functions/general.php approx line #1073 $message = new email(array('X-Mailer: osCommerce')); to $message = new email(array('X-Mailer: yourdomain','Return-Path: [email protected]')); admin/includes/modules/newsletters/product_notification.php approx line #203 $mimemessage = new email(array('X-Mailer: osCommerce bulk mailer')); to $mimemessage = new email(array('X-Mailer: yourdomain bulk mailer','Return-Path: [email protected]')); where yourdomain is your domain name No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
chooch Posted September 18, 2005 Posted September 18, 2005 Have you tried changing the x-mailer from osCommerce to your own domain with a valid return path as many isp now only accept mail form the domain with a valid return path, this is also true for Matt's formmail You can try catalog/includes/functions/general.php approx line #963 ? ?$message = new email(array('X-Mailer: osCommerce Mailer')); to ? ?$message = new email(array('X-Mailer: yourdomain Mailer','Return-Path: [email protected]')); admin/mail.php approx line #40 ? ?$mimemessage = new email(array('X-Mailer: osCommerce')); to ? ?$mimemessage = new email(array('X-Mailer: yourdomain','Return-Path: [email protected]')); admin/includes/functions/general.php approx line #1073 ? ?$message = new email(array('X-Mailer: osCommerce')); to ? ?$message = new email(array('X-Mailer: yourdomain','Return-Path: [email protected]')); admin/includes/modules/newsletters/product_notification.php approx line #203 ? ? ?$mimemessage = new email(array('X-Mailer: osCommerce bulk mailer')); to ? ? ?$mimemessage = new email(array('X-Mailer: yourdomain bulk mailer','Return-Path: [email protected]')); where yourdomain is your domain name <{POST_SNAPBACK}> Many thanks for the reply..... done it but nothing happens i don't get what is going on - i tried your modification on a fresh install so it has to be the ISP or Server.. am waiting on the osting company to get off their back-side and actually reply to my support ticket!! Thanks Upon receiving fixes and advice, too many people don't bother to post updates informing the forum of how it went. Until of course they need help again on other issues and they come running back! Why receive the information you require in good faith for free, only to then have the attitude to ignore the people who gave it to you? There's no harm in saying, 'Thanks, it worked'. On the contrary, it creates a better atmosphere. CHOOCH
kabuca Posted April 24, 2006 Posted April 24, 2006 Many Many thanks.. these 4 lines of code change, now allows our picky ISP to deliver our orders to us.. Jason
Recommended Posts
Archived
This topic is now archived and is closed to further replies.