Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2006
    Posts
    86
    Plugin Contributions
    0

    email error Email send error warning

    Hi, Zen Gurus,
    I am having a problem with emails not sending from zen cart.
    The email is working on the server fine as I can send email to this address from my local outlook program
    I am using the exact same settings as my other site, but no email notifications coming from ZenCart.
    I am running ZenCart 1.3.8 fresh install.
    I am using sendmail

    Server OS: Linux 2.4.30-grsec
    HTTP Server: Apache
    PHP Version: 4.4.4 (Zend: 1.3.0)
    PHP Safe Mode: Off
    Max Size: 2M POST Max Size: 55M
    Database Host: localhost (127.0.0.1)
    Database: MySQL 4.0.27-standard

    Everything running fine except no emails coming through the admin.
    When I tried to send an email from the admin to the trial customer address
    this warning come up:

    Warning: escapeshellcmd() has been disabled for security reasons in /home/embroide/public_html/Gifts/includes/classes/class.phpmailer.php on line 408

    Warning: Cannot modify header information - headers already sent by (output started at /home/embroide/public_html/Gifts/includes/classes/class.phpmailer.php:408) in /home/embroide/public_html/Gifts/manage_gifts/includes/functions/general.php on line 21

    I don't understand what the above lines mean:
    This is the Line 408 in class.phpmailer.php:408 file:
    $sendmail = sprintf("%s -oi -f %s -t", escapeshellcmd($this->Sendmail), escapeshellarg($this->Sender));
    I do not find the general.php file; The closest to that is functions/functions_general.php

    Please help me figure out what could cause this problem.
    Thank you,
    Portrait Artist
    Our New Zen cart: www.EmbroideryPortraits.com/Gifts/
    www.vodmochka.com/Embroidery_Designs
    All critics and suggestions are welcome!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Email send error warning

    Quote Originally Posted by PortraitArtist View Post
    Warning: escapeshellcmd() has been disabled for security reasons in ...
    You will either have to talk to your hosting company to have them change their security settings, or else change your selected Email Transport Method in your Admin->Configuration->Email Options
    .

    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.

  3. #3
    Join Date
    Mar 2006
    Posts
    86
    Plugin Contributions
    0

    Default Re: Email send error warning

    Quote Originally Posted by DrByte View Post
    You will either have to talk to your hosting company to have them change their security settings, or else change your selected Email Transport Method in your Admin->Configuration->Email Options
    Thank you Dr. Byte to look into my email problem.
    Since my knowledge of the server functions is very limited, I tried to copy the settings from our other ZenCart (on Vodmochka.com).
    In frustration I did try all the different settings in the email options and the PHP method is working. My only concern is security. I don't know if the server setting for - PHP Safe Mode: Off - would make our website vulnerable, if we use the PHP mail method.
    I can ask my service provider to change the settings to be able to use sendmail, if that is more secure, they are very helpful.
    Maybe you are laughing at my questions, but that is how little I know about Linux, Apache and PHP.
    Thank you again to look into this problem.
    PortraitArtist.
    Our New Zen cart: www.EmbroideryPortraits.com/Gifts/
    www.vodmochka.com/Embroidery_Designs
    All critics and suggestions are welcome!

 

 

Similar Threads

  1. Replies: 4
    Last Post: 26 Jun 2015, 10:02 PM
  2. Replies: 4
    Last Post: 12 Nov 2014, 08:42 PM
  3. Replies: 3
    Last Post: 30 Oct 2014, 06:01 AM
  4. v151 PHP warning error on Send Email to Customers
    By sports guy in forum General Questions
    Replies: 7
    Last Post: 17 May 2013, 02:06 AM
  5. trying to send email using tools > send email - get error
    By keylesslocks in forum General Questions
    Replies: 4
    Last Post: 24 Jan 2010, 05:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR