Ticket #26360 (assigned)
SMTP RCPT not accepted from server: 550 relay not permitted. Using PHPMailer.
|Reported by:||thedmann1||Owned by:||ctsai|
I have read through the Project Web Email Configuration (https://sourceforge.net/apps/trac/sourceforge/wiki/Project%20Web%20Email%20Configuration) page many times but I cannot successfully send an email. If have used my project name, project Unix name and event my account username for the SMTP username but I continue to get the 550 relay not permitted error. What Am I doing wrong?
Here is some of the code used :
$mail->IsSMTP(); $mail->SMTPAuth = false; $mail->Host = 'prwebmail'; $mail->Username = 'SimpleContactForm'; $mail->Password = 'XXXX'; // I have changed this twice already. $mail->Port = 25; $mail->Subject = 'Help'; $mail->SetFrom('firstname.lastname@example.org', 'Help'); $mail->AddAddress('MYADDRESS@EMAIL.com', 'ME'); $mail->MsgHTML($message); $mail->Send();