Tidak Bisa Kirim E-Mail via SMTP Google


Status
Not open for further replies.

mitrahosting.com

Apprentice 2.0
Rekan-rekan DWH sekalian,

kalau ada client yang menggunakan script PHP Mailer namun SMTP hostnya pakai punyanya google : smtp.gmail.com, port 587, apakah hal ini aman ? Apakah server rekan-rekan mengijinkan hal ini juga ?

Mohon masukan dari rekan-rekan sekalian, terima kasih.
 

mitrahosting.com

Apprentice 2.0
aman aman saja, dan boleh. Malah hemat resource, mereka gunakan smtp external. no problem.
biasanya ini pengguna wordpress.

nah, kalau begitu, settingan mana yang harus dibuka tuan, karena saat ini server cPanel saya tidak bisa digunakan untuk mengirimkan e-mail melalui SMTP External :(
 

mitrahosting.com

Apprentice 2.0
hmm exim itu bejibun settingannya.
lebih baik tampilkan log eximnya
log yang di /var/log/exim_mainlog

di tail saja saat testing pengiriman email.

Ini tuan hasilnya

2017-09-20 11:09:46 SMTP connection from [23.92.53.77]:53711 (TCP/IP connection count = 1)
2017-09-20 11:09:49 dovecot_login authenticator failed for (censored.com) [23.92.53.77]:53711: 535 Incorrect authentication data ([email protected])
2017-09-20 11:09:49 SMTP connection from (censored.com) [23.92.53.77]:53711 closed by QUIT
 

mitrahosting.com

Apprentice 2.0
Dan berikut ini hasil debug phpmailer client saya :

SERVER -> CLIENT: 220-pegasus.mitrahosting.net ESMTP Exim 4.89 #1 Wed, 20 Sep 2017 11:09:46 +0700 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.
CLIENT -> SERVER: EHLO censored.com
SERVER -> CLIENT: 250-pegasus.mitrahosting.net Hello censored.com [23.92.53.77]250-SIZE 52428800250-8BITMIME250-PIPELINING250-AUTH PLAIN LOGIN250-STARTTLS250 HELP
CLIENT -> SERVER: STARTTLS
SERVER -> CLIENT: 220 TLS go ahead
CLIENT -> SERVER: EHLO censored.com
SERVER -> CLIENT: 250-pegasus.mitrahosting.net Hello censored.com [23.92.53.77]250-SIZE 52428800250-8BITMIME250-PIPELINING250-AUTH PLAIN LOGIN250 HELP
CLIENT -> SERVER: AUTH LOGIN
SERVER -> CLIENT: 334 VXNlcm5hbWU6
CLIENT -> SERVER: YW5uZWtlY29sbGVjdGlvbndlYkBnbWFpbC5jb20=
SERVER -> CLIENT: 334 UGFzc3dvcmQ6
CLIENT -> SERVER: YWNpKioqZXZlcnQ=
SERVER -> CLIENT: 535 Incorrect authentication data
SMTP ERROR: Password command failed: 535 Incorrect authentication data
SMTP Error: Could not authenticate.
CLIENT -> SERVER: QUIT
SERVER -> CLIENT: 221 pegasus.mitrahosting.net closing connection
SMTP connect() failed.
 
Status
Not open for further replies.

Top