Welcome Guest, Not a member yet? Register   Sign In
Sending email from gmail
#3

Debugger says this.

Code:
220 smtp.gmail.com ESMTP y24sm14013191pge.72 - gsmtp
hello: 250-smtp.gmail.com at your service, [115.69.242.169]
250-SIZE 35882577
250-8BITMIME
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-CHUNKING
250 SMTPUTF8
starttls: 220 2.0.0 Ready to start TLS
hello: 250-smtp.gmail.com at your service, [115.69.242.169]
250-SIZE 35882577
250-8BITMIME
250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-CHUNKING
250 SMTPUTF8
from: 250 2.1.0 OK y24sm14013191pge.72 - gsmtp
to: 250 2.1.5 OK y24sm14013191pge.72 - gsmtp
data: 354  Go ahead y24sm14013191pge.72 - gsmtp

quit:
The following SMTP error was encountered:
The following SMTP error was encountered:
Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.
Date: Sun, 16 Feb 2020 12:15:12 +0100
From: <[email protected]>
Return-Path: <[email protected]>
To: [email protected]
Subject: =?UTF-8?Q?Test?=
Reply-To: <[email protected]>
User-Agent: CodeIgniter
X-Sender: [email protected]
X-Mailer: CodeIgniter
X-Priority: 3 (Normal)
Message-ID: <[email protected]>
Mime-Version: 1.0


Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Hello


My php.ini is like this

Code:
[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP=smtp.gmail.com
; http://php.net/smtp-port
smtp_port=587

; For Win32 only.
; http://php.net/sendmail-from
sendmail_from = [email protected]

; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
; http://php.net/sendmail-path
;sendmail_path =
Reply


Messages In This Thread
Sending email from gmail - by hmvartak - 02-16-2020, 03:03 AM
RE: Sending email from gmail - by jreklund - 02-16-2020, 03:34 AM
RE: Sending email from gmail - by hmvartak - 02-16-2020, 04:28 AM
RE: Sending email from gmail - by InsiteFX - 02-16-2020, 04:37 AM
RE: Sending email from gmail - by hmvartak - 02-16-2020, 06:29 AM
RE: Sending email from gmail - by Corsari - 04-04-2021, 12:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB