Mister_dj Posted December 29, 2009 Posted December 29, 2009 Because the EMAIL_FROM field isn't filled in, most of the emails sent from within the shop, never arrive. They are blocked on the server as they are seen as spam. I used a working email adress Tried email_test script -> no errors These are my settings in the admin Shop owner Wim Van Gorp E-mailadress [email protected] E-mail from [email protected] sendmail LF false false true The site is hosted on a linux server with php 5.2.0-8+etch15 Does anyone have an idea what this could be? Thanx in advance
Jan Zonjee Posted December 29, 2009 Posted December 29, 2009 Because the EMAIL_FROM field isn't filled in, most of the emails sent from within the shop, never arrive. They are blocked on the server as they are seen as spam. Does anyone have an idea what this could be? Could possibly be solved using this (might be on this forum mentioned also, but somebody once pointed me there): forums.osquantum.org/index.php?s=&showtopic=657&view=findpost&p=4480
Mister_dj Posted December 29, 2009 Author Posted December 29, 2009 when adding the f- parameter to includes/classes/email.php and admin/includes/classes/email.php i get this error message when sending email from the admin section Warning: mail() [function.mail]: SAFE MODE Restriction in effect. The fifth parameter is disabled in SAFE MODE. in .../admin/includes/classes/email.php on line 522 Warning: Cannot modify header information - headers already sent by (output started at .../admin/includes/classes/email.php:522) in .../admin/includes/functions/general.php on line 22 And when a customer places an order, he doesn't receive the order confirmation email. And the also the store owner doesn't receive the order confirmation anymore (This was ok before adding the f-parameter)
Jan Zonjee Posted December 31, 2009 Posted December 31, 2009 when adding the f- parameter to includes/classes/email.php and admin/includes/classes/email.php i get this error message when sending email from the admin section Warning: mail() [function.mail]: SAFE MODE Restriction in effect. The fifth parameter is disabled in SAFE MODE. in .../admin/includes/classes/email.php on line 522 That's seems to a well described problem with the -f paramater in the mail function when safe mode is enabled. More projects seem to suffer from that (see e.g. Drupal) but I think a solution might be to do an ini_set with the user you want. A check for safe mode is on could be: $safe_mode_setting = (@ini_get('safe_mode') == 'On' || (@ini_get('safe_mode') === 1)) ? true : false; In case $safe_mode_setting == true you could try (instead of using the -f parameter: ini_set("sendmail_from","[email protected]"); See for example this post in a Dutch forum.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.