Results 1 to 2 of 2

Thread: Email issue -- Carbon Copy Issue

  1. #1
    Join Date
    Aug 2006
    Posts
    65
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default Email issue -- Carbon Copy Issue

    I need to be able to send an email to someone and cc someone else... how can I do this??

    Code:
    $email = "dslider@google.com";
    
    $mailcontent = "Please look at the following information: \r\n\n"
    ."QA Agent: " .$p_QAAgent. "\r\n"
    ."Representatives Name: " .$p_RepName. "\r\n"
    ."Ticket Number:  " .$p_TicketNum. "\r\n"
    ."Site Name: " .$p_SiteName. "\r\n\n";
    
    
    $mailsubject= $p_RepName. " please look at the following QA form for ticket #" .$p_TicketNum;
      switch($p_RepName)
      {
            case "Dex Slid":
    		$mailtolist = "dex@google.com";
    		break;
    		
      }	
    $frommail = "From:" .$email. "\r\nBounce-to:car@google.com";
    $formsent = mail($mailtolist, $mailsubject, $mailcontent, $frommail);
    I know this code works as I have tested it but everything I try to do with cc it wont work... it is possible to cc? or do I have to just add the addresses into the $mailtolist ???


    sorry wrong forum...

  2. #2
    Join Date
    Aug 2006
    Posts
    239
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    CC is clientside disposition, you just need to send it twice.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •