Results 1 to 2 of 2

Thread: mail() function doesn't like Canadian emails?

  1. #1
    wkdown Guest

    mail() function doesn't like Canadian emails?

    Hello all. I'm pulling my hair out over this.
    I am trying to get the mail function to send an email to an address ending in .ca (Canadian). The emails are not being sent. I use the EXACT same code and replace the Canadian email with a .com address and it works fine. I send an outside email to the .ca address and it receives it, so I doubt the problem lies there.
    I have tried putting the .com and .ca in the TO line:
    Code:
    mail("me@here.com, you@here.ca", $subject, $text, $headers);
    I have tried adding it as a CC or BCC:
    Code:
    $headers .= "BCC: you@here.ca\r\n";
    I even tried appending the header in the function:
    Code:
    mail("me@here.com", $subject, $text, $headers . "BCC: you@here.ca\r\n");
    Does the mail() function not support .ca addresses?

  2. #2
    Join Date
    Aug 2007
    Posts
    37
    try using htmlmimemail5 instead, http://www.phpguru.org/static/htmlMimeMail5.html

Similar Threads

  1. animation function not workin.. please advise
    By JasonChan in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 0
    Last Post: 19 Feb 2007, 11:23 PM
  2. PHP mail function with AOL IDs on Linux
    By jeephp in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 1
    Last Post: 21 Apr 2006, 04:33 AM

Posting Permissions

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