i need php mailer for sending mailson bcc.

Discussion in 'PHP' started by kenzomanna, Sep 4, 2007.

  1. #1
    i need in box php mailer for sending mails through bcc.
     
    kenzomanna, Sep 4, 2007 IP
  2. loibeignacio

    loibeignacio Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    phpmailer.sourceforge.net

    
    <?php
    # phpmailer.sourceforge.net/tutorial.html
    require_once 'relative/path/to/class.phpmailer.php';
    $mailer = new PHPMailer();
    $mailer->IsHTML(true);
    $mailer->AddAddress('bill_clinton69@microsoft.com');
    $mailer->AddBCC('john@beatles.com');
    $mailer->From = 'you@kenzomanna.com';
    $mailer->FromName = 'kenzomanna';
    $mailer->Subject = 'test email';
    $mailer->Body = 'hey, it works!';
    $mailer->Send();
    $mailer->ClearAllRecipients();
    $mailer->ClearAddresses();
    ?>
    
    PHP:
     
    loibeignacio, Sep 5, 2007 IP