Ver Mensaje Individual
  #1 (permalink)  
Antiguo 18/05/2009, 15:26
Avatar de yoxs
yoxs
 
Fecha de Ingreso: junio-2008
Mensajes: 46
Antigüedad: 15 años, 11 meses
Puntos: 0
JMail PHPMAILER_RECIPIENTS_FAILED

tengo el siguente error que me esta volviendo loca:

PHPMAILER_RECIPIENTS_FAILED

pues estoy usando la clase JMail de joomla.

Ademas implemente el metodo mail de php pra comprobar cual era el problema si es con el servidor en joomla y me envia este error:

Warning: mail() [function.mail]: SMTP server response: 553 Sorry, that domain isn't in my list of allowed rcpthosts. in C:\wamp\www\exchangeitforgold.com\components\com_m ail\controller.php on line 34

y nose que mas hacer, esto lo estoy realizando en un sitio de prueba con wamp:

el metodo esta asi:

Código PHP:
function send_mail(){

$post JRequest::get'post' );
echo 
$post['email'];
ini_set('SMTP','SMTP Host');

                
$mail = new JMail(); 

         
$mail->setsender("[email protected]");
    
        
$post['email']    = JRequest::getVar('email''''post''email');
        
         
$mail->addRecipient($post['email']);

          
$mail->setSubject("Instructions");

          
$mail->setbody("The body of mail");

         
//$mail->addAttachment("/path/to/file");

          
$mail->useSMTP(true"SMTP Host","SMTP USER""SMTP PASS");

           
$mail->send();
        
//prueba
         
mail($post['email'],"prueba""prueba prueba","");
 

Ademas configure SMTP Settings en joomla pero no funciono.....alguna sugerencia porfavor

Última edición por yoxs; 18/05/2009 a las 15:34