Jump to content


VlexoFree Notice

Interviews will be open every Friday starting at 12am PDT and lasting for 24 hours.

- - - - -

Sendmail not working


  • Please log in to reply
3 replies to this topic

#1 Orca Music

Orca Music

    Member

  • Members
  • 11 posts

Posted 11 November 2011 - 04:25 PM

Hi. I am using PHPMailer to generate nice HTML emails.

However, Sendmail is not working here. I get the error: Could not execute: /usr/sbin/sendmail when I try to use Sendmail here. The old faithful php mail() option does work, however, I would prefer to use Sendmail.

Ad Bot


      #2 Eli L

      Eli L

        VlexoFree Owner

      • Owner
      • 6,950 posts
      • LocationWashington, USA

      Posted 11 November 2011 - 06:11 PM

      Please use the template so I can further assist.

      Posted Image


      Please do not PM me for support (unless its a private matter). Instead, post in the appropriate forum and help will be provided accordingly.
      Helpful links: Terms of Service | Privacy Policy | Wiki - Tutorials & Help | VlexoFree Support |


      #3 Orca Music

      Orca Music

        Member

      • Members
      • 11 posts

      Posted 11 November 2011 - 09:59 PM

      Sorry. Newbie alert ;)


      Account Plan: Personal 300

      cPanel UserName: orcamx

      Your Domain or Subdomain: orca-music.com

      Browser: Safari 5.1.1

      System (Mac/PC/Linux): Mac

      Nature Of Problem: Sendmail binary not executing

      Error you are Getting [If applicable]: Could not execute: /usr/sbin/sendmail

      Problem: I am using PHPMailer to handle the generation of HTML emails that may occasionally be sent by my site. PHPMailer can use Sendmail, and it is correctly configured to point to the path /usr/sbin/sendmail. However, when I test it, I get the error noted above from PHPMailer. If I tell PHPMailer to use PHP's basic mail() function instead of the Sendmail binary, then everything works. However, I would prefer to use Sendmail, if it would work. Also, I am using this exact same version of PHPMailer and the exact same e-mail creation script at another website/server and their Sendmail is working (I only mention that to illustrate that I know my PHP scripts are working elsewhere).

      Thanks for any help.

      #4 Eli L

      Eli L

        VlexoFree Owner

      • Owner
      • 6,950 posts
      • LocationWashington, USA

      Posted 12 November 2011 - 03:44 PM

      I'm not sure why this script cant use the sendmail binary. The binary works as I just tested it using a simple perl script. It might be security methods i have in place or maybe not.. I'd stick with phps mail function.

      Posted Image


      Please do not PM me for support (unless its a private matter). Instead, post in the appropriate forum and help will be provided accordingly.
      Helpful links: Terms of Service | Privacy Policy | Wiki - Tutorials & Help | VlexoFree Support |





      0 user(s) are reading this topic

      0 members, 0 guests, 0 anonymous users