Help Could not execute: /var/qmail/bin/sendmail

This forum is for issues with installing Joomla! on IIS webservers.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
paccione
Joomla! Apprentice
Joomla! Apprentice
Posts: 16
Joined: Sun May 22, 2011 5:15 pm

Help Could not execute: /var/qmail/bin/sendmail

Post by paccione » Sun May 22, 2011 5:17 pm

Hi im a bit of a noobe at joomla just wondered been to many forums with the same questions asked Could not instantiate mail function or Could not execute: /var/qmail/bin/sendmail
.
ive tried all things now if i install a remote access could you check and rectify my joomla mail to get it working please help i need someone who knows what there doing is there any expert on here that can fix this

Mail Settings
Mailer * PHP Mail Sendmail SMTP done all
From email [email protected]
From Name damain
Sendmail Path /usr/sbin/sendmail
SMTP Authentication tried on and off
YesNoSMTP Security None SSL Tls tried all
SMTP Port * ports tried 25,465,587,995,2525
SMTP Username my email
SMTP Password my password
SMTP Host tried localhost and all my smtp hosts

i can send mail from outlook and thunderbird so it cant be firewall
im running wamp with joomla 1.6 tried 1.5 still same story my isp is virgin media

HeeeeLLLLPPPPPP!!!! Please :( :( :( :( :(

chrislem
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Thu Jun 02, 2011 9:19 am

Re: Help Could not execute: /var/qmail/bin/sendmail

Post by chrislem » Thu Jun 02, 2011 6:16 pm

Is there a solution finally? I have exactly the same problem.. I am runnig Joomla from localhost Please help!

paccione
Joomla! Apprentice
Joomla! Apprentice
Posts: 16
Joined: Sun May 22, 2011 5:15 pm

Re: Help Could not execute: /var/qmail/bin/sendmail

Post by paccione » Fri Jun 03, 2011 2:05 am

i have found it my isp is virgin and they have a strict policy but this works with
gmail,hotmail,virgin mail this is for the latest joomla 1.6
Mail Settings

Mailer * smtp
From email [email protected]
From Name site
Sendmail Path /usr/sbin/sendmail
SMTP Authentication yes
SMTP Security TLS
SMTP Port * 25
SMTP Username [email protected]
SMTP Password the password for you email
SMTP Host the smpt.whatevermail.com

IMPORTANT:( if your using wamp server as i am make sure in the php extentions the php_openssl is active) or on any other php for that matter plus make sure port 25 is open toboth udp & tcp you smtp should work perfect please share info because someone share this with me on another forum let me know if this helps thanks also check the mail on my site join it Http://www.121Gamers.com

paccione
Joomla! Apprentice
Joomla! Apprentice
Posts: 16
Joined: Sun May 22, 2011 5:15 pm

Re: Help Could not execute: /var/qmail/bin/sendmail

Post by paccione » Mon Oct 22, 2012 9:58 am

pezeshk wrote:Hi ,

Here is my code

Code: Select all

<?php
/**
* Simple example script using PHPMailer with exceptions enabled
* @package phpmailer
* @version $Id$
*/

require 'class.phpmailer.php';

try {
        $mail = new PHPMailer(true); //New instance, with exceptions enabled

        $body             = file_get_contents('contents.html');
        $body             = preg_replace('/\\\\/','', $body); //Strip backslashes

        $mail->IsSMTP();                           // tell the class to use SMTP
        $mail->SMTPAuth   = true;                  // enable SMTP authentication
        $mail->Port       = 25;                    // set the SMTP server port
        $mail->Host       = "135.27.130.61"; // SMTP server


        $mail->IsSendmail();  // tell the class to use Sendmail

        $mail->AddReplyTo("[email protected]","First Last");

        $mail->From       = "[email protected]";
        $mail->FromName   = "First Last";

        $to = "[email protected]";

        $mail->AddAddress($to);

        $mail->Subject  = "First PHPMailer Message";

        $mail->AltBody    = "To view the message, please use an HTML compatible email viewer!"; // optional, comment out and test
        $mail->WordWrap   = 80; // set word wrap

        $mail->MsgHTML($body);

        $mail->IsHTML(true); // send as HTML

        $mail->Send();
        echo 'Message has been sent.';
} catch (phpmailerException $e) {
        echo $e->errorMessage();
}
?>

Why when i execute i get the Error : Could not execute: /var/qmail/bin/sendmail ?? how to solve it ?
i too new with this ....
thanks
What version of joomla are you using ??


Locked

Return to “Joomla! 1.5 on IIS webserver”