New Zenner
- Join Date:
- Dec 2005
- Posts:
- 45
- Plugin Contributions:
- 0
Email Error: Could not execute: /usr/sbin/sendmail
http://catherinebach.com/shop/index.php?main_page=password_forgotten&action=process
at the above link I get an error
Views: 27,166
New Zenner
http://catherinebach.com/shop/index.php?main_page=password_forgotten&action=process
at the above link I get an error
Oba-san
If the issue is a bad email address and you are asking for a new password with forgotten password you will get that error ...
Peek at the customers table via phpMyAdmin ... are you using the right email?
Linda McGrath
If you have to think ... you haven't been zenned ...
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Sensei
In your Admin->Configuration->Email Options ... it appears that you have "sendmail" selected for Email Transport.
Perhaps trying another option will work better with your hosting server.
Here are further ideas for troubleshooting email issues:
http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Email_Problems
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
New Zenner
thanks guys!
New Zenner
I've the same problem ! No solution has been found than take the old file "functions_email.php" of my version zencart 1.2.6.
I just make upgrade from 1.2.6 to 1.3.7.
Currently, it's impossible to make an order or send a mail throw zencart.
Any help would be appreciate.
Thanks
PS : I've try PHP method and I have the followinf error :
Warning: Cannot modify header information - headers already sent by (output started at /includes/functions/functions_email.php:144) in /includes/functions/functions_general.php on line 44
New Zenner
Anyone has found the same problem ? 8-(
New Zenner
I can't beleive that anyone have not the same problem after upgrading their website. Is there a community here ?
Sensei
gameover:
PS : I've try PHP method and I have the followinf error :
Warning: Cannot modify header information - headers already sent by (output started at /includes/functions/functions_email.php:144) in /includes/functions/functions_general.php on line 44
Is there any other information shown on-screen at this point ?
'PHP' is usually the method you need to use if you were using sendmail before but sendmail is not working after upgrade.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Zen Follower
DrByte:
'PHP' is usually the method you need to use if you were using sendmail before but sendmail is not working after upgrade.
I have the same problem and the option for PHP doesn't exist in this new, fresh installation I have made. I have only the options for smtp, SMTPAUTH, sendmail and sendmail -f there!
Is there some corrupted file or is this php option deprecated or something?
Elli
I may be blond but at least I found Zen.
Totally Zenned
Ellivir, what version of Zen Cart have you installed?
Zen Follower
I have the same problem.
I have just upgraded to 1.3.7 (including databse)
and tried a test order, pay by check, and, acting as a customer got
"email error:could not execute /usr/sbin/sendmail"
permissions on class.phpmailer.php are they are.
owner/ read write
group/ read
others/ read
I cant say what was happening before upgrade, cos I couldn't even register a customer on the previous version...it just kept returning
create customer page, although that was when I had a shared SSL, and I am not using one at the moment just to keep it less complicated.
if the error is "could not execute" do I need to change the permissions?
Only guessing,
cheers
kevin_a
Zen Follower
Ahh
Found the Email transport method which had defaulted to sendmail
When I changed to PHP, the process processed and I got the emails as customer and store owner.
kevin_a
Totally Zenned
Indeed, 'could not execute /usr/sbin/sendmail' can well mean you do not have the correct permissions to execute this directly, nor will you get them, or as likely, we do not use sendmail, so it does not exist.
Zen Follower
Chuckl:
Indeed, 'could not execute /usr/sbin/sendmail' can well mean you do not have the correct permissions to execute this directly, nor will you get them, or as likely, we do not use sendmail, so it does not exist.
Well, I do have the latest ZC and the XSS security update on it, all permissions like instructed and I have installed other shops before and I know where I should change the email option for PHP but frankly I do not see that option there at all, but only smtp, smtpauth, sendmail and sendmail -f.
Elli
I may be blond but at least I found Zen.
Totally Zenned
Ok, ellivir, could you use phpMyAdmin or whatever you use for database access, and check the configuration table in your database for a configuration key called EMAIL_TRANSPORT.
Associated with that will be a column entry called set_function. Could you post the set_function column entry for EMAIL_TRANSPORT here please.
Zen Follower
Chuckl:
Ok, ellivir, could you use phpMyAdmin or whatever you use for database access, and check the configuration table in your database for a configuration key called EMAIL_TRANSPORT.
Associated with that will be a column entry called set_function. Could you post the set_function column entry for EMAIL_TRANSPORT here please.
That would be like this:
zen_cfg_select_option(array('sendmail', 'sendmail-f', 'smtp', 'smtpauth'),
And the configuration_description:
Defines if this server uses a local connection to sendmail or uses an SMTP connection via TCP/IP. Servers running on Windows and MacOS should change this setting to SMTP.<br /><br />SMTPAUTH should only be used if your server requires SMTP authorization to send messages. You must also configure your SMTPAUTH settings in the appropriate fields in this admin section.<br /><br />"Sendmail -f" is only for servers which require the use of the -f parameter to send mail. This is a security setting often used to prevent spoofing. Will cause errors if your host mailserver is not configured to use it.
I may be blond but at least I found Zen.
Totally Zenned
Thanks ellivir, now could you have a look at Admin-Tools-Server/Version Info for your store, the Zencart Section, and post the Database Patch level it's showing.
Zen Follower
Chuckl:
Thanks ellivir, now could you have a look at Admin-Tools-Server/Version Info for your store, the Zencart Section, and post the Database Patch level it's showing.
Zen Cart 1.3.7
Database Patch Level: 1.3.7
I may be blond but at least I found Zen.
Totally Zenned
You (or rather the upgrade process on your site) seem to somehow have skipped all or part of the 1.3.5-1.3.6 SQL database upgrade.
Could you check the project_version_history database table for any evidence of that, and the upgrade_exceptions table for any complaining about that upgrade or EMAIL_TRANSPORT in particular?
Version history is I think also shown on the Server/Version Info admin page.
Zen Follower
Chuckl:
You (or rather the upgrade process on your site) seem to somehow have skipped all or part of the 1.3.5-1.3.6 SQL database upgrade.
Could you check the project_version_history database table for any evidence of that, and the upgrade_exceptions table for any complaining about that upgrade or EMAIL_TRANSPORT in particular?
Version history is I think also shown on the Server/Version Info admin page.
v1.3.6 [2007-05-08 23:27:34] (Version Update 1.3.5->1.3.6)
v1.3.5 [2006-09-24 19:16:06] (Fresh Installation)
I look still the upgrade_exceptions...
I may be blond but at least I found Zen.
Tell staff why this post should be reviewed.