Murali N (@muralibb)

Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • This is what I made…

    Does this works…

    ………………………………………………………………………………………………………………………………………

    if ( !function_exists('bb_mail') ) {
    function bb_mail($to, $subject, $content, $headers=''){

    require_once('PATH_TO/Swift/lib/Swift.php');
    require_once('PATH_TO/Swift/lib/Swift/Connection/SMTP.php');

    $swift =& new Swift(new Swift_Connection_SMTP("smtp.gmail.com",587));
    $smtp->setUsername("telecomdiary.forums");
    $smtp->setpassword("xxxxxxx");
    $swift =& new Swift($smtp);
    $from = new Swift_Address("telecomdiary.forums@gmail.com","Telecom Forums | by Telecom Diary");

    $message =& new Swift_Message($subject, $content);
    if ($swift->send($message, $to, $from)) {return true;}
    else{ echo "Message failed to send to ".$to." from ".$from;}
    $swift->disconnect();
    }
    }
    ?>

    …………………………………………………………………………………………………………………………………………………….

    Any replacements require??

    Hi tried……

    But, nothing worked..

    ..

    _CK_

    Thanks a lot

    Hi Chris,

    I have tried SwiftMailer and SMTP server (of gmail)… not helped me..

    Please any new ideas…. I am still facing the same old issue….

    FYI….IIS7 is my server hosting at remote location

Viewing 4 replies - 1 through 4 (of 4 total)