phpmailer sending email within same domain fails??

Discussion in 'PHP' started by 123GoToAndPlay, Feb 20, 2008.

  1. #1
    i don't get this i am using phpmailer class to send emails.

    A/1 form confirmation email to the user ($useremail)
    B/1 email to a department (department@domain.com)
    C/1 email to myself for check (me@mydomain.com)
    
    $mail->AddAddress("$useremail","$username");
    $mail->AddBCC("department@domain.com","Form on website");
    $mail->AddBCC("me@mydomain.com","Form on domainwebsite");
    
    Code (markup):
    A en C are being sent but B isn't???The only difference is the fact that case B the domain name = email domain name.

    Any advice, info on this???
     
    123GoToAndPlay, Feb 20, 2008 IP
  2. 007c

    007c Peon

    Messages:
    611
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Do you get a forged from header error?
     
    007c, Feb 21, 2008 IP