Welcome Guest, Not a member yet? Register   Sign In
unable to relay for recipients
#1

[eluser]husni[/eluser]
i was unable to relay for my recipient..
what is the error and how to fix it??


to: 550 5.7.1 Unable to relay for [email protected]

The following SMTP error was encountered: 550 5.7.1 Unable to relay for [email protected]

data: 503 No recipient(s).

The following SMTP error was encountered: 503 No recipient(s).
500 5.3.3 Unrecognized command
The following SMTP error was encountered: 500 5.3.3 Unrecognized command
Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.

tq =)
#2

[eluser]n0xie[/eluser]
Too bad my crystal ball is broken today.

I guess it has something to do with this:
Code:
data: 503 No recipient(s).

Alas since you provided no code to debug, I will just say it is because the wind is coming from the West today.
#3

[eluser]husni[/eluser]
here is my code..
how do i fix my prob?

class Email extends Controller
{
function __construct()
{
parent::Controller();
}

function index()
{
$config = array(
'protocol' => 'smtp',
'smtp_host' => 'localhost',
'smtp_port' => 25,
'smtp_timeout' => '30',
'mailtype' => 'html',
'charset' => 'iso-8859-1',
'wordwrap' => TRUE
);

$this->load->library('email', $config);
$this->email->set_newline("\r\n");

$this->email->from('[email protected]', 'Jeffrey Way');
$this->email->to('east_guyz90@yahoo.com');
$this->email->subject('This is an email test');
$this->email->message('It is working. Great!');

if($this->email->send())
{
echo 'Your email was sent, fool.';
}

else
{
show_error($this->email->print_debugger());
}
}
}
#4

[eluser]n0xie[/eluser]
Did you try this?
Code:
$config['newline'] = "\r\n";

      $this->load->library('email');
    
      $this->email->from(‘[email protected]’, ‘Jeffrey Way’);
      $this->email->to(‘[email protected]’);    
      $this->email->subject(‘This is an email test’);    
      $this->email->message(‘It is working. Great!’);
      
      $this->email->initialize($config);
#5

[eluser]husni[/eluser]
[quote author="n0xie" date="1264537318"]Did you try this?
Code:
$config['newline'] = "\r\n";

      $this->load->library('email');
    
      $this->email->from(‘[email protected]’, ‘Jeffrey Way’);
      $this->email->to(‘[email protected]’);    
      $this->email->subject(‘This is an email test’);    
      $this->email->message(‘It is working. Great!’);
      
      $this->email->initialize($config);
[/quote]

i tried that one..
i have add this code

if($this->email->send())
{echo "berjaya<br>";}
else
{echo "gagal hantar email<br><br>";
echo $this->email->print_debugger();}

still got error..




Theme © iAndrew 2016 - Forum software by © MyBB