Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //$this->Host = "server hostname"; //THis WORKS
- //$this->Host = "account domain"; // this WORKS
- $this->Host = "localhost"; // this FAILS
- $this->SMTPAuth = true; // Only works on non-localhost Host.
- //$this->Port = 25; //default.
- $this->Username = 'email_Address@accountdomain.com';
- $this->Password = '...!...';
- 2016-11-24 14:40:52 Connection: opening to localhost:25, timeout=20, options=array (
- )
- 2016-11-24 14:40:52 Connection: opened
- 2016-11-24 14:40:52 SMTP -> get_lines(): $data is ""
- 2016-11-24 14:40:52 SMTP -> get_lines(): $str is "220-serverdomain.com ESMTP Exim 4.87 #1 Thu, 24 Nov 2016 14:40:52 +0000
- "
- 2016-11-24 14:40:52 SMTP -> get_lines(): $data is "220-serverdomain.com ESMTP Exim 4.87 #1 Thu, 24 Nov 2016 14:40:52 +0000
- "
- 2016-11-24 14:40:52 SMTP -> get_lines(): $str is "220- We do not authorize the use of this system to transport unsolicited,
- "
- 2016-11-24 14:40:52 SMTP -> get_lines(): $data is "220-serverdomain.com ESMTP Exim 4.87 #1 Thu, 24 Nov 2016 14:40:52 +0000
- 220- We do not authorize the use of this system to transport unsolicited,
- "
- 2016-11-24 14:40:52 SMTP -> get_lines(): $str is "220 and/or bulk e-mail.
- "
- 2016-11-24 14:40:52 SERVER -> CLIENT: 220-serverdomain.com ESMTP Exim 4.87 #1 Thu, 24 Nov 2016 14:40:52 +0000
- 220- We do not authorize the use of this system to transport unsolicited,
- 220 and/or bulk e-mail.
- 2016-11-24 14:40:52 CLIENT -> SERVER: EHLO www.accountdomain.co.uk
- 2016-11-24 14:40:52 SMTP -> get_lines(): $data is ""
- 2016-11-24 14:40:52 SMTP -> get_lines(): $str is "250-serverdomain.com Hello www.accountdomain.co.uk [::1]
- "
- 2016-11-24 14:40:52 SMTP -> get_lines(): $data is "250-serverdomain.com Hello www.accountdomain.co.uk [::1]
- "
- 2016-11-24 14:40:52 SMTP -> get_lines(): $str is "250-SIZE 52428800
- "
- 2016-11-24 14:40:52 SMTP -> get_lines(): $data is "250-serverdomain.com Hello www.accountdomain.co.uk [::1]
- 250-SIZE 52428800
- "
- 2016-11-24 14:40:52 SMTP -> get_lines(): $str is "250-8BITMIME
- "
- 2016-11-24 14:40:52 SMTP -> get_lines(): $data is "250-serverdomain.com Hello www.accountdomain.co.uk [::1]
- 250-SIZE 52428800
- 250-8BITMIME
- "
- 2016-11-24 14:40:52 SMTP -> get_lines(): $str is "250-PIPELINING
- "
- 2016-11-24 14:40:52 SMTP -> get_lines(): $data is "250-serverdomain.com Hello www.accountdomain.co.uk [::1]
- 250-SIZE 52428800
- 250-8BITMIME
- 250-PIPELINING
- "
- 2016-11-24 14:40:52 SMTP -> get_lines(): $str is "250-AUTH PLAIN LOGIN
- "
- 2016-11-24 14:40:52 SMTP -> get_lines(): $data is "250-serverdomain.com Hello www.accountdomain.co.uk [::1]
- 250-SIZE 52428800
- 250-8BITMIME
- 250-PIPELINING
- 250-AUTH PLAIN LOGIN
- "
- 2016-11-24 14:40:52 SMTP -> get_lines(): $str is "250-STARTTLS
- "
- 2016-11-24 14:40:52 SMTP -> get_lines(): $data is "250-serverdomain.com Hello www.accountdomain.co.uk [::1]
- 250-SIZE 52428800
- 250-8BITMIME
- 250-PIPELINING
- 250-AUTH PLAIN LOGIN
- 250-STARTTLS
- "
- 2016-11-24 14:40:52 SMTP -> get_lines(): $str is "250 HELP
- "
- 2016-11-24 14:40:52 SERVER -> CLIENT: 250-serverdomain.com Hello www.accountdomain.co.uk [::1]
- 250-SIZE 52428800
- 250-8BITMIME
- 250-PIPELINING
- 250-AUTH PLAIN LOGIN
- 250-STARTTLS
- 250 HELP
- 2016-11-24 14:40:52 CLIENT -> SERVER: STARTTLS
- 2016-11-24 14:40:52 SMTP -> get_lines(): $data is ""
- 2016-11-24 14:40:52 SMTP -> get_lines(): $str is "220 TLS go ahead
- "
- 2016-11-24 14:40:52 SERVER -> CLIENT: 220 TLS go ahead
- 2016-11-24 14:40:52 SMTP Error: Could not connect to SMTP host.
- 2016-11-24 14:40:52 CLIENT -> SERVER: QUIT
- 2016-11-24 14:40:52 SMTP -> get_lines(): $data is ""
- 2016-11-24 14:40:52 SMTP -> get_lines(): $str is "221 serverdomain.com closing connection
- "
- 2016-11-24 14:40:52 SERVER -> CLIENT: 221 serverdomain.com closing connection
- 2016-11-24 14:40:52 Connection: closed
- 2016-11-24 14:40:52 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement