Account confirmation email not going.

Account confirmation email not going.

by Alaukik Kotecha -
Number of replies: 0

Dear All,


I'm facing some problem. I have installed moodle and integrated it first with AWS SES for email.

then i tried with send grid. in both the cases email were working for internal messaging notifications 


But email in both cases did not work for account confirmation for email based self signup..


Please help me..


what must be going wrong..



with sendgrid integration :

2019-11-14 13:46:14	Connection: opening to smtp.sendgrid.net:25, timeout=300, options=array()
2019-11-14 13:46:14	Connection: opened
2019-11-14 13:46:14	SERVER -> CLIENT: 220 SG ESMTP service ready at ismtpd0008p1hnd1.sendgrid.net
2019-11-14 13:46:14	CLIENT -> SERVER: EHLO silicaprep.com
2019-11-14 13:46:15	SERVER -> CLIENT: 250-smtp.sendgrid.net
                   	                  250-8BITMIME
                   	                  250-PIPELINING
                   	                  250-SIZE 31457280
                   	                  250-STARTTLS
                   	                  250-AUTH PLAIN LOGIN
                   	                  250 AUTH=PLAIN LOGIN
2019-11-14 13:46:15	CLIENT -> SERVER: STARTTLS
2019-11-14 13:46:15	SERVER -> CLIENT: 220 Begin TLS negotiation now
2019-11-14 13:46:15	CLIENT -> SERVER: EHLO silicaprep.com
2019-11-14 13:46:15	SERVER -> CLIENT: 250-smtp.sendgrid.net
                   	                  250-8BITMIME
                   	                  250-PIPELINING
                   	                  250-SIZE 31457280
                   	                  250-STARTTLS
                   	                  250-AUTH PLAIN LOGIN
                   	                  250 AUTH=PLAIN LOGIN
2019-11-14 13:46:15	CLIENT -> SERVER: AUTH LOGIN
2019-11-14 13:46:15	SERVER -> CLIENT: 334 VXNlcm5hbWU6
2019-11-14 13:46:15	CLIENT -> SERVER: YXBpa2V5
2019-11-14 13:46:15	SERVER -> CLIENT: 334 UGFzc3dvcmQ6
2019-11-14 13:46:15	CLIENT -> SERVER: U0cuZVpZWEJnYl9UVUNTRHEwWUNuS0VYZy52TVlYVEkxMDl1bFRJZmdwQk55ZDB5Z1Ayb21tYXQ5T3FPNUlsV1Y3bjQw
2019-11-14 13:46:15	SERVER -> CLIENT: 235 Authentication successful
2019-11-14 13:46:15	CLIENT -> SERVER: MAIL FROM:
2019-11-14 13:46:16	SERVER -> CLIENT: 250 Sender address accepted
2019-11-14 13:46:16	CLIENT -> SERVER: RCPT TO:
2019-11-14 13:46:16	SERVER -> CLIENT: 250 Recipient address accepted
2019-11-14 13:46:16	CLIENT -> SERVER: DATA
2019-11-14 13:46:16	SERVER -> CLIENT: 354 Continue
2019-11-14 13:46:16	CLIENT -> SERVER: Date: Thu, 14 Nov 2019 19:16:14 +0530
2019-11-14 13:46:16	CLIENT -> SERVER: To: "alok alok" 
2019-11-14 13:46:16	CLIENT -> SERVER: From: "Admin User" 
2019-11-14 13:46:16	CLIENT -> SERVER: Reply-To: "Do not reply to this email" 
2019-11-14 13:46:16	CLIENT -> SERVER: Subject: SILICAPREP: account confirmation
2019-11-14 13:46:16	CLIENT -> SERVER: Message-ID: <5dcd5aa697d2d8.98615870@silicaprep.com>
2019-11-14 13:46:16	CLIENT -> SERVER: X-Mailer: PHPMailer 6.0.1 (https://github.com/PHPMailer/PHPMailer)
2019-11-14 13:46:16	CLIENT -> SERVER: X-Moodle-Originating-Script: http://silicaprep.com => ip-172-31-22-64:lib/moodlelib.php:6396
2019-11-14 13:46:16	CLIENT -> SERVER: MIME-Version: 1.0
2019-11-14 13:46:16	CLIENT -> SERVER: Content-Type: multipart/alternative;
2019-11-14 13:46:16	CLIENT -> SERVER: 	boundary="b1_Qd5aywSmW17z1HGNfQrVql2nAE12ZR9CCToVf2n8"
2019-11-14 13:46:16	CLIENT -> SERVER:
2019-11-14 13:46:16	CLIENT -> SERVER: This is a multi-part message in MIME format.
2019-11-14 13:46:16	CLIENT -> SERVER: --b1_Qd5aywSmW17z1HGNfQrVql2nAE12ZR9CCToVf2n8
2019-11-14 13:46:16	CLIENT -> SERVER: Content-Type: text/plain; charset=UTF-8
2019-11-14 13:46:16	CLIENT -> SERVER: Content-Transfer-Encoding: quoted-printable
2019-11-14 13:46:16	CLIENT -> SERVER:
2019-11-14 13:46:16	CLIENT -> SERVER:
2019-11-14 13:46:16	CLIENT -> SERVER: Hi alok alok,
2019-11-14 13:46:16	CLIENT -> SERVER:
2019-11-14 13:46:16	CLIENT -> SERVER: A new account has been requested at 'SILICAPREP'
2019-11-14 13:46:16	CLIENT -> SERVER: using your email address.
2019-11-14 13:46:16	CLIENT -> SERVER:
2019-11-14 13:46:16	CLIENT -> SERVER: To confirm your new account, please go to this web address:
2019-11-14 13:46:16	CLIENT -> SERVER:
2019-11-14 13:46:16	CLIENT -> SERVER: http://silicaprep.com/login/confirm.php?data=3Dcw8tS2mIcCDn7Qo/alaukik%2Eko=
2019-11-14 13:46:16	CLIENT -> SERVER: t%40gmail%2Ecom
2019-11-14 13:46:16	CLIENT -> SERVER:
2019-11-14 13:46:16	CLIENT -> SERVER: In most mail programs, this should appear as a blue link
2019-11-14 13:46:16	CLIENT -> SERVER: which you can just click on.  If that doesn't work,
2019-11-14 13:46:16	CLIENT -> SERVER: then cut and paste the address into the address
2019-11-14 13:46:16	CLIENT -> SERVER: line at the top of your web browser window.
2019-11-14 13:46:16	CLIENT -> SERVER:
2019-11-14 13:46:16	CLIENT -> SERVER: If you need help, please contact the site administrator,
2019-11-14 13:46:16	CLIENT -> SERVER:
2019-11-14 13:46:16	CLIENT -> SERVER: Admin User
2019-11-14 13:46:16	CLIENT -> SERVER: lms@edit.co.in
2019-11-14 13:46:16	CLIENT -> SERVER:
2019-11-14 13:46:16	CLIENT -> SERVER: --b1_Qd5aywSmW17z1HGNfQrVql2nAE12ZR9CCToVf2n8
2019-11-14 13:46:16	CLIENT -> SERVER: Content-Type: text/html; charset=UTF-8
2019-11-14 13:46:16	CLIENT -> SERVER: Content-Transfer-Encoding: quoted-printable
2019-11-14 13:46:16	CLIENT -> SERVER:
2019-11-14 13:46:16	CLIENT -> SERVER: Hi alok alok,
=0A
=0AA new account has been requested at 'SILICAP= 2019-11-14 13:46:16 CLIENT -> SERVER: REP'
=0Ausing your email address.
=0A
=0ATo confirm your new= 2019-11-14 13:46:16 CLIENT -> SERVER: account, please go to this web address:
=0A
=0Ahttp://silicaprep= 2019-11-14 13:46:16 CLIENT -> SERVER: ..com/login/confirm.php?data=3Dcw8tS2mIcCDn7Qo/alaukik%2Ekot%40gmail%2Ecom SERVER: r />=0A
=0AIn most mail programs, this should appear as a blue link
SERVER: />=0Awhich you can just click on. If that doesn't work,
=0Athen cut = 2019-11-14 13:46:16 CLIENT -> SERVER: and paste the address into the address
=0Aline at the top of your web = 2019-11-14 13:46:16 CLIENT -> SERVER: browser window.
=0A
=0AIf you need help, please contact the site = 2019-11-14 13:46:16 CLIENT -> SERVER: administrator,
=0A
=0AAdmin User
=0Alms@edit.co.in
2019-11-14 13:46:16 CLIENT -> SERVER: 2019-11-14 13:46:16 CLIENT -> SERVER: --b1_Qd5aywSmW17z1HGNfQrVql2nAE12ZR9CCToVf2n8-- 2019-11-14 13:46:16 CLIENT -> SERVER: 2019-11-14 13:46:16 CLIENT -> SERVER: . 2019-11-14 13:46:16 SERVER -> CLIENT: 250 Ok: queued as bbYVyChqSfWeE8bqzFt2dw 2019-11-14 13:46:16 CLIENT -> SERVER: QUIT 2019-11-14 13:46:16 SERVER -> CLIENT: 221 See you later 2019-11-14 13:46:16 Connection: closed =>
=>@silicaprep.com>@silicaprep.com>@gmail.com>@gmail.com>@silicaprep.com>
Confirmation email sent successfully

Error output, so disabling automatic redirect.









and with AWS ses integration following was error :

2019-11-14 13:08:35	Connection: opening to email-smtp.ap-south-1.amazonaws.com:25, timeout=300, options=array()
2019-11-14 13:08:35	Connection: opened
2019-11-14 13:08:35	SERVER -> CLIENT: 220 email-smtp.amazonaws.com ESMTP SimpleEmailService-d-F7V7VIHPO BYaL2RhBrOIqbANBhF8Z
2019-11-14 13:08:35	CLIENT -> SERVER: EHLO silicaprep.com
2019-11-14 13:08:35	SERVER -> CLIENT: 250-email-smtp.amazonaws.com
                   	                  250-8BITMIME
                   	                  250-SIZE 10485760
                   	                  250-STARTTLS
                   	                  250-AUTH PLAIN LOGIN
                   	                  250 Ok
2019-11-14 13:08:35	CLIENT -> SERVER: STARTTLS
2019-11-14 13:08:35	SERVER -> CLIENT: 220 Ready to start TLS
2019-11-14 13:08:35	CLIENT -> SERVER: EHLO silicaprep.com
2019-11-14 13:08:35	SERVER -> CLIENT: 250-email-smtp.amazonaws.com
                   	                  250-8BITMIME
                   	                  250-SIZE 10485760
                   	                  250-STARTTLS
                   	                  250-AUTH PLAIN LOGIN
                   	                  250 Ok
2019-11-14 13:08:35	CLIENT -> SERVER: AUTH LOGIN
2019-11-14 13:08:35	SERVER -> CLIENT: 334 VXNlcm5hbWU6
2019-11-14 13:08:35	CLIENT -> SERVER: QUtJQVNNMk03VkNFWktBMkpLT1o=
2019-11-14 13:08:35	SERVER -> CLIENT: 334 UGFzc3dvcmQ6
2019-11-14 13:08:35	CLIENT -> SERVER: QkRyUDhXNzN4eE1VR1lSVUFHQXFuOVRsVm9zOXVRRHlaU0tyV1I1enAwc3Q=
2019-11-14 13:08:35	SERVER -> CLIENT: 235 Authentication successful.
2019-11-14 13:08:35	CLIENT -> SERVER: MAIL FROM:
2019-11-14 13:08:35	SERVER -> CLIENT: 250 Ok
2019-11-14 13:08:35	CLIENT -> SERVER: RCPT TO:
2019-11-14 13:08:35	SERVER -> CLIENT: 250 Ok
2019-11-14 13:08:35	CLIENT -> SERVER: DATA
2019-11-14 13:08:35	SERVER -> CLIENT: 354 End data with .
2019-11-14 13:08:35	CLIENT -> SERVER: Date: Thu, 14 Nov 2019 18:38:35 +0530
2019-11-14 13:08:35	CLIENT -> SERVER: To: "alok alok" 
2019-11-14 13:08:35	CLIENT -> SERVER: From: "Admin User  (via Existing User's Login)" 
2019-11-14 13:08:35	CLIENT -> SERVER: Reply-To: "Do not reply to this email" 
2019-11-14 13:08:35	CLIENT -> SERVER: Subject: SILICAPREP: account confirmation
2019-11-14 13:08:35	CLIENT -> SERVER: Message-ID: <5dcd51d3551015.65577954@silicaprep.com>
2019-11-14 13:08:35	CLIENT -> SERVER: X-Mailer: PHPMailer 6.0.1 (https://github.com/PHPMailer/PHPMailer)
2019-11-14 13:08:35	CLIENT -> SERVER: X-Moodle-Originating-Script: http://silicaprep.com => ip-172-31-22-64:lib/moodlelib.php:6396
2019-11-14 13:08:35	CLIENT -> SERVER: MIME-Version: 1.0
2019-11-14 13:08:35	CLIENT -> SERVER: Content-Type: multipart/alternative;
2019-11-14 13:08:35	CLIENT -> SERVER: 	boundary="b1_WUq2FgzubQ6xUtmdGLXey81qlersw5cX4sVcxaehFU"
2019-11-14 13:08:35	CLIENT -> SERVER:
2019-11-14 13:08:35	CLIENT -> SERVER: This is a multi-part message in MIME format.
2019-11-14 13:08:35	CLIENT -> SERVER: --b1_WUq2FgzubQ6xUtmdGLXey81qlersw5cX4sVcxaehFU
2019-11-14 13:08:35	CLIENT -> SERVER: Content-Type: text/plain; charset=UTF-8
2019-11-14 13:08:35	CLIENT -> SERVER: Content-Transfer-Encoding: quoted-printable
2019-11-14 13:08:35	CLIENT -> SERVER:
2019-11-14 13:08:35	CLIENT -> SERVER:
2019-11-14 13:08:35	CLIENT -> SERVER: Hi alok alok,
2019-11-14 13:08:35	CLIENT -> SERVER:
2019-11-14 13:08:35	CLIENT -> SERVER: A new account has been requested at 'SILICAPREP'
2019-11-14 13:08:35	CLIENT -> SERVER: using your email address.
2019-11-14 13:08:35	CLIENT -> SERVER:
2019-11-14 13:08:35	CLIENT -> SERVER: To confirm your new account, please go to this web address:
2019-11-14 13:08:35	CLIENT -> SERVER:
2019-11-14 13:08:35	CLIENT -> SERVER: http://silicaprep.com/login/confirm.php?data=3Dcw8tS2mIcCDn7Qo/alaukik%2Eko=
2019-11-14 13:08:35	CLIENT -> SERVER: t%40gmail%2Ecom
2019-11-14 13:08:35	CLIENT -> SERVER:
2019-11-14 13:08:35	CLIENT -> SERVER: In most mail programs, this should appear as a blue link
2019-11-14 13:08:35	CLIENT -> SERVER: which you can just click on.  If that doesn't work,
2019-11-14 13:08:35	CLIENT -> SERVER: then cut and paste the address into the address
2019-11-14 13:08:35	CLIENT -> SERVER: line at the top of your web browser window.
2019-11-14 13:08:35	CLIENT -> SERVER:
2019-11-14 13:08:35	CLIENT -> SERVER: If you need help, please contact the site administrator,
2019-11-14 13:08:35	CLIENT -> SERVER:
2019-11-14 13:08:35	CLIENT -> SERVER: Admin User
2019-11-14 13:08:35	CLIENT -> SERVER: lms@edit.co.in
2019-11-14 13:08:35	CLIENT -> SERVER:
2019-11-14 13:08:35	CLIENT -> SERVER: --b1_WUq2FgzubQ6xUtmdGLXey81qlersw5cX4sVcxaehFU
2019-11-14 13:08:35	CLIENT -> SERVER: Content-Type: text/html; charset=UTF-8
2019-11-14 13:08:35	CLIENT -> SERVER: Content-Transfer-Encoding: quoted-printable
2019-11-14 13:08:35	CLIENT -> SERVER:
2019-11-14 13:08:35	CLIENT -> SERVER: Hi alok alok,
=0A
=0AA new account has been requested at 'SILICAP= 2019-11-14 13:08:35 CLIENT -> SERVER: REP'
=0Ausing your email address.
=0A
=0ATo confirm your new= 2019-11-14 13:08:35 CLIENT -> SERVER: account, please go to this web address:
=0A
=0Ahttp://silicaprep= 2019-11-14 13:08:35 CLIENT -> SERVER: ..com/login/confirm.php?data=3Dcw8tS2mIcCDn7Qo/alaukik%2Ekot%40gmail%2Ecom SERVER: r />=0A
=0AIn most mail programs, this should appear as a blue link
SERVER: />=0Awhich you can just click on. If that doesn't work,
=0Athen cut = 2019-11-14 13:08:35 CLIENT -> SERVER: and paste the address into the address
=0Aline at the top of your web = 2019-11-14 13:08:35 CLIENT -> SERVER: browser window.
=0A
=0AIf you need help, please contact the site = 2019-11-14 13:08:35 CLIENT -> SERVER: administrator,
=0A
=0AAdmin User
=0Alms@edit.co.in
2019-11-14 13:08:35 CLIENT -> SERVER: 2019-11-14 13:08:35 CLIENT -> SERVER: --b1_WUq2FgzubQ6xUtmdGLXey81qlersw5cX4sVcxaehFU-- 2019-11-14 13:08:35 CLIENT -> SERVER: 2019-11-14 13:08:35 CLIENT -> SERVER: . 2019-11-14 13:08:35 SERVER -> CLIENT: 554 Message rejected: Email address is not verified. The following identities failed the check in region AP-SOUTH-1: alaukik.kot@gmail.com 2019-11-14 13:08:35 SMTP ERROR: DATA END command failed: 554 Message rejected: Email address is not verified. The following identities failed the check in region AP-SOUTH-1: alaukik.kot@gmail.com 2019-11-14 13:08:35 SMTP Error: data not accepted. =>
=>@silicaprep.com>@silicaprep.com>@gmail.com>@gmail.com>@silicaprep.com>
Skip to main content
Confirmation email failed to send
(Continue)

Error output, so disabling automatic redirect.

2019-11-14 13:08:35 CLIENT -> SERVER: QUIT 2019-11-14 13:08:35 SERVER -> CLIENT: 221 Bye 2019-11-14 13:08:35 Connection: closed

Average of ratings: -