Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $config = array(
- 'protocol'=>'smtp',
- 'smtp_host'=>'ssl://smtp.gmail.com',
- 'smtp_port'=>465,
- 'smtp_user'=>'username@gmail.com',
- 'smtp_pass'=>'password',
- 'mailtype'=>'text',
- 'charset'=>'iso-8859-1',
- 'smtp_timeout'=>'30',
- 'crlf'=>'rn',
- 'newline'=>'rn',
- 'wordwrap'=>TRUE
- );
- $this->load->library('email',$config);
- 220 smtp.gmail.com ESMTP b36sm5736977edd.67 - gsmtp
- hello: 250-smtp.gmail.com at your service, [86.180.98.185]
- 250-SIZE 35882577
- 250-8BITMIME
- 250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
- 250-ENHANCEDSTATUSCODES
- 250-PIPELINING
- 250-CHUNKING
- 250 SMTPUTF8
- Failed to authenticate password. Error: 535-5.7.8 Username and Password not accepted. Learn more at 535 5.7.8 https://support.google.com/mail/?p=BadCredentials b36sm5736977edd.67 - gsmtp
- Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.
- User-Agent: CodeIgniter
- Date: Thu, 9 Nov 2017 10:22:00 +0000
- From: "Mike Heath" <msheath@btinternet.com>
- Return-Path: <msheath@btinternet.com>
- To: mike24heath@gmail.com
- Subject: =?ISO-8859-1?Q?=43=6F=6E=74=61=63=74=20=4D=65=73=73=61=67=65?=
- Reply-To: <msheath@btinternet.com>
- X-Sender: msheath@btinternet.com
- X-Mailer: CodeIgniter
- X-Priority: 3 (Normal)
- Message-ID: <5a042c4818341@btinternet.com>
- Mime-Version: 1.0
- Content-Type: text/plain; charset=ISO-8859-1
- Content-Transfer-Encoding: 8bit
Add Comment
Please, Sign In to add comment