Error SMTP auth() contra office365
Publicado: 2014-11-24 08:08 @381
Estimados,
Tengo un problemita con lo siguiente. Resulta que estoy intentando enviar un correo desde una máquina de Windows. Yo ocupo la librería MIME::Lite, y como servidor outlook.office365.com. Este el código.
y me da el siguiente resultado.
Si alguien caritativo me puede dar algún enlace o decir qué puedo hacer estaré muy agradecido.
Tengo un problemita con lo siguiente. Resulta que estoy intentando enviar un correo desde una máquina de Windows. Yo ocupo la librería MIME::Lite, y como servidor outlook.office365.com. Este el código.
Using perl Syntax Highlighting
- my $msg = MIME::Lite->new(
- From => $remitente,
- To => $destinatario,
- Subject => 'Reporte de Error '.$fecha,
- Type => 'multipart/mixed'
- );
- ### Add parts (each "attach" has same arguments as "new"):
- $msg->attach(
- Type => 'TEXT',
- Data => 'Reporte de Errores.'
- );
- if ($archivoerror == 1)
- {
- $nombreArchivoError = &nombreError();
- $msg->attach(
- Path => 'Temp/'.$nombreArchivoError,
- Type => 'application/msword',
- Encoding => 'base64',
- );
- }
- ### use Net:SMTP to do the sending
- $msg->send('smtp',$host ,AuthUser=>$remitente,AuthPass=>$pass,Debug=>1 );
Coloreado en 0.002 segundos, usando GeSHi 1.0.8.4
y me da el siguiente resultado.
Using text Syntax Highlighting
MIME::Lite::SMTP>>> MIME::Lite::SMTP
MIME::Lite::SMTP>>> Net::SMTP(2.32)
MIME::Lite::SMTP>>> Net::Cmd(2.30)
MIME::Lite::SMTP>>> Exporter(5.68)
MIME::Lite::SMTP>>> IO::Socket::INET(1.33)
MIME::Lite::SMTP>>> IO::Socket(1.34)
MIME::Lite::SMTP>>> IO::Handle(1.33)
MIME::Lite::SMTP=GLOB(0x3b48280)<<< 220 BN1PR08CA0031.outlo
osoft ESMTP MAIL Service ready at Mon, 24 Nov 2014 13:04:04
MIME::Lite::SMTP=GLOB(0x3b48280)>>> EHLO localhost.localdom
MIME::Lite::SMTP=GLOB(0x3b48280)<<< 250-BN1PR08CA0031.outlo
o [190.153.236.146]
MIME::Lite::SMTP=GLOB(0x3b48280)<<< 250-SIZE 78643200
MIME::Lite::SMTP=GLOB(0x3b48280)<<< 250-PIPELINING
MIME::Lite::SMTP=GLOB(0x3b48280)<<< 250-DSN
MIME::Lite::SMTP=GLOB(0x3b48280)<<< 250-ENHANCEDSTATUSCODES
MIME::Lite::SMTP=GLOB(0x3b48280)<<< 250-STARTTLS
MIME::Lite::SMTP=GLOB(0x3b48280)<<< 250-8BITMIME
MIME::Lite::SMTP=GLOB(0x3b48280)<<< 250-BINARYMIME
MIME::Lite::SMTP=GLOB(0x3b48280)<<< 250 CHUNKING
SMTP auth() command not supported on outlook.office365.com
MIME::Lite::SMTP>>> Net::SMTP(2.32)
MIME::Lite::SMTP>>> Net::Cmd(2.30)
MIME::Lite::SMTP>>> Exporter(5.68)
MIME::Lite::SMTP>>> IO::Socket::INET(1.33)
MIME::Lite::SMTP>>> IO::Socket(1.34)
MIME::Lite::SMTP>>> IO::Handle(1.33)
MIME::Lite::SMTP=GLOB(0x3b48280)<<< 220 BN1PR08CA0031.outlo
osoft ESMTP MAIL Service ready at Mon, 24 Nov 2014 13:04:04
MIME::Lite::SMTP=GLOB(0x3b48280)>>> EHLO localhost.localdom
MIME::Lite::SMTP=GLOB(0x3b48280)<<< 250-BN1PR08CA0031.outlo
o [190.153.236.146]
MIME::Lite::SMTP=GLOB(0x3b48280)<<< 250-SIZE 78643200
MIME::Lite::SMTP=GLOB(0x3b48280)<<< 250-PIPELINING
MIME::Lite::SMTP=GLOB(0x3b48280)<<< 250-DSN
MIME::Lite::SMTP=GLOB(0x3b48280)<<< 250-ENHANCEDSTATUSCODES
MIME::Lite::SMTP=GLOB(0x3b48280)<<< 250-STARTTLS
MIME::Lite::SMTP=GLOB(0x3b48280)<<< 250-8BITMIME
MIME::Lite::SMTP=GLOB(0x3b48280)<<< 250-BINARYMIME
MIME::Lite::SMTP=GLOB(0x3b48280)<<< 250 CHUNKING
SMTP auth() command not supported on outlook.office365.com
Coloreado en 0.000 segundos, usando GeSHi 1.0.8.4
Si alguien caritativo me puede dar algún enlace o decir qué puedo hacer estaré muy agradecido.