Jump to content

Search the Community

Showing results for tags 'hotmail'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Q&A Desenvolvimento
    • Perguntas e respostas rápidas
  • Desenvolvimento e Banco de Dados
    • HTML e CSS
    • Java
    • Javascript
    • .NET
    • PHP
    • Python
    • Ruby
    • Mobile
    • Ambientes de Desenvolvimento
    • Arquitetura e Métodos Ágeis
    • Banco de Dados
    • DevOps
    • Desenvolvimento de Games
    • E-Commerce e Pagamentos Online
    • SEO e Otimizações
    • WordPress
    • Algoritmos & Outras Tecnologias
  • Design e Produto
    • Fotografia
    • Photoshop
    • Design de interfaces e UX
    • Edição/Produção de Vídeos
    • Marketing Online
    • Desenho, Ilustração e 3D
  • Entretenimento e uso pessoal
    • Geral
    • Segurança & Malwares
    • Gadgets e wearable
    • Softwares e Apps
    • Entretenimento

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Google+


Hangouts


Skype


Twitter


deviantART


Github


Flickr


LinkedIn


Pinterest


Facebook


Site Pessoal


Localização


Interesses

Found 5 results

  1. paulo padua

    PHPMailer com conta hotmail

    Olá pessoal Estou precisando de uma ajuda. Utilizo o PHPMailer com Gmail e tudo ok. Mas preciso configurar ele para um conta Hotmail. Já verifiquei na Internet as configurações mas gera erra no envio. Utilizei o servidor SMTP.live.com e porta 587 e tls e até ssl e não gera o mesmo erro. Alguém poderia me informar como eu resolvo esse problema? 019-10-08 20:18:00 Connection: opening to smtp.live.com:587, timeout=300, options=array ( 'ssl' => array ( 'verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true, ),) 2019-10-08 20:18:00 Connection: opened 2019-10-08 20:18:00 SMTP INBOUND: "220 CP2P15201CA0018.outlook.office365.com Microsoft ESMTP MAIL Service ready at Tue, 8 Oct 2019 20:17:58 +0000" 2019-10-08 20:18:00 SERVER -> CLIENT: 220 CP2P15201CA0018.outlook.office365.com Microsoft ESMTP MAIL Service ready at Tue, 8 Oct 2019 20:17:58 +0000 2019-10-08 20:18:00 CLIENT -> SERVER: EHLO localhost 2019-10-08 20:18:00 SMTP INBOUND: "250-CP2P15201CA0018.outlook.office365.com Hello [2804:14c:c0:83d8:899e:1d6c:a4ab:f228]" 2019-10-08 20:18:00 SMTP INBOUND: "250-SIZE 157286400" 2019-10-08 20:18:00 SMTP INBOUND: "250-PIPELINING" 2019-10-08 20:18:00 SMTP INBOUND: "250-DSN" 2019-10-08 20:18:00 SMTP INBOUND: "250-ENHANCEDSTATUSCODES" 2019-10-08 20:18:00 SMTP INBOUND: "250-STARTTLS" 2019-10-08 20:18:00 SMTP INBOUND: "250-8BITMIME" 2019-10-08 20:18:00 SMTP INBOUND: "250 SMTPUTF8" 2019-10-08 20:18:00 SERVER -> CLIENT: 250-CP2P15201CA0018.outlook.office365.com Hello [2804:14c:c0:83d8:899e:1d6c:a4ab:f228]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-STARTTLS250-8BITMIME250 SMTPUTF8 2019-10-08 20:18:00 CLIENT -> SERVER: STARTTLS 2019-10-08 20:18:00 SMTP INBOUND: "220 2.0.0 SMTP server ready" 2019-10-08 20:18:00 SERVER -> CLIENT: 220 2.0.0 SMTP server ready 2019-10-08 20:18:00 CLIENT -> SERVER: EHLO localhost 2019-10-08 20:18:00 SMTP INBOUND: "250-CP2P15201CA0018.outlook.office365.com Hello [2804:14c:c0:83d8:899e:1d6c:a4ab:f228]" 2019-10-08 20:18:00 SMTP INBOUND: "250-SIZE 157286400" 2019-10-08 20:18:00 SMTP INBOUND: "250-PIPELINING" 2019-10-08 20:18:00 SMTP INBOUND: "250-DSN" 2019-10-08 20:18:00 SMTP INBOUND: "250-ENHANCEDSTATUSCODES" 2019-10-08 20:18:00 SMTP INBOUND: "250-AUTH LOGIN XOAUTH2" 2019-10-08 20:18:00 SMTP INBOUND: "250-8BITMIME" 2019-10-08 20:18:00 SMTP INBOUND: "250 SMTPUTF8" 2019-10-08 20:18:00 SERVER -> CLIENT: 250-CP2P15201CA0018.outlook.office365.com Hello [2804:14c:c0:83d8:899e:1d6c:a4ab:f228]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-AUTH LOGIN XOAUTH2250-8BITMIME250 SMTPUTF8 2019-10-08 20:18:00 Auth method requested: UNSPECIFIED 2019-10-08 20:18:00 Auth methods available on the server: LOGIN,XOAUTH2 2019-10-08 20:18:00 Requested auth method not available: 2019-10-08 20:18:00 Auth method selected: LOGIN 2019-10-08 20:18:00 CLIENT -> SERVER: AUTH LOGIN 2019-10-08 20:18:00 SMTP INBOUND: "334 VXNlcm5hbWU6" 2019-10-08 20:18:00 SERVER -> CLIENT: 334 VXNlcm5hbWU6 2019-10-08 20:18:00 CLIENT -> SERVER: cGF1bG9fZGVfbGFjZXJkYUBob3RtYWlsLmNvbQ== 2019-10-08 20:18:00 SMTP INBOUND: "334 UGFzc3dvcmQ6" 2019-10-08 20:18:00 SERVER -> CLIENT: 334 UGFzc3dvcmQ6 2019-10-08 20:18:00 CLIENT -> SERVER: UEB1bG9QYWR1YTI0MDYg 2019-10-08 20:18:03 SMTP INBOUND: "235 2.7.0 Authentication successful" 2019-10-08 20:18:03 SERVER -> CLIENT: 235 2.7.0 Authentication successful 2019-10-08 20:18:03 CLIENT -> SERVER: MAIL FROM:<emailtambem@gmail.com> 2019-10-08 20:18:03 SMTP INBOUND: "250 2.1.0 Sender OK" 2019-10-08 20:18:03 SERVER -> CLIENT: 250 2.1.0 Sender OK 2019-10-08 20:18:03 CLIENT -> SERVER: RCPT TO:<emailtambem@gmail.com> 2019-10-08 20:18:03 SMTP INBOUND: "250 2.1.5 Recipient OK" 2019-10-08 20:18:03 SERVER -> CLIENT: 250 2.1.5 Recipient OK 2019-10-08 20:18:03 CLIENT -> SERVER: DATA 2019-10-08 20:18:03 SMTP INBOUND: "354 Start mail input; end with <CRLF>.<CRLF>" 2019-10-08 20:18:03 SERVER -> CLIENT: 354 Start mail input; end with <CRLF>.<CRLF> 2019-10-08 20:18:03 CLIENT -> SERVER: Date: Tue, 8 Oct 2019 20:18:00 +0000 2019-10-08 20:18:03 CLIENT -> SERVER: To: Nome esta correto <emailtambem@gmail.com> 2019-10-08 20:18:03 CLIENT -> SERVER: From: First Last <emailtambem@gmail.com> 2019-10-08 20:18:03 CLIENT -> SERVER: Reply-To: First Last <replyto@example.com> 2019-10-08 20:18:03 CLIENT -> SERVER: Subject: PHPMailer GMail SMTP test 2019-10-08 20:18:03 CLIENT -> SERVER: Message-ID: <aIAlUeaoBd7VG6a2DIVHBqZ6KXzxaPmnUxcn1jlcXYQ@localhost> 2019-10-08 20:18:03 CLIENT -> SERVER: X-Mailer: PHPMailer 6.1.1 (https://github.com/PHPMailer/PHPMailer) 2019-10-08 20:18:03 CLIENT -> SERVER: MIME-Version: 1.0 2019-10-08 20:18:03 CLIENT -> SERVER: Content-Type: multipart/alternative; 2019-10-08 20:18:03 CLIENT -> SERVER: boundary="b1_aIAlUeaoBd7VG6a2DIVHBqZ6KXzxaPmnUxcn1jlcXYQ" 2019-10-08 20:18:03 CLIENT -> SERVER: Content-Transfer-Encoding: 8bit 2019-10-08 20:18:03 CLIENT -> SERVER: 2019-10-08 20:18:03 CLIENT -> SERVER: This is a multi-part message in MIME format. 2019-10-08 20:18:03 CLIENT -> SERVER: --b1_aIAlUeaoBd7VG6a2DIVHBqZ6KXzxaPmnUxcn1jlcXYQ 2019-10-08 20:18:03 CLIENT -> SERVER: Content-Type: text/plain; charset=us-ascii 2019-10-08 20:18:03 CLIENT -> SERVER: 2019-10-08 20:18:03 CLIENT -> SERVER: This is a plain-text message body 2019-10-08 20:18:03 CLIENT -> SERVER: 2019-10-08 20:18:03 CLIENT -> SERVER: --b1_aIAlUeaoBd7VG6a2DIVHBqZ6KXzxaPmnUxcn1jlcXYQ 2019-10-08 20:18:03 CLIENT -> SERVER: Content-Type: text/html; charset=us-ascii 2019-10-08 20:18:03 CLIENT -> SERVER: 2019-10-08 20:18:03 CLIENT -> SERVER: <h1> Teste </h1> 2019-10-08 20:18:03 CLIENT -> SERVER: 2019-10-08 20:18:03 CLIENT -> SERVER: 2019-10-08 20:18:03 CLIENT -> SERVER: --b1_aIAlUeaoBd7VG6a2DIVHBqZ6KXzxaPmnUxcn1jlcXYQ-- 2019-10-08 20:18:03 CLIENT -> SERVER: 2019-10-08 20:18:03 CLIENT -> SERVER: . 2019-10-08 20:18:04 SMTP INBOUND: "554 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 0.35250:0A00D884, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:49020000, 1.36674:0E000000, 1.61250:00000000, 1.45378:4E020000, 1.44866:2E010000, 16.55847:E2030000, 17.43559:0000000004020000000000000000000000000000, 20.52176:140F17891500001043050000, 20.50032:140F17898617001000000000, 0.35180:0A000000, 255.23226:0000" 2019-10-08 20:18:04 SERVER -> CLIENT: 554 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 0.35250:0A00D884, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:49020000, 1.36674:0E000000, 1.61250:00000000, 1.45378:4E020000, 1.44866:2E010000, 16.55847:E2030000, 17.43559:0000000004020000000000000000000000000000, 20.52176:140F17891500001043050000, 20.50032:140F17898617001000000000, 0.35180:0A000000, 255.23226:0000 2019-10-08 20:18:04 SMTP ERROR: DATA END command failed: 554 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 0.35250:0A00D884, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:49020000, 1.36674:0E000000, 1.61250:00000000, 1.45378:4E020000, 1.44866:2E010000, 16.55847:E2030000, 17.43559:0000000004020000000000000000000000000000, 20.52176:140F17891500001043050000, 20.50032:140F17898617001000000000, 0.35180:0A000000, 255.23226:0000 SMTP Error: data not accepted. Mailer Error: SMTP Error: data not accepted.SMTP server error: DATA END command failed Detail: STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 0.35250:0A00D884, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:49020000, 1.36674:0E000000, 1.61250:00000000, 1.45378:4E020000, 1.44866:2E010000, 16.55847:E2030000, 17.43559:0000000004020000000000000000000000000000, 20.52176:140F17891500001043050000, 20.50032:140F17898617001000000000, 0.35180:0A000000, 255.23226:0000 SMTP code: 554 Additional SMTP info: 5.2.02019-10-08 20:18:04 CLIENT -> SERVER: QUIT 2019-10-08 20:18:04 SMTP INBOUND: "0000, 255.27962:0A000000, 255.27962:0E000000, 255.31418:0A000000, 0.35250:00000000, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:42000000, 1.36674:32000000, 1.61250:00000000, 1.45378:47000000, 1.44866:01000000, 16.55847:AE000000, 17.43559:0000000000030000000000000000000000000000, 20.52176:140F1789150070200A005C85, 20.50032:140F17898617F01F6B050000, 0.35180:0A000000, 255.23226:4800D13D, 255.27962:0A000000, 255.27962:32000000, 255.17082:DC040000, 0.27745:02000000, 4.21921:DC040000, 255.27962:FA" 2019-10-08 20:18:04 SMTP INBOUND: "000000, 255.1494:00000000, 0.38698:0F010480, 0.37692:01000000, 0.37948:13000100, 5.33852:00000000534D545000000100, 7.36354:010000000000010905000780, 4.56248:DC040000, 7.40748:010000000000010B05000780, 7.57132:000000000000000000000000, 1.63016:32000000, 4.39640:DC040000, 8.45434:FDBF0600AF84EF3B000000000000000013000100, 5.10786:0000000031352E32302E323332372E3030343A424C30505231324D42323438343A62366536333132362D623762352D346531622D613639632D34326465393539653533363500101013000100, 7.51330:4AF8789F2C4CD7081300010" 2019-10-08 20:18:04 SMTP INBOUND: "0, 255.1750:AC050000, 255.31418:0A00CF85, 0.22753:0A00F136, 255.21817:DC040000, 4.60547:DC040000, 0.21966:0A00F636, 4.30158:DC040000 [Hostname=BL0PR12MB2484.namprd12.prod.outlook.com]" 2019-10-08 20:18:04 SMTP INBOUND: "221 2.0.0 Service closing transmission channel" 2019-10-08 20:18:04 SERVER -> CLIENT: 0000, 255.27962:0A000000, 255.27962:0E000000, 255.31418:0A000000, 0.35250:00000000, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:42000000, 1.36674:32000000, 1.61250:00000000, 1.45378:47000000, 1.44866:01000000, 16.55847:AE000000, 17.43559:0000000000030000000000000000000000000000, 20.52176:140F1789150070200A005C85, 20.50032:140F17898617F01F6B050000, 0.35180:0A000000, 255.23226:4800D13D, 255.27962:0A000000, 255.27962:32000000, 255.17082:DC040000, 0.27745:02000000, 4.21921:DC040000, 255.27962:FA000000, 255.1494:00000000, 0.38698:0F010480, 0.37692:01000000, 0.37948:13000100, 5.33852:00000000534D545000000100, 7.36354:010000000000010905000780, 4.56248:DC040000, 7.40748:010000000000010B05000780, 7.57132:000000000000000000000000, 1.63016:32000000, 4.39640:DC040000, 8.45434:FDBF0600AF84EF3B000000000000000013000100, 5.10786:0000000031352E32302E323332372E3030343A424C30505231324D42323438343A62366536333132362D623762352D346531622D613639632D34326465393539653533363500101013000100, 7.51330:4AF8789F2C4CD70813000100, 255.1750:AC050000, 255.31418:0A00CF85, 0.22753:0A00F136, 255.21817:DC040000, 4.60547:DC040000, 0.21966:0A00F636, 4.30158:DC040000 [Hostname=BL0PR12MB2484.namprd12.prod.outlook.com]221 2.0.0 Service closing transmission channel 2019-10-08 20:18:04 SMTP ERROR: QUIT command failed: 0000, 255.27962:0A000000, 255.27962:0E000000, 255.31418:0A000000, 0.35250:00000000, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:42000000, 1.36674:32000000, 1.61250:00000000, 1.45378:47000000, 1.44866:01000000, 16.55847:AE000000, 17.43559:0000000000030000000000000000000000000000, 20.52176:140F1789150070200A005C85, 20.50032:140F17898617F01F6B050000, 0.35180:0A000000, 255.23226:4800D13D, 255.27962:0A000000, 255.27962:32000000, 255.17082:DC040000, 0.27745:02000000, 4.21921:DC040000, 255.27962:FA000000, 255.1494:00000000, 0.38698:0F010480, 0.37692:01000000, 0.37948:13000100, 5.33852:00000000534D545000000100, 7.36354:010000000000010905000780, 4.56248:DC040000, 7.40748:010000000000010B05000780, 7.57132:000000000000000000000000, 1.63016:32000000, 4.39640:DC040000, 8.45434:FDBF0600AF84EF3B000000000000000013000100, 5.10786:0000000031352E32302E323332372E3030343A424C30505231324D42323438343A62366536333132362D623762352D346531622D613639632D34326465393539653533363500101013000100, 7.51330:4AF8789F2C4CD70813000100, 255.1750:AC050000, 255.31418:0A00CF85, 0.22753:0A00F136, 255.21817:DC040000, 4.60547:DC040000, 0.21966:0A00F636, 4.30158:DC040000 [Hostname=BL0PR12MB2484.namprd12.prod.outlook.com]221 2.0.0 Service closing transmission channel 2019-10-08 20:18:04 Connection: closed A configuração do arquivo PHP <?php use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\Exception; require './PHPMailer/Exception.php'; require './PHPMailer/PHPMailer.php'; require './PHPMailer/SMTP.php'; /** * This example shows settings to use when sending via Google's Gmail servers. * This uses traditional id & password authentication - look at the gmail_xoauth.phps * example to see how to use XOAUTH2. * The IMAP section shows how to save this message to the 'Sent Mail' folder using IMAP commands. */ //Import PHPMailer classes into the global namespace //Create a new PHPMailer instance $mail = new PHPMailer; //Tell PHPMailer to use SMTP $mail->isSMTP(); //Enable SMTP debugging // SMTP::DEBUG_OFF = off (for production use) // SMTP::DEBUG_CLIENT = client messages // SMTP::DEBUG_SERVER = client and server messages $mail->SMTPDebug = 4; //Set the hostname of the mail server $mail->Host = 'smtp.live.com'; // use // $mail->Host = gethostbyname('smtp.gmail.com'); // if your network does not support SMTP over IPv6 //Set the SMTP port number - 587 for authenticated TLS, a.k.a. RFC4409 SMTP submission $mail->Port = 587; //Set the encryption mechanism to use - STARTTLS or SMTPS $mail->SMTPSecure = 'tsl'; //Whether to use SMTP authentication $mail->SMTPAuth = true; $mail->SMTPOptions = array( 'ssl' => array( 'verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true ) ); //Username to use for SMTP authentication - use full email address for gmail $mail->Username = " meu email "; meu email do hotmail //Password to use for SMTP authentication $mail->Password = "senha "; //aqui eu coloquei minha senha do hotmail //Set who the message is to be sent from $mail->setFrom('meuemail@gmail.com', 'First Last'); //Set an alternative reply-to address $mail->addReplyTo('replyto@example.com', 'First Last'); //Set who the message is to be sent to $mail->addAddress('meuemail@gmail.com', 'meunome'); //Set the subject line $mail->Subject = 'PHPMailer GMail SMTP test'; //Read an HTML message body from an external file, convert referenced images to embedded, //convert HTML into a basic plain-text alternative body $mail->msgHTML( "<h1> Teste </h1>"); //Replace the plain text body with one created manually $mail->AltBody = 'This is a plain-text message body'; //Attach an image file //$mail->addAttachment('images/phpmailer_mini.png'); //send the message, check for errors if (!$mail->send()) { echo "Mailer Error: " . $mail->ErrorInfo; } else { echo "Message sent!"; //Section 2: IMAP //Uncomment these to save your message in the 'Sent Mail' folder. #if (save_mail($mail)) { # echo "Message saved!"; #} } ?> Se algum colega puder me dar uma luz eu agradeço. Com Gmail funciona normalmente.
  2. paulo padua

    PHPMailer com conta hotmail

    Olá pessoal Estou precisando de uma ajuda. Utilizo o PHPMailer com Gmail e tudo ok. Mas preciso configurar ele para um conta Hotmail. Já verifiquei na Internet as configurações mas gera erra no envio. Utilizei o servidor SMTP.live.com e porta 587 e tls e até ssl e não gera o mesmo erro. Alguém poderia me informar como eu resolvo esse problema? 019-10-08 20:18:00 Connection: opening to smtp.live.com:587, timeout=300, options=array ( 'ssl' => array ( 'verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true, ),) 2019-10-08 20:18:00 Connection: opened 2019-10-08 20:18:00 SMTP INBOUND: "220 CP2P15201CA0018.outlook.office365.com Microsoft ESMTP MAIL Service ready at Tue, 8 Oct 2019 20:17:58 +0000" 2019-10-08 20:18:00 SERVER -> CLIENT: 220 CP2P15201CA0018.outlook.office365.com Microsoft ESMTP MAIL Service ready at Tue, 8 Oct 2019 20:17:58 +0000 2019-10-08 20:18:00 CLIENT -> SERVER: EHLO localhost 2019-10-08 20:18:00 SMTP INBOUND: "250-CP2P15201CA0018.outlook.office365.com Hello [2804:14c:c0:83d8:899e:1d6c:a4ab:f228]" 2019-10-08 20:18:00 SMTP INBOUND: "250-SIZE 157286400" 2019-10-08 20:18:00 SMTP INBOUND: "250-PIPELINING" 2019-10-08 20:18:00 SMTP INBOUND: "250-DSN" 2019-10-08 20:18:00 SMTP INBOUND: "250-ENHANCEDSTATUSCODES" 2019-10-08 20:18:00 SMTP INBOUND: "250-STARTTLS" 2019-10-08 20:18:00 SMTP INBOUND: "250-8BITMIME" 2019-10-08 20:18:00 SMTP INBOUND: "250 SMTPUTF8" 2019-10-08 20:18:00 SERVER -> CLIENT: 250-CP2P15201CA0018.outlook.office365.com Hello [2804:14c:c0:83d8:899e:1d6c:a4ab:f228]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-STARTTLS250-8BITMIME250 SMTPUTF8 2019-10-08 20:18:00 CLIENT -> SERVER: STARTTLS 2019-10-08 20:18:00 SMTP INBOUND: "220 2.0.0 SMTP server ready" 2019-10-08 20:18:00 SERVER -> CLIENT: 220 2.0.0 SMTP server ready 2019-10-08 20:18:00 CLIENT -> SERVER: EHLO localhost 2019-10-08 20:18:00 SMTP INBOUND: "250-CP2P15201CA0018.outlook.office365.com Hello [2804:14c:c0:83d8:899e:1d6c:a4ab:f228]" 2019-10-08 20:18:00 SMTP INBOUND: "250-SIZE 157286400" 2019-10-08 20:18:00 SMTP INBOUND: "250-PIPELINING" 2019-10-08 20:18:00 SMTP INBOUND: "250-DSN" 2019-10-08 20:18:00 SMTP INBOUND: "250-ENHANCEDSTATUSCODES" 2019-10-08 20:18:00 SMTP INBOUND: "250-AUTH LOGIN XOAUTH2" 2019-10-08 20:18:00 SMTP INBOUND: "250-8BITMIME" 2019-10-08 20:18:00 SMTP INBOUND: "250 SMTPUTF8" 2019-10-08 20:18:00 SERVER -> CLIENT: 250-CP2P15201CA0018.outlook.office365.com Hello [2804:14c:c0:83d8:899e:1d6c:a4ab:f228]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-AUTH LOGIN XOAUTH2250-8BITMIME250 SMTPUTF8 2019-10-08 20:18:00 Auth method requested: UNSPECIFIED 2019-10-08 20:18:00 Auth methods available on the server: LOGIN,XOAUTH2 2019-10-08 20:18:00 Requested auth method not available: 2019-10-08 20:18:00 Auth method selected: LOGIN 2019-10-08 20:18:00 CLIENT -> SERVER: AUTH LOGIN 2019-10-08 20:18:00 SMTP INBOUND: "334 VXNlcm5hbWU6" 2019-10-08 20:18:00 SERVER -> CLIENT: 334 VXNlcm5hbWU6 2019-10-08 20:18:00 CLIENT -> SERVER: cGF1bG9fZGVfbGFjZXJkYUBob3RtYWlsLmNvbQ== 2019-10-08 20:18:00 SMTP INBOUND: "334 UGFzc3dvcmQ6" 2019-10-08 20:18:00 SERVER -> CLIENT: 334 UGFzc3dvcmQ6 2019-10-08 20:18:00 CLIENT -> SERVER: UEB1bG9QYWR1YTI0MDYg 2019-10-08 20:18:03 SMTP INBOUND: "235 2.7.0 Authentication successful" 2019-10-08 20:18:03 SERVER -> CLIENT: 235 2.7.0 Authentication successful 2019-10-08 20:18:03 CLIENT -> SERVER: MAIL FROM:<emailtambem@gmail.com> 2019-10-08 20:18:03 SMTP INBOUND: "250 2.1.0 Sender OK" 2019-10-08 20:18:03 SERVER -> CLIENT: 250 2.1.0 Sender OK 2019-10-08 20:18:03 CLIENT -> SERVER: RCPT TO:<emailtambem@gmail.com> 2019-10-08 20:18:03 SMTP INBOUND: "250 2.1.5 Recipient OK" 2019-10-08 20:18:03 SERVER -> CLIENT: 250 2.1.5 Recipient OK 2019-10-08 20:18:03 CLIENT -> SERVER: DATA 2019-10-08 20:18:03 SMTP INBOUND: "354 Start mail input; end with <CRLF>.<CRLF>" 2019-10-08 20:18:03 SERVER -> CLIENT: 354 Start mail input; end with <CRLF>.<CRLF> 2019-10-08 20:18:03 CLIENT -> SERVER: Date: Tue, 8 Oct 2019 20:18:00 +0000 2019-10-08 20:18:03 CLIENT -> SERVER: To: Nome esta correto <emailtambem@gmail.com> 2019-10-08 20:18:03 CLIENT -> SERVER: From: First Last <emailtambem@gmail.com> 2019-10-08 20:18:03 CLIENT -> SERVER: Reply-To: First Last <replyto@example.com> 2019-10-08 20:18:03 CLIENT -> SERVER: Subject: PHPMailer GMail SMTP test 2019-10-08 20:18:03 CLIENT -> SERVER: Message-ID: <aIAlUeaoBd7VG6a2DIVHBqZ6KXzxaPmnUxcn1jlcXYQ@localhost> 2019-10-08 20:18:03 CLIENT -> SERVER: X-Mailer: PHPMailer 6.1.1 (https://github.com/PHPMailer/PHPMailer) 2019-10-08 20:18:03 CLIENT -> SERVER: MIME-Version: 1.0 2019-10-08 20:18:03 CLIENT -> SERVER: Content-Type: multipart/alternative; 2019-10-08 20:18:03 CLIENT -> SERVER: boundary="b1_aIAlUeaoBd7VG6a2DIVHBqZ6KXzxaPmnUxcn1jlcXYQ" 2019-10-08 20:18:03 CLIENT -> SERVER: Content-Transfer-Encoding: 8bit 2019-10-08 20:18:03 CLIENT -> SERVER: 2019-10-08 20:18:03 CLIENT -> SERVER: This is a multi-part message in MIME format. 2019-10-08 20:18:03 CLIENT -> SERVER: --b1_aIAlUeaoBd7VG6a2DIVHBqZ6KXzxaPmnUxcn1jlcXYQ 2019-10-08 20:18:03 CLIENT -> SERVER: Content-Type: text/plain; charset=us-ascii 2019-10-08 20:18:03 CLIENT -> SERVER: 2019-10-08 20:18:03 CLIENT -> SERVER: This is a plain-text message body 2019-10-08 20:18:03 CLIENT -> SERVER: 2019-10-08 20:18:03 CLIENT -> SERVER: --b1_aIAlUeaoBd7VG6a2DIVHBqZ6KXzxaPmnUxcn1jlcXYQ 2019-10-08 20:18:03 CLIENT -> SERVER: Content-Type: text/html; charset=us-ascii 2019-10-08 20:18:03 CLIENT -> SERVER: 2019-10-08 20:18:03 CLIENT -> SERVER: <h1> Teste </h1> 2019-10-08 20:18:03 CLIENT -> SERVER: 2019-10-08 20:18:03 CLIENT -> SERVER: 2019-10-08 20:18:03 CLIENT -> SERVER: --b1_aIAlUeaoBd7VG6a2DIVHBqZ6KXzxaPmnUxcn1jlcXYQ-- 2019-10-08 20:18:03 CLIENT -> SERVER: 2019-10-08 20:18:03 CLIENT -> SERVER: . 2019-10-08 20:18:04 SMTP INBOUND: "554 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 0.35250:0A00D884, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:49020000, 1.36674:0E000000, 1.61250:00000000, 1.45378:4E020000, 1.44866:2E010000, 16.55847:E2030000, 17.43559:0000000004020000000000000000000000000000, 20.52176:140F17891500001043050000, 20.50032:140F17898617001000000000, 0.35180:0A000000, 255.23226:0000" 2019-10-08 20:18:04 SERVER -> CLIENT: 554 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 0.35250:0A00D884, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:49020000, 1.36674:0E000000, 1.61250:00000000, 1.45378:4E020000, 1.44866:2E010000, 16.55847:E2030000, 17.43559:0000000004020000000000000000000000000000, 20.52176:140F17891500001043050000, 20.50032:140F17898617001000000000, 0.35180:0A000000, 255.23226:0000 2019-10-08 20:18:04 SMTP ERROR: DATA END command failed: 554 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 0.35250:0A00D884, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:49020000, 1.36674:0E000000, 1.61250:00000000, 1.45378:4E020000, 1.44866:2E010000, 16.55847:E2030000, 17.43559:0000000004020000000000000000000000000000, 20.52176:140F17891500001043050000, 20.50032:140F17898617001000000000, 0.35180:0A000000, 255.23226:0000 SMTP Error: data not accepted. Mailer Error: SMTP Error: data not accepted.SMTP server error: DATA END command failed Detail: STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 0.35250:0A00D884, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:49020000, 1.36674:0E000000, 1.61250:00000000, 1.45378:4E020000, 1.44866:2E010000, 16.55847:E2030000, 17.43559:0000000004020000000000000000000000000000, 20.52176:140F17891500001043050000, 20.50032:140F17898617001000000000, 0.35180:0A000000, 255.23226:0000 SMTP code: 554 Additional SMTP info: 5.2.02019-10-08 20:18:04 CLIENT -> SERVER: QUIT 2019-10-08 20:18:04 SMTP INBOUND: "0000, 255.27962:0A000000, 255.27962:0E000000, 255.31418:0A000000, 0.35250:00000000, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:42000000, 1.36674:32000000, 1.61250:00000000, 1.45378:47000000, 1.44866:01000000, 16.55847:AE000000, 17.43559:0000000000030000000000000000000000000000, 20.52176:140F1789150070200A005C85, 20.50032:140F17898617F01F6B050000, 0.35180:0A000000, 255.23226:4800D13D, 255.27962:0A000000, 255.27962:32000000, 255.17082:DC040000, 0.27745:02000000, 4.21921:DC040000, 255.27962:FA" 2019-10-08 20:18:04 SMTP INBOUND: "000000, 255.1494:00000000, 0.38698:0F010480, 0.37692:01000000, 0.37948:13000100, 5.33852:00000000534D545000000100, 7.36354:010000000000010905000780, 4.56248:DC040000, 7.40748:010000000000010B05000780, 7.57132:000000000000000000000000, 1.63016:32000000, 4.39640:DC040000, 8.45434:FDBF0600AF84EF3B000000000000000013000100, 5.10786:0000000031352E32302E323332372E3030343A424C30505231324D42323438343A62366536333132362D623762352D346531622D613639632D34326465393539653533363500101013000100, 7.51330:4AF8789F2C4CD7081300010" 2019-10-08 20:18:04 SMTP INBOUND: "0, 255.1750:AC050000, 255.31418:0A00CF85, 0.22753:0A00F136, 255.21817:DC040000, 4.60547:DC040000, 0.21966:0A00F636, 4.30158:DC040000 [Hostname=BL0PR12MB2484.namprd12.prod.outlook.com]" 2019-10-08 20:18:04 SMTP INBOUND: "221 2.0.0 Service closing transmission channel" 2019-10-08 20:18:04 SERVER -> CLIENT: 0000, 255.27962:0A000000, 255.27962:0E000000, 255.31418:0A000000, 0.35250:00000000, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:42000000, 1.36674:32000000, 1.61250:00000000, 1.45378:47000000, 1.44866:01000000, 16.55847:AE000000, 17.43559:0000000000030000000000000000000000000000, 20.52176:140F1789150070200A005C85, 20.50032:140F17898617F01F6B050000, 0.35180:0A000000, 255.23226:4800D13D, 255.27962:0A000000, 255.27962:32000000, 255.17082:DC040000, 0.27745:02000000, 4.21921:DC040000, 255.27962:FA000000, 255.1494:00000000, 0.38698:0F010480, 0.37692:01000000, 0.37948:13000100, 5.33852:00000000534D545000000100, 7.36354:010000000000010905000780, 4.56248:DC040000, 7.40748:010000000000010B05000780, 7.57132:000000000000000000000000, 1.63016:32000000, 4.39640:DC040000, 8.45434:FDBF0600AF84EF3B000000000000000013000100, 5.10786:0000000031352E32302E323332372E3030343A424C30505231324D42323438343A62366536333132362D623762352D346531622D613639632D34326465393539653533363500101013000100, 7.51330:4AF8789F2C4CD70813000100, 255.1750:AC050000, 255.31418:0A00CF85, 0.22753:0A00F136, 255.21817:DC040000, 4.60547:DC040000, 0.21966:0A00F636, 4.30158:DC040000 [Hostname=BL0PR12MB2484.namprd12.prod.outlook.com]221 2.0.0 Service closing transmission channel 2019-10-08 20:18:04 SMTP ERROR: QUIT command failed: 0000, 255.27962:0A000000, 255.27962:0E000000, 255.31418:0A000000, 0.35250:00000000, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:42000000, 1.36674:32000000, 1.61250:00000000, 1.45378:47000000, 1.44866:01000000, 16.55847:AE000000, 17.43559:0000000000030000000000000000000000000000, 20.52176:140F1789150070200A005C85, 20.50032:140F17898617F01F6B050000, 0.35180:0A000000, 255.23226:4800D13D, 255.27962:0A000000, 255.27962:32000000, 255.17082:DC040000, 0.27745:02000000, 4.21921:DC040000, 255.27962:FA000000, 255.1494:00000000, 0.38698:0F010480, 0.37692:01000000, 0.37948:13000100, 5.33852:00000000534D545000000100, 7.36354:010000000000010905000780, 4.56248:DC040000, 7.40748:010000000000010B05000780, 7.57132:000000000000000000000000, 1.63016:32000000, 4.39640:DC040000, 8.45434:FDBF0600AF84EF3B000000000000000013000100, 5.10786:0000000031352E32302E323332372E3030343A424C30505231324D42323438343A62366536333132362D623762352D346531622D613639632D34326465393539653533363500101013000100, 7.51330:4AF8789F2C4CD70813000100, 255.1750:AC050000, 255.31418:0A00CF85, 0.22753:0A00F136, 255.21817:DC040000, 4.60547:DC040000, 0.21966:0A00F636, 4.30158:DC040000 [Hostname=BL0PR12MB2484.namprd12.prod.outlook.com]221 2.0.0 Service closing transmission channel 2019-10-08 20:18:04 Connection: closed A configuração do arquivo PHP <?php use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\Exception; require './PHPMailer/Exception.php'; require './PHPMailer/PHPMailer.php'; require './PHPMailer/SMTP.php'; /** * This example shows settings to use when sending via Google's Gmail servers. * This uses traditional id & password authentication - look at the gmail_xoauth.phps * example to see how to use XOAUTH2. * The IMAP section shows how to save this message to the 'Sent Mail' folder using IMAP commands. */ //Import PHPMailer classes into the global namespace //Create a new PHPMailer instance $mail = new PHPMailer; //Tell PHPMailer to use SMTP $mail->isSMTP(); //Enable SMTP debugging // SMTP::DEBUG_OFF = off (for production use) // SMTP::DEBUG_CLIENT = client messages // SMTP::DEBUG_SERVER = client and server messages $mail->SMTPDebug = 4; //Set the hostname of the mail server $mail->Host = 'smtp.live.com'; // use // $mail->Host = gethostbyname('smtp.gmail.com'); // if your network does not support SMTP over IPv6 //Set the SMTP port number - 587 for authenticated TLS, a.k.a. RFC4409 SMTP submission $mail->Port = 587; //Set the encryption mechanism to use - STARTTLS or SMTPS $mail->SMTPSecure = 'tsl'; //Whether to use SMTP authentication $mail->SMTPAuth = true; $mail->SMTPOptions = array( 'ssl' => array( 'verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true ) ); //Username to use for SMTP authentication - use full email address for gmail $mail->Username = " meu email "; meu email do hotmail //Password to use for SMTP authentication $mail->Password = "senha "; //aqui eu coloquei minha senha do hotmail //Set who the message is to be sent from $mail->setFrom('meuemail@gmail.com', 'First Last'); //Set an alternative reply-to address $mail->addReplyTo('replyto@example.com', 'First Last'); //Set who the message is to be sent to $mail->addAddress('meuemail@gmail.com', 'meunome'); //Set the subject line $mail->Subject = 'PHPMailer GMail SMTP test'; //Read an HTML message body from an external file, convert referenced images to embedded, //convert HTML into a basic plain-text alternative body $mail->msgHTML( "<h1> Teste </h1>"); //Replace the plain text body with one created manually $mail->AltBody = 'This is a plain-text message body'; //Attach an image file //$mail->addAttachment('images/phpmailer_mini.png'); //send the message, check for errors if (!$mail->send()) { echo "Mailer Error: " . $mail->ErrorInfo; } else { echo "Message sent!"; //Section 2: IMAP //Uncomment these to save your message in the 'Sent Mail' folder. #if (save_mail($mail)) { # echo "Message saved!"; #} } ?> Se algum colega puder me dar uma luz eu agradeço. Com Gmail funciona normalmente.
  3. Como eu faço um PHPMailer com hotmail? Eu não hospedei o meu servidor, uso local e queria enviar email automático usando o hotmail
  4. GleissonHard

    Hotmail no Outlook

    E-mail do hotmail não descarrega do Outlook. As pastas e contatos não são carregados.
  5. Pessoal Por favor, preciso muito de uma ajuda pois estou com 3 formulários com o mesmo erro. Todos os três esta funcionando corretamente o que eu preciso, mas o fato que ao enviar para contas do HOTMAIL não chega. ja vi que existe uma solução via phpmailer mas não sei como implementar já no código existente se alguém pude me ajudar. <?php $data = $_POST["data"]; $data = date("d/m/Y"). "\n"; $hora = date("H:i"). "\n"; $Paraquem = $_POST["Paraquem"]; $quem = $_POST["quem"]; $loja = $_POST["loja"]; $perccreme = $_POST["perccreme"]; $percescova = $_POST["percescova"]; $percenxaguante = $_POST["percenxaguante"]; $percbarra = $_POST["percbarra"]; $percshcond = $_POST["percshcond"]; $email_from = $_POST["email_from"]; global $email; //função para validar a variável $email no script todo //aqui envia o e-mail para você mail ($Paraquem, "Percentual Loja - $loja", " Segue Percentual da loja. Promotor: $quem Cliente: $loja Creme Dental: $perccreme Escova: $percescova Enxaguante: $percenxaguante Sabonte Barra: $percbarra Shampoo e Condicionador: $percshcond", "From: $quem" ); $arquivo = isset($_FILES["arquivo"]) ? $_FILES["arquivo"] : FALSE; if(file_exists($arquivo["tmp_name"]) and !empty($arquivo)){ $fp = fopen($_FILES["arquivo"]["tmp_name"],"rb"); $anexo = fread($fp,filesize($_FILES["arquivo"]["tmp_name"])); $anexo = base64_encode($anexo); fclose($fp); $anexo = chunk_split($anexo); } //aqui são as configurações para enviar o e-mail para o visitante //$site = "contato@seusite.com.br"; //o e-mail que aparecerá na caixa postal do visitante //$titulo = "titulo"; //titulo da mensagem enviada para o visitante //$msg = "Olá - $nome, Obrigado por entrar em contato conosco, em breve estaremos retornando resposta a sua questão. //Esta é uma mensagem automática. Não é necessário responder. Obrigado."; //aqui envia o e-mail de auto-resposta para o visitante //mail("$email", //"$titulo", //"$msg", //"From: $site" //); header("Location: http://www.site.com.br/percentual/enviado.html"); ?> phpmailer <?php // recebe as Variaveis $nome = $_POST["nome"]; $email = $_POST["email"]; $mensagem = $_POST["mensagem"]; // Inclui o arquivo class.phpmailer.php localizado na pasta phpmailer include("class.phpmailer.php"); // Inicia a classe PHPMailer $mail = new PHPMailer(); // Define os dados do servidor e tipo de conexão $mail->IsSMTP(); $mail->Host = "smtps.uol.com.br"; // Endereço do servidor SMTP $mail->SMTPAuth = true; // Usa autenticação SMTP? (opcional) $mail->Username = '3dmaster@uol.com.br'; // Usuário do servidor SMTP $mail->Password = '****'; // Senha do servidor SMTP // Define o remetente. $mail->From = "3dmaster@uol.com.br"; // Seu e-mail $mail->FromName = "Administrador"; // Seu nome // Define os destinatário(s) $mail->AddAddress($email, $nome); $mail->AddCC('3dmaster@uol.com.br', 'Eu'); // Copia //$mail->AddBCC('fulano@dominio.com.br', 'Fulano da Silva'); // Cópia Oculta // Define os dados técnicos da Mensagem $mail->IsHTML(true); // Define que o e-mail será enviado como HTML // Define a mensagem (Texto e Assunto) $mail->Subject = "Mensagem do site"; // Assunto da mensagem $mail->Body = $mensagem; // Envia o e-mail $enviado = $mail->Send(); // Exibe uma mensagem de resultado if ($enviado) { echo "E-mail enviado com sucesso!"; } else { echo "Não foi possível enviar o e-mail !"; } ?>
×

Important Information

Ao usar o fórum, você concorda com nossos Terms of Use.