Sandwich Artist
Posts: 25
186 credits Members referred : 0
« on: Mar 12, 2008, 06:43:40 pm »
I'm using the phpmailer to add an attachment and mail it to the client as well as the employee. Well I can send to as many internal addresses as I want but I always get an SMTP error when trying to send to an outside address, even known good ones...Here's the error I reveive:
Mailer Error: SMTP Error: The following recipients failed:
if(!$mail->Send()) { echo "There has been a mail error sending to " . $borEmail.", ".$MAEmail . "<br>"; echo "Mailer Error: " . $mail->ErrorInfo . "<br />"; } else { echo "You have successfully sent the PreApproval letter to: ".$borEmail.""; }
// Clear all addresses and attachments for next loop $mail->ClearAddresses(); $mail->ClearAttachments();
?>
« Last Edit: Mar 12, 2008, 09:12:39 pm by msthac01 »
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 5799
46391 credits Members referred : 3
« Reply #1 on: Mar 14, 2008, 08:24:48 am »
First of all, are you sure you can send email with no password from your SMTP server?
If you can this may be caused because your server is blacklisted.