Greetings please help i have a problem sending email even though i dine everything that i WAS TOLD or instructed to do. here is my logs.
2020/06/07 10:41:46 [info] 1778#0: *5592 recv() failed (104: Connection reset by peer) while reading client request line, client: 122.228.208.113, server: live. meetmycraft.com, request: ""
2020/06/07 10:42:14 [info] 1778#0: *5593 client sent invalid method while readin g client request line, client: 122.228.208.113, server: live.meetmycraft.com, re quest: ""
2020/06/07 10:42:14 [info] 1778#0: *5593 recv() failed (104: Connection reset by peer) while reading client request line, client: 122.228.208.113, server: live. meetmycraft.com, request: ""
2020/06/07 10:54:15 [info] 1778#0: *5622 client closed connection while waiting for request, client: 36.32.3.7, server: 0.0.0.0:8080
2020/06/07 10:54:15 [info] 1778#0: *5623 client sent invalid method while readin g client request line, client: 221.204.148.76, server: live.meetmycraft.com, req uest: ""
2020/06/07 10:54:15 [info] 1778#0: *5623 recv() failed (104: Connection reset by peer) while reading client request line, client: 221.204.148.76, server: live.m eetmycraft.com, request: ""
2020/06/07 11:03:47 [info] 1778#0: *5624 client sent invalid host header while r eading client request headers, client: 205.185.115.91, server: live.meetmycraft. com, request: "GET /manager/html HTTP/1.1", host: ""
2020/06/07 11:12:58 [info] 1778#0: *5649 client sent invalid host header while r eading client request headers, client: 51.75.71.205, server: live.meetmycraft.co m, request: "GET /manager/html HTTP/1.1", host: ""
2020/06/07 11:14:44 [info] 1778#0: *5656 client sent HTTP/1.1 request without "H ost" header while reading client request headers, client: 79.9.112.2, server: li ve.meetmycraft.com, request: "GET / HTTP/1.1"
2020/06/07 11:33:25 [info] 1778#0: *5659 client sent invalid host header while r eading client request headers, client: 205.185.123.189, server: live.meetmycraft .com, request: "GET /script HTTP/1.1", host: ""
2020/06/07 11:39PuTTYPuTTY:18 [info] 1778#0: *5666 client 209.17.96.122 closed k eepalive connection
2020/06/07 12:02:40 [error] 1778#0: *5667 open() "/usr/local/nginx/html/azenv.ph p" failed (2: No such file or directory), client: 5.178.86.76, server: live.meet mycraft.com, request: "POST http://check.best-proxies.ru/azenv.php?s=15915313606 3425PC232818615708080 HTTP/1.1", host: "check.best-proxies.ru", referrer: "https ://best-proxies.ru/"
2020/06/07 12:02:45 [info] 1778#0: *5668 client sent invalid request while readi ng client request line, client: 5.178.86.74, server: live.meetmycraft.com, reque st: "CONNECT check.best-proxies.ru:80 HTTP/1.1"
2020/06/07 12:02:50 [info] 1778#0: *5669 client sent invalid method while readin g client request line, client: 5.178.86.76, server: live.meetmycraft.com, reques t: "Pâ–’VL0"
2020/06/07 12:02:55 [info] 1778#0: *5670 client sent invalid method while readin g client request line, client: 5.178.86.74, server: live.meetmycraft.com, reques t: ""
2020/06/07 12:13:58 [info] 1778#0: *5685 client 209.17.96.66 closed keepalive co nnection
2020/06/07 12:23:28 [info] 1778#0: *5687 client sent invalid host header while r eading client request headers, client: 205.185.123.189, server: live.meetmycraft .com, request: "GET /script HTTP/1.1", host: ""
2020/06/07 12:24:39 [info] 1778#0: *5688 client 103.119.166.51 closed keepalive connection
2020/06/07 12:36:15 [info] 1778#0: *5698 client sent invalid host header while r eading client request headers, client: 205.185.115.91, server: live.meetmycraft. com, request: "GET /manager/html HTTP/1.1", host: ""
2020/06/07 12:39:05 [info] 1778#0: *5713 client 87.4.234.78 closed keepalive con nection
2020/06/07 12:58:23 [info] 1778#0: *5772 client 141.98.10.142 closed keepalive c onnection
2020/06/07 13:00:45 [info] 1778#0: *5773 client 184.105.139.68 closed keepalive connection
2020/06/07 13:20:51 [info] 1778#0: *5852 client sent invalid host header while r eading client request headers, client: 205.185.123.189, server: live.meetmycraft .com, request: "GET /script HTTP/1.1", host: ""
2020/06/07 14:08:20 [info] 1778#0: *5919 client sent invalid host header while r eading client request headers, client: 205.185.123.189, server: live.meetmycraft .com, request: "GET /script HTTP/1.1", host: ""
2020/06/07 14:17:51 [info] 1778#0: *5961 client sent invalid host header while r eading client request headers, client: 205.185.115.91, server: live.meetmycraft. com, request: "GET /manager/html HTTP/1.1", host: ""
2020/06/07 14:56:00 [info] 1778#0: *6149 client sent invalid host header while r eading client request headers, client: 205.185.123.189, server: live.meetmycraft .com, request: "GET /script HTTP/1.1", host: ""
2020/06/07 15:01:07 [info] 1778#0: *6175 client sent invalid host header while r eading client request headers, client: 51.75.71.205, server: live.meetmycraft.co m, request: "GET /manager/html HTTP/1.1", host: ""
2020/06/07 15:06:31 [info] 1778#0: *6203 client sent HTTP/1.1 request without "H ost" header while reading client request headers, client: 103.100.28.214, server : live.meetmycraft.com, request: "GET / HTTP/1.1"
2020/06/07 15:07:45 [info] 1778#0: *6210 client sent HTTP/1.1 request without "H ost" header while reading client request headers, client: 1.34.105.163, server: live.meetmycraft.com, request: "GET / HTTP/1.1"
2020/06/07 15:45:51 [info] 1778#0: *6463 client sent invalid host header while r eading client request headers, client: 205.185.123.189, server: live.meetmycraft .com, request: "GET /script HTTP/1.1", host: ""
2020/06/07 15:54:16 [info] 1778#0: *6550 client sent invalid host header while r eading client request headers, client: 205.185.115.91, server: live.meetmycraft. com, request: "GET /manager/html HTTP/1.1", host: ""
2020/06/07 16:02:10 [error] 1778#0: *6619 open() "/usr/local/nginx/html/azenv.ph p" failed (2: No such file or directory), client: 5.178.86.74, server: live.meet mycraft.com, request: "POST http://check.best-proxies.ru/azenv.php?s=15915457309 3739PC232818615708080 HTTP/1.1", host: "check.best-proxies.ru", referrer: "https ://best-proxies.ru/"
2020/06/07 16:02:15 [info] 1778#0: *6620 client sent invalid request while readi ng client request line, client: 5.178.86.78, server: live.meetmycraft.com, reque st: "CONNECT check.best-proxies.ru:80 HTTP/1.1"
2020/06/07 16:02:20 [info] 1778#0: *6622 client sent invalid method while readin g client request line, client: 5.178.86.76, server: live.meetmycraft.com, reques t: "Pâ–’VL0"
2020/06/07 16:02:25 [info] 1778#0: *6624 client sent invalid method while readin g client request line, client: 5.178.86.74, server: live.meetmycraft.com, reques t: ""
2020/06/07 16:40:35 [info] 1778#0: *7010 client sent invalid host header while r eading client request headers, client: 205.185.123.189, server: live.meetmycraft .com, request: "GET /script HTTP/1.1", host: ""
PuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTY PuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTY PuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTYPuTTY

this error shows up
here is the log from the streamer, because the above was from nginx [videoDownloadedLink:Video:private] =>
[videoLink:Video:private] =>
[next_videos_id:Video:private] =>
[isSuggested:Video:private] => 0
[videoGroups:Video:private] =>
[trailer1:Video:private] =>
[trailer2:Video:private] =>
[trailer3:Video:private] =>
[rate:Video:private] => 0
[can_download:Video:private] => 0
[can_share:Video:private] => 0
[only_for_paid:Video:private] => 0
[rrating:Video:private] => pg
[externalOptions:Video:private] => {"videoStartSeconds":""}
[sites_id:Video:private] =>
[serie_playlists_id:Video:private] =>
[video_password:Video:private] =>
[encoderURL:Video:private] => https://live.meetmycraft.com/upload/
[filepath:Video:private] =>
[filesize:Video:private] => 2413122140
[youtubeId:Video:private] =>
[views_count_25] => 0
[views_count_50] => 0
[views_count_75] => 0
[views_count_100] => 0
[created] => 2020-06-07 01:08:18
[modified] => 2020-06-07 15:15:46
[order] => 1
)
[07-Jun-2020 16:03:48 UTC] PHP Notice: Undefined index: videoTags in /var/www/h tml/YouPHPTube/plugin/VideoTags/VideoTags.php on line 237
[07-Jun-2020 16:03:48 UTC] PHP Warning: Invalid argument supplied for foreach() in /var/www/html/YouPHPTube/plugin/VideoTags/VideoTags.php on line 46
[07-Jun-2020 16:07:47 UTC] AVideoLog::DEBUG: IP2Location::getLocation(46.229.168 .149) [Bot] SEMRush {"ip_from":786802688,"ip_to":786802943,"country_code":"NL"," country_name":"Netherlands","region_name":"Noord-Holland","city_name":"Amsterdam ","ip":"46.229.168.149"}
[07-Jun-2020 16:07:47 UTC] AVideoLog::DEBUG: IP2Location::getLocation(46.229.168 .150) [Bot] SEMRush {"ip_from":786802688,"ip_to":786802943,"country_code":"NL"," country_name":"Netherlands","region_name":"Noord-Holland","city_name":"Amsterdam ","ip":"46.229.168.150"}
[07-Jun-2020 16:07:47 UTC] AVideoLog::DEBUG: Start Login Request
[07-Jun-2020 16:07:47 UTC] AVideoLog::DEBUG: redirectUri:
[07-Jun-2020 16:07:47 UTC] AVideoLog::DEBUG: same redirectUri: https://live.meet mycraft.com/
[07-Jun-2020 16:08:52 UTC] AVideoLog::DEBUG: Resize JPG /var/www/html/YouPHPTube /videos/_YPTuniqid_5edc3e02745c51.74691407_portrait.jpg, /var/www/html/YouPHPTub e/videos/_YPTuniqid_5edc3e02745c51.74691407_portrait_thumbsV2.jpg
[07-Jun-2020 16:08:52 UTC] AVideoLog::DEBUG: Resize JPG /var/www/html/YouPHPTube /videos/_YPTuniqid_5edc3e02745c51.74691407_portrait.jpg, /var/www/html/YouPHPTub e/videos/_YPTuniqid_5edc3e02745c51.74691407_portrait_thumbsSmallV2.jpg
[07-Jun-2020 16:08:52 UTC] AVideoLog::DEBUG: Resize JPG /var/www/html/YouPHPTube /videos/_YPTuniqid_5edc3e02745c51.74691407.jpg, /var/www/html/YouPHPTube/videos/ _YPTuniqid_5edc3e02745c51.74691407_thumbsV2.jpg
[07-Jun-2020 16:08:52 UTC] AVideoLog::DEBUG: Resize Small JPG /var/www/html/YouP HPTube/videos/_YPTuniqid_5edc3e02745c51.74691407.jpg, /var/www/html/YouPHPTube/v ideos/_YPTuniqid_5edc3e02745c51.74691407_thumbsSmallV2.jpg
[07-Jun-2020 16:08:52 UTC] PHP Notice: Undefined offset: 1 in /var/www/html/You PHPTube/objects/functions.php on line 720
[07-Jun-2020 16:08:52 UTC] PHP Notice: Undefined offset: 2 in /var/www/html/You PHPTube/objects/functions.php on line 721
[07-Jun-2020 16:08:53 UTC] PHP Notice: Undefined offset: 1 in /var/www/html/You PHPTube/objects/functions.php on line 720
[07-Jun-2020 16:08:53 UTC] PHP Notice: Undefined offset: 2 in /var/www/html/You PHPTube/objects/functions.php on line 721
[07-Jun-2020 16:09:22 UTC] AVideoLog::WARNING: Warning: The plugin [Customize::g etStart] takes 1.8268 seconds to complete.
[07-Jun-2020 16:09:22 UTC] AVideoLog::WARNING: /var/www/html/YouPHPTube/plugin/L ive/stats.json.php
[07-Jun-2020 16:12:22 UTC] AVideoLog::DEBUG: IP2Location::getLocation(46.229.168 .145) [Bot] SEMRush {"ip_from":786802688,"ip_to":786802943,"country_code":"NL"," country_name":"Netherlands","region_name":"Noord-Holland","city_name":"Amsterdam ","ip":"46.229.168.145"}
[07-Jun-2020 16:16:50 UTC] AVideoLog::DEBUG: IP2Location::getLocation(46.229.168 .135) [Bot] SEMRush {"ip_from":786802688,"ip_to":786802943,"country_code":"NL"," country_name":"Netherlands","region_name":"Noord-Holland","city_name":"Amsterdam ","ip":"46.229.168.135"}
[07-Jun-2020 16:16:50 UTC] AVideoLog::DEBUG: Start Login Request
[07-Jun-2020 16:16:50 UTC] AVideoLog::DEBUG: redirectUri:
[07-Jun-2020 16:16:50 UTC] AVideoLog::DEBUG: same redirectUri: https://live.meet mycraft.com/
[07-Jun-2020 16:25:24 UTC] PHP Notice: Undefined offset: 1 in /var/www/html/You PHPTube/objects/functions.php on line 720
[07-Jun-2020 16:25:24 UTC] PHP Notice: Undefined offset: 2 in /var/www/html/You PHPTube/objects/functions.php on line 721
[07-Jun-2020 16:25:24 UTC] PHP Notice: Undefined offset: 1 in /var/www/html/You PHPTube/objects/functions.php on line 720
[07-Jun-2020 16:25:24 UTC] PHP Notice: Undefined offset: 2 in /var/www/html/You PHPTube/objects/functions.php on line 721
[07-Jun-2020 16:25:24 UTC] PHP Notice: Undefined offset: 1 in /var/www/html/You PHPTube/objects/functions.php on line 720
[07-Jun-2020 16:25:24 UTC] PHP Notice: Undefined offset: 2 in /var/www/html/You PHPTube/objects/functions.php on line 721
[07-Jun-2020 16:29:59 UTC] AVideoLog::DEBUG: To query IPV6 you must install php- gmp (apt-get install php-gmp)
[07-Jun-2020 16:29:59 UTC] AVideoLog::DEBUG: IP2Location::getLocation(2a03:2880: 31ff:c::face:b00c) [Bot] Facebook {"ip_from":"0","ip_to":"281470681743359","coun try_code":"-","country_name":"-","ip":"2a03:2880:31ff:c::face:b00c"}
[07-Jun-2020 16:29:59 UTC] AVideoLog::DEBUG: To query IPV6 you must install php- gmp (apt-get install php-gmp)
[07-Jun-2020 16:29:59 UTC] AVideoLog::DEBUG: IP2Location::getLocation(2a03:2880: 31ff:6f::face:b00c) [Bot] Facebook {"ip_from":"0","ip_to":"281470681743359","cou ntry_code":"-","country_name":"-","ip":"2a03:2880:31ff:6f::face:b00c"}
[07-Jun-2020 16:29:59 UTC] AVideoLog::WARNING: redirectUri attack {"REDIRECT_HTT PS":"on","REDIRECT_SSL_TLS_SNI":"live.meetmycraft.com","REDIRECT_STATUS":"200"," HTTPS":"on","SSL_TLS_SNI":"live.meetmycraft.com","HTTP_HOST":"live.meetmycraft.c om","HTTP_ACCEPT":"\/","HTTP_ACCEPT_ENCODING":"deflate, gzip","HTTP_USER_AGENT ":"facebookexternalhit\/1.1 (+http:\/\/www.facebook.com\/externalhit_uatext.php) ","HTTP_RANGE":"bytes=0-524287","PATH":"\/usr\/local\/sbin:\/usr\/local\/bin:\/u sr\/sbin:\/usr\/bin:\/sbin:\/bin:\/snap\/bin","SERVER_SIGNATURE":"
[07-Jun-2020 16:33:46 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: CLIENT -> SE RVER: EHLO live.meetmycraft.com
[07-Jun-2020 16:33:46 UTC] AVideoLog::ERROR: SMTP ERROR 2; message: SERVER -> CL IENT: 250-smtp.gmail.com at your service, [2604:a880:800:a1::ddc:6001]
250-SIZE 35882577
250-8BITMIME
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-CHUNKING
250 SMTPUTF8
[07-Jun-2020 16:33:46 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: CLIENT -> SE RVER: STARTTLS
[07-Jun-2020 16:33:46 UTC] AVideoLog::ERROR: SMTP ERROR 2; message: SERVER -> CL IENT: 220 2.0.0 Ready to start TLS
[07-Jun-2020 16:33:46 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: CLIENT -> SE RVER: EHLO live.meetmycraft.com
[07-Jun-2020 16:33:47 UTC] AVideoLog::ERROR: SMTP ERROR 2; message: SERVER -> CL IENT: 250-smtp.gmail.com at your service, [2604:a880:800:a1::ddc:6001]
250-SIZE 35882577
250-8BITMIME
250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-CHUNKING
250 SMTPUTF8
[07-Jun-2020 16:33:47 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: CLIENT -> SE RVER: AUTH LOGIN
[07-Jun-2020 16:33:47 UTC] AVideoLog::ERROR: SMTP ERROR 2; message: SERVER -> CL IENT: 334 VXNlcm5hbWU6
[07-Jun-2020 16:33:47 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: CLIENT -> SE RVER: [credentials hidden]
[07-Jun-2020 16:33:47 UTC] AVideoLog::ERROR: SMTP ERROR 2; message: SERVER -> CL IENT: 334 UGFzc3dvcmQ6
[07-Jun-2020 16:33:47 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: CLIENT -> SE RVER: [credentials hidden]
[07-Jun-2020 16:33:47 UTC] AVideoLog::ERROR: SMTP ERROR 2; message: SERVER -> CL IENT: 534-5.7.9 Application-specific password required. Learn more at
534 5.7.9 https://support.google.com/mail/?p=InvalidSecondFactor 70sm5140803qkk .10 - gsmtp
[07-Jun-2020 16:33:47 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: SMTP ERROR: Password command failed: 534-5.7.9 Application-specific password required. Learn more at
534 5.7.9 https://support.google.com/mail/?p=InvalidSecondFactor 70sm5140803qkk .10 - gsmtp
[07-Jun-2020 16:33:47 UTC] AVideoLog::ERROR: SMTP ERROR 3; message: SMTP Error: Could not authenticate.
[07-Jun-2020 16:33:47 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: CLIENT -> SE RVER: QUIT
[07-Jun-2020 16:33:47 UTC] AVideoLog::ERROR: SMTP ERROR 2; message: SERVER -> CL IENT: 221 2.0.0 closing connection 70sm5140803qkk.10 - gsmtp
[07-Jun-2020 16:33:47 UTC] AVideoLog::ERROR: SMTP ERROR 3; message: Connection: closed
[07-Jun-2020 16:33:47 UTC] AVideoLog::ERROR: SMTP ERROR 3; message: SMTP connect () failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
[07-Jun-2020 16:33:47 UTC] AVideoLog::DEBUG: sendEmail: Message could not be sen t (SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troublesho oting)
[07-Jun-2020 16:34:31 UTC] AVideoLog::DEBUG: IP2Location::getLocation(41.246.27. 169) Chrome {"ip_from":703994624,"ip_to":703994879,"country_code":"ZA","country_ name":"South Africa","region_name":"Kwazulu-Natal","city_name":"Utrecht","ip":"4 1.246.27.169"}
[07-Jun-2020 16:35:05 UTC] AVideoLog::DEBUG: IP2Location::getLocation(46.229.168 .132) [Bot] SEMRush {"ip_from":786802688,"ip_to":786802943,"country_code":"NL"," country_name":"Netherlands","region_name":"Noord-Holland","city_name":"Amsterdam ","ip":"46.229.168.132"}
[07-Jun-2020 17:00:30 UTC] AVideoLog::DEBUG: Sending SMTP Email
[07-Jun-2020 17:00:30 UTC] AVideoLog::ERROR: SMTP ERROR 3; message: Connection: opening to smtp.gmail.com:587, timeout=300, options=array (
'ssl' =>
array (
'verify_peer' => false,
'verify_peer_name' => false,
'allow_self_signed' => true,
),
)
[07-Jun-2020 17:00:30 UTC] AVideoLog::ERROR: SMTP ERROR 3; message: Connection: opened
[07-Jun-2020 17:00:30 UTC] AVideoLog::ERROR: SMTP ERROR 2; message: SERVER -> CL IENT: 220 smtp.gmail.com ESMTP a38sm6079272qtb.37 - gsmtp
[07-Jun-2020 17:00:30 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: CLIENT -> SE RVER: EHLO live.meetmycraft.com
[07-Jun-2020 17:00:30 UTC] AVideoLog::ERROR: SMTP ERROR 2; message: SERVER -> CL IENT: 250-smtp.gmail.com at your service, [2604:a880:800:a1::ddc:6001]
250-SIZE 35882577
250-8BITMIME
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-CHUNKING
250 SMTPUTF8
[07-Jun-2020 17:00:30 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: CLIENT -> SE RVER: STARTTLS
[07-Jun-2020 17:00:30 UTC] AVideoLog::ERROR: SMTP ERROR 2; message: SERVER -> CL IENT: 220 2.0.0 Ready to start TLS
[07-Jun-2020 17:00:30 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: CLIENT -> SE RVER: EHLO live.meetmycraft.com
[07-Jun-2020 17:00:30 UTC] AVideoLog::ERROR: SMTP ERROR 2; message: SERVER -> CL IENT: 250-smtp.gmail.com at your service, [2604:a880:800:a1::ddc:6001]
250-SIZE 35882577
250-8BITMIME
250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-CHUNKING
250 SMTPUTF8
[07-Jun-2020 17:00:30 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: CLIENT -> SE RVER: AUTH LOGIN
[07-Jun-2020 17:00:30 UTC] AVideoLog::ERROR: SMTP ERROR 2; message: SERVER -> CL IENT: 334 VXNlcm5hbWU6
[07-Jun-2020 17:00:30 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: CLIENT -> SE RVER: [credentials hidden]
[07-Jun-2020 17:00:30 UTC] AVideoLog::ERROR: SMTP ERROR 2; message: SERVER -> CL IENT: 334 UGFzc3dvcmQ6
[07-Jun-2020 17:00:30 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: CLIENT -> SE RVER: [credentials hidden]
[07-Jun-2020 17:00:30 UTC] AVideoLog::ERROR: SMTP ERROR 2; message: SERVER -> CL IENT: 534-5.7.9 Application-specific password required. Learn more at
534 5.7.9 https://support.google.com/mail/?p=InvalidSecondFactor a38sm6079272qt b.37 - gsmtp
[07-Jun-2020 17:00:30 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: SMTP ERROR: Password command failed: 534-5.7.9 Application-specific password required. Learn more at
534 5.7.9 https://support.google.com/mail/?p=InvalidSecondFactor a38sm6079272qt b.37 - gsmtp
[07-Jun-2020 17:00:30 UTC] AVideoLog::ERROR: SMTP ERROR 3; message: SMTP Error: Could not authenticate.
[07-Jun-2020 17:00:30 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: CLIENT -> SE RVER: QUIT
[07-Jun-2020 17:00:30 UTC] AVideoLog::ERROR: SMTP ERROR 2; message: SERVER -> CL IENT: 221 2.0.0 closing connection a38sm6079272qtb.37 - gsmtp
[07-Jun-2020 17:00:30 UTC] AVideoLog::ERROR: SMTP ERROR 3; message: Connection: closed
[07-Jun-2020 17:00:30 UTC] AVideoLog::ERROR: SMTP ERROR 3; message: SMTP connect () failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
[07-Jun-2020 17:00:30 UTC] AVideoLog::DEBUG: sendEmail: Message could not be sen t (SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troublesho oting)
[07-Jun-2020 17:00:37 UTC] AVideoLog::DEBUG: IP2Location::getLocation(223.25.16. 252) Chrome {"ip_from":3742957568,"ip_to":3742973951,"country_code":"PH","countr y_name":"Philippines","region_name":"National Capital Region","city_name":"Makat i","ip":"223.25.16.252"}
[07-Jun-2020 17:01:02 UTC] AVideoLog::DEBUG: getCaptchaImage: qEYUQ - session_na me 6fc62ec69b08fa735ac516b595c951b6 session_id: 1ckre2559fdkvdha9jb02muhin
[07-Jun-2020 17:01:02 UTC] AVideoLog::DEBUG: getCaptchaImage _SESSION[palavra] = (qEYUQ) - session_name 6fc62ec69b08fa735ac516b595c951b6 session_id: 1ckre2559fd kvdha9jb02muhin
[07-Jun-2020 17:05:29 UTC] AVideoLog::DEBUG: IP2Location::getLocation(41.246.27. 181) Chrome {"ip_from":703994624,"ip_to":703994879,"country_code":"ZA","country_ name":"South Africa","region_name":"Kwazulu-Natal","city_name":"Utrecht","ip":"4 1.246.27.181"}
Please screenshot how is your SMTP configuration.


gmail :
you need allow less secure apps
you need to whitelist IP server
https://github.com/WWBN/AVideo/wiki/Setting-up-AVideo-Platform-to-send-emails
I already Allowed less secure apps , will have to whitlist ip server then, because i'm not sure if i done that.
Disable 2factor authentication:
[07-Jun-2020 17:00:30 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: SMTP ERROR: Password command failed: 534-5.7.9 Application-specific password required. Learn more at
534 5.7.9 https://support.google.com/mail/?p=InvalidSecondFactor a38sm6079272qt b.37 - gsmtp

I disabled two factor authentication and allowed less secure app access
[09-Jun-2020 20:49:55 UTC] AVideoLog::DEBUG: getCaptchaImage: 8KPVx - session_name 6fc62ec69b08fa735ac516b595c951b6 session_id: lrqd7o5lb0dlrfj8gedqdgesbi
[09-Jun-2020 20:49:55 UTC] AVideoLog::DEBUG: getCaptchaImage _SESSION[palavra] = (8KPVx) - session_name 6fc62ec69b08fa735ac516b595c951b6 session_id: lrqd7o5lb0dlrfj8gedqdgesbi
[09-Jun-2020 20:50:00 UTC] AVideoLog::DEBUG: transferBalance: 1, 1, 0.1, Reward from video Millionaire Dog, 1
[09-Jun-2020 20:50:00 UTC] AVideoLog::DEBUG: transferBalance: you dont have balance, 1,1, 0.1
[09-Jun-2020 20:51:53 UTC] AVideoLog::DEBUG: IP2Location::getLocation(59.28.250.245) Chrome {"ip_from":991754752,"ip_to":991755007,"country_code":"KR","country_name":"Korea, Republic of","region_name":"Gyeonggi-do","city_name":"Seongnam","ip":"59.28.250.245"}
[09-Jun-2020 20:51:53 UTC] PHP Notice: Undefined variable: email in /var/www/html/YouPHPTube/locale/kr.php on line 626
[09-Jun-2020 20:51:53 UTC] PHP Notice: Undefined variable: siteOwnerEmail in /var/www/html/YouPHPTube/locale/kr.php on line 626
[09-Jun-2020 20:51:53 UTC] PHP Notice: Undefined variable: email in /var/www/html/YouPHPTube/locale/kr.php on line 627
[09-Jun-2020 20:51:53 UTC] PHP Notice: Undefined variable: siteOwnerEmail in /var/www/html/YouPHPTube/locale/kr.php on line 628
[09-Jun-2020 20:51:55 UTC] AVideoLog::DEBUG: getCaptchaImage: vDyfS - session_name 6fc62ec69b08fa735ac516b595c951b6 session_id: e38vnohmf28kagdgg8er0nqaa9
[09-Jun-2020 20:51:55 UTC] AVideoLog::DEBUG: getCaptchaImage _SESSION[palavra] = (vDyfS) - session_name 6fc62ec69b08fa735ac516b595c951b6 session_id: e38vnohmf28kagdgg8er0nqaa9
[09-Jun-2020 20:52:04 UTC] AVideoLog::DEBUG: getCaptchaImage: 4ATNW - session_name 6fc62ec69b08fa735ac516b595c951b6 session_id: e38vnohmf28kagdgg8er0nqaa9
[09-Jun-2020 20:52:04 UTC] AVideoLog::DEBUG: getCaptchaImage _SESSION[palavra] = (4ATNW) - session_name 6fc62ec69b08fa735ac516b595c951b6 session_id: e38vnohmf28kagdgg8er0nqaa9
[09-Jun-2020 20:52:23 UTC] AVideoLog::DEBUG: user::login: noPass = , encodedPass = 1, this->user, admin 41.246.30.109
[09-Jun-2020 20:52:23 UTC] AVideoLog::DEBUG: encryptPasswordVerify: do not encrypt
[09-Jun-2020 20:52:23 UTC] AVideoLog::DEBUG: user::login: Do login without cookie
[09-Jun-2020 20:52:23 UTC] AVideoLog::DEBUG: user::recreateLoginFromCookie: do cookie-login: admin result: 0
[09-Jun-2020 20:52:23 UTC] AVideoLog::DEBUG: success 1
[09-Jun-2020 20:52:23 UTC] AVideoLog::DEBUG: IP2Location::getLocation(41.246.30.109) Chrome {"ip_from":703995392,"ip_to":703996159,"country_code":"ZA","country_name":"South Africa","region_name":"Kwazulu-Natal","city_name":"Durban","ip":"41.246.30.109"}
[09-Jun-2020 20:52:24 UTC] PHP Notice: Undefined offset: 1 in /var/www/html/YouPHPTube/objects/functions.php on line 720
[09-Jun-2020 20:52:24 UTC] PHP Notice: Undefined offset: 2 in /var/www/html/YouPHPTube/objects/functions.php on line 721
[09-Jun-2020 20:52:24 UTC] PHP Notice: Undefined offset: 1 in /var/www/html/YouPHPTube/objects/functions.php on line 720
[09-Jun-2020 20:52:24 UTC] PHP Notice: Undefined offset: 2 in /var/www/html/YouPHPTube/objects/functions.php on line 721
[09-Jun-2020 20:52:26 UTC] AVideoLog::DEBUG: user::login: noPass = , encodedPass = 1, this->user, admin 41.246.30.109
[09-Jun-2020 20:52:26 UTC] AVideoLog::DEBUG: encryptPasswordVerify: do not encrypt
[09-Jun-2020 20:52:26 UTC] AVideoLog::DEBUG: user::login: Do login without cookie
[09-Jun-2020 20:52:26 UTC] AVideoLog::DEBUG: user::recreateLoginFromCookie: do cookie-login: admin result: 0
[09-Jun-2020 20:52:26 UTC] AVideoLog::DEBUG: success 1
[09-Jun-2020 20:52:26 UTC] AVideoLog::DEBUG: IP2Location::getLocation(41.246.30.109) Chrome {"ip_from":703995392,"ip_to":703996159,"country_code":"ZA","country_name":"South Africa","region_name":"Kwazulu-Natal","city_name":"Durban","ip":"41.246.30.109"}
[09-Jun-2020 20:52:26 UTC] PHP Notice: Undefined offset: 1 in /var/www/html/YouPHPTube/objects/functions.php on line 720
[09-Jun-2020 20:52:26 UTC] PHP Notice: Undefined offset: 2 in /var/www/html/YouPHPTube/objects/functions.php on line 721
[09-Jun-2020 20:52:26 UTC] PHP Notice: Undefined offset: 1 in /var/www/html/YouPHPTube/objects/functions.php on line 720
[09-Jun-2020 20:52:26 UTC] PHP Notice: Undefined offset: 2 in /var/www/html/YouPHPTube/objects/functions.php on line 721
[09-Jun-2020 20:52:46 UTC] AVideoLog::DEBUG: IP2Location::getLocation(41.246.30.109) Chrome {"ip_from":703995392,"ip_to":703996159,"country_code":"ZA","country_name":"South Africa","region_name":"Kwazulu-Natal","city_name":"Durban","ip":"41.246.30.109"}
[09-Jun-2020 20:53:06 UTC] AVideoLog::DEBUG: user::login: noPass = , encodedPass = 1, this->user, admin 41.246.30.109
[09-Jun-2020 20:53:06 UTC] AVideoLog::DEBUG: encryptPasswordVerify: do not encrypt
[09-Jun-2020 20:53:06 UTC] AVideoLog::DEBUG: user::login: Do login without cookie
[09-Jun-2020 20:53:06 UTC] AVideoLog::DEBUG: user::recreateLoginFromCookie: do cookie-login: admin result: 0
[09-Jun-2020 20:53:06 UTC] AVideoLog::DEBUG: success 1
[09-Jun-2020 20:53:06 UTC] AVideoLog::DEBUG: IP2Location::getLocation(41.246.30.68) Chrome {"ip_from":703995392,"ip_to":703996159,"country_code":"ZA","country_name":"South Africa","region_name":"Kwazulu-Natal","city_name":"Durban","ip":"41.246.30.68"}
[09-Jun-2020 20:54:15 UTC] AVideoLog::DEBUG: To query IPV6 you must install php-gmp (apt-get install php-gmp)
[09-Jun-2020 20:54:15 UTC] AVideoLog::DEBUG: IP2Location::getLocation(2a03:2880:20ff:1f::face:b00c) Safari {"ip_from":"0","ip_to":"281470681743359","country_code":"-","country_name":"-","ip":"2a03:2880:20ff:1f::face:b00c"}
[09-Jun-2020 20:54:17 UTC] AVideoLog::DEBUG: To query IPV6 you must install php-gmp (apt-get install php-gmp)
[09-Jun-2020 20:54:17 UTC] AVideoLog::DEBUG: IP2Location::getLocation(2a03:2880:20ff:11::face:b00c) Safari {"ip_from":"0","ip_to":"281470681743359","country_code":"-","country_name":"-","ip":"2a03:2880:20ff:11::face:b00c"}
[09-Jun-2020 20:56:14 UTC] AVideoLog::DEBUG: getCaptchaImage: IBanH - session_name 6fc62ec69b08fa735ac516b595c951b6 session_id: 9th05tm7gf3vdqvr90n2ib6sut
[09-Jun-2020 20:56:14 UTC] AVideoLog::DEBUG: getCaptchaImage _SESSION[palavra] = (IBanH) - session_name 6fc62ec69b08fa735ac516b595c951b6 session_id: 9th05tm7gf3vdqvr90n2ib6sut
[09-Jun-2020 20:57:29 UTC] AVideoLog::DEBUG: To query IPV6 you must install php-gmp (apt-get install php-gmp)
[09-Jun-2020 20:57:29 UTC] AVideoLog::DEBUG: IP2Location::getLocation(2a03:2880:30ff:74::face:b00c) Safari {"ip_from":"0","ip_to":"281470681743359","country_code":"-","country_name":"-","ip":"2a03:2880:30ff:74::face:b00c"}
[09-Jun-2020 20:57:36 UTC] AVideoLog::DEBUG: To query IPV6 you must install php-gmp (apt-get install php-gmp)
[09-Jun-2020 20:57:36 UTC] AVideoLog::DEBUG: IP2Location::getLocation(2a03:2880:30ff:6::face:b00c) Safari {"ip_from":"0","ip_to":"281470681743359","country_code":"-","country_name":"-","ip":"2a03:2880:30ff:6::face:b00c"}
[09-Jun-2020 21:04:53 UTC] PHP Notice: Undefined offset: 1 in /var/www/html/YouPHPTube/objects/functions.php on line 720
[09-Jun-2020 21:04:53 UTC] PHP Notice: Undefined offset: 2 in /var/www/html/YouPHPTube/objects/functions.php on line 721
[09-Jun-2020 21:04:53 UTC] PHP Notice: Undefined offset: 1 in /var/www/html/YouPHPTube/objects/functions.php on line 720
[09-Jun-2020 21:04:53 UTC] PHP Notice: Undefined offset: 2 in /var/www/html/YouPHPTube/objects/functions.php on line 721
[09-Jun-2020 21:05:47 UTC] PHP Notice: Undefined offset: 1 in /var/www/html/YouPHPTube/objects/functions.php on line 720
[09-Jun-2020 21:05:47 UTC] PHP Notice: Undefined offset: 2 in /var/www/html/YouPHPTube/objects/functions.php on line 721
[09-Jun-2020 21:06:00 UTC] PHP Notice: Undefined offset: 1 in /var/www/html/YouPHPTube/objects/functions.php on line 720
[09-Jun-2020 21:06:00 UTC] PHP Notice: Undefined offset: 2 in /var/www/html/YouPHPTube/objects/functions.php on line 721
[09-Jun-2020 21:06:00 UTC] PHP Notice: Undefined offset: 1 in /var/www/html/YouPHPTube/objects/functions.php on line 720
[09-Jun-2020 21:06:00 UTC] PHP Notice: Undefined offset: 2 in /var/www/html/YouPHPTube/objects/functions.php on line 721
[09-Jun-2020 21:10:33 UTC] AVideoLog::DEBUG: To query IPV6 you must install php-gmp (apt-get install php-gmp)
[09-Jun-2020 21:10:33 UTC] AVideoLog::DEBUG: IP2Location::getLocation(2a03:2880:10ff:1c::face:b00c) [Bot] Facebook {"ip_from":"0","ip_to":"281470681743359","country_code":"-","country_name":"-","ip":"2a03:2880:10ff:1c::face:b00c"}
[09-Jun-2020 21:10:34 UTC] AVideoLog::WARNING: redirectUri attack {"REDIRECT_HTTPS":"on","REDIRECT_SSL_TLS_SNI":"live.meetmycraft.com","REDIRECT_STATUS":"200","HTTPS":"on","SSL_TLS_SNI":"live.meetmycraft.com","HTTP_HOST":"live.meetmycraft.com","HTTP_ACCEPT":"\/","HTTP_ACCEPT_ENCODING":"deflate, gzip","HTTP_USER_AGENT":"facebookexternalhit\/1.1 (+http:\/\/www.facebook.com\/externalhit_uatext.php)","HTTP_RANGE":"bytes=0-524287","PATH":"\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin:\/snap\/bin","SERVER_SIGNATURE":"
[09-Jun-2020 22:18:22 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: CLIENT -> SERVER: EHLO live.meetmycraft.com
[09-Jun-2020 22:18:22 UTC] AVideoLog::ERROR: SMTP ERROR 2; message: SERVER -> CLIENT: 250-smtp.gmail.com at your service, [2604:a880:800:a1::ddc:6001]
250-SIZE 35882577
250-8BITMIME
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-CHUNKING
250 SMTPUTF8
[09-Jun-2020 22:18:22 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: CLIENT -> SERVER: STARTTLS
[09-Jun-2020 22:18:22 UTC] AVideoLog::ERROR: SMTP ERROR 2; message: SERVER -> CLIENT: 220 2.0.0 Ready to start TLS
[09-Jun-2020 22:18:22 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: CLIENT -> SERVER: EHLO live.meetmycraft.com
[09-Jun-2020 22:18:22 UTC] AVideoLog::ERROR: SMTP ERROR 2; message: SERVER -> CLIENT: 250-smtp.gmail.com at your service, [2604:a880:800:a1::ddc:6001]
250-SIZE 35882577
250-8BITMIME
250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-CHUNKING
250 SMTPUTF8
[09-Jun-2020 22:18:22 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: CLIENT -> SERVER: AUTH LOGIN
[09-Jun-2020 22:18:22 UTC] AVideoLog::ERROR: SMTP ERROR 2; message: SERVER -> CLIENT: 334 VXNlcm5hbWU6
[09-Jun-2020 22:18:22 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: CLIENT -> SERVER: [credentials hidden]
[09-Jun-2020 22:18:22 UTC] AVideoLog::ERROR: SMTP ERROR 2; message: SERVER -> CLIENT: 334 UGFzc3dvcmQ6
[09-Jun-2020 22:18:22 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: CLIENT -> SERVER: [credentials hidden]
[09-Jun-2020 22:18:23 UTC] AVideoLog::ERROR: SMTP ERROR 2; message: SERVER -> CLIENT: 534-5.7.14
534-5.7.14 x6HQwgMa8kfF2lFQwKO9f_3Uxf1v9RcRh8wck2BqxPQD5Zt7oDv_LUywkNy6kd_5>
534-5.7.14 Please log in via your web browser and then try again.
534-5.7.14 Learn more at
534 5.7.14 https://support.google.com/mail/answer/78754 g132sm10773217qkb.78 - gsmtp
[09-Jun-2020 22:18:23 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: SMTP ERROR: Password command failed: 534-5.7.14
534-5.7.14 x6HQwgMa8kfF2lFQwKO9f_3Uxf1v9RcRh8wck2BqxPQD5Zt7oDv_LUywkNy6kd_5>
534-5.7.14 Please log in via your web browser and then try again.
534-5.7.14 Learn more at
534 5.7.14 https://support.google.com/mail/answer/78754 g132sm10773217qkb.78 - gsmtp
[09-Jun-2020 22:18:23 UTC] AVideoLog::ERROR: SMTP ERROR 3; message: SMTP Error: Could not authenticate.
[09-Jun-2020 22:18:23 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: CLIENT -> SERVER: QUIT
[09-Jun-2020 22:18:23 UTC] AVideoLog::ERROR: SMTP ERROR 2; message: SERVER -> CLIENT: 221 2.0.0 closing connection g132sm10773217qkb.78 - gsmtp
[09-Jun-2020 22:18:23 UTC] AVideoLog::ERROR: SMTP ERROR 3; message: Connection: closed
[09-Jun-2020 22:18:23 UTC] AVideoLog::ERROR: SMTP ERROR 3; message: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
[09-Jun-2020 22:18:23 UTC] AVideoLog::DEBUG: sendEmail: Message could not be sent (SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting)
[09-Jun-2020 22:18:59 UTC] AVideoLog::WARNING: Warning: The plugin [Customize::getStart] takes 1.9954 seconds to complete.
[09-Jun-2020 22:18:59 UTC] AVideoLog::WARNING: /var/www/html/YouPHPTube/objects/sendEmail.json.php
[09-Jun-2020 22:18:59 UTC] AVideoLog::DEBUG: Sending SMTP Email
[09-Jun-2020 22:18:59 UTC] AVideoLog::ERROR: SMTP ERROR 3; message: Connection: opening to smtp.gmail.com:587, timeout=300, options=array (
'ssl' =>
array (
'verify_peer' => false,
'verify_peer_name' => false,
'allow_self_signed' => true,
),
)
[09-Jun-2020 22:18:59 UTC] AVideoLog::ERROR: SMTP ERROR 3; message: Connection: opened
[09-Jun-2020 22:18:59 UTC] AVideoLog::ERROR: SMTP ERROR 2; message: SERVER -> CLIENT: 220 smtp.gmail.com ESMTP o144sm10695051qke.126 - gsmtp
[09-Jun-2020 22:18:59 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: CLIENT -> SERVER: EHLO live.meetmycraft.com
[09-Jun-2020 22:18:59 UTC] AVideoLog::ERROR: SMTP ERROR 2; message: SERVER -> CLIENT: 250-smtp.gmail.com at your service, [2604:a880:800:a1::ddc:6001]
250-SIZE 35882577
250-8BITMIME
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-CHUNKING
250 SMTPUTF8
[09-Jun-2020 22:18:59 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: CLIENT -> SERVER: STARTTLS
[09-Jun-2020 22:18:59 UTC] AVideoLog::ERROR: SMTP ERROR 2; message: SERVER -> CLIENT: 220 2.0.0 Ready to start TLS
[09-Jun-2020 22:18:59 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: CLIENT -> SERVER: EHLO live.meetmycraft.com
[09-Jun-2020 22:18:59 UTC] AVideoLog::ERROR: SMTP ERROR 2; message: SERVER -> CLIENT: 250-smtp.gmail.com at your service, [2604:a880:800:a1::ddc:6001]
250-SIZE 35882577
250-8BITMIME
250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-CHUNKING
250 SMTPUTF8
[09-Jun-2020 22:18:59 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: CLIENT -> SERVER: AUTH LOGIN
[09-Jun-2020 22:18:59 UTC] AVideoLog::ERROR: SMTP ERROR 2; message: SERVER -> CLIENT: 334 VXNlcm5hbWU6
[09-Jun-2020 22:18:59 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: CLIENT -> SERVER: [credentials hidden]
[09-Jun-2020 22:18:59 UTC] AVideoLog::ERROR: SMTP ERROR 2; message: SERVER -> CLIENT: 334 UGFzc3dvcmQ6
[09-Jun-2020 22:18:59 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: CLIENT -> SERVER: [credentials hidden]
[09-Jun-2020 22:18:59 UTC] AVideoLog::ERROR: SMTP ERROR 2; message: SERVER -> CLIENT: 534-5.7.14
534-5.7.14 czVJ6qE_eoLWz_c1EI3gUO19Foeup2ZRs9LXQro-8yGRlWMCVGt-RuMIUu06-Pf0>
534-5.7.14 Please log in via your web browser and then try again.
534-5.7.14 Learn more at
534 5.7.14 https://support.google.com/mail/answer/78754 o144sm10695051qke.126 - gsmtp
[09-Jun-2020 22:18:59 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: SMTP ERROR: Password command failed: 534-5.7.14
534-5.7.14 czVJ6qE_eoLWz_c1EI3gUO19Foeup2ZRs9LXQro-8yGRlWMCVGt-RuMIUu06-Pf0>
534-5.7.14 Please log in via your web browser and then try again.
534-5.7.14 Learn more at
534 5.7.14 https://support.google.com/mail/answer/78754 o144sm10695051qke.126 - gsmtp
[09-Jun-2020 22:18:59 UTC] AVideoLog::ERROR: SMTP ERROR 3; message: SMTP Error: Could not authenticate.
[09-Jun-2020 22:18:59 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: CLIENT -> SERVER: QUIT
[09-Jun-2020 22:18:59 UTC] AVideoLog::ERROR: SMTP ERROR 2; message: SERVER -> CLIENT: 221 2.0.0 closing connection o144sm10695051qke.126 - gsmtp
[09-Jun-2020 22:18:59 UTC] AVideoLog::ERROR: SMTP ERROR 3; message: Connection: closed
[09-Jun-2020 22:18:59 UTC] AVideoLog::ERROR: SMTP ERROR 3; message: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
[09-Jun-2020 22:18:59 UTC] AVideoLog::DEBUG: sendEmail: Message could not be sent (SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting)
check my log again
@akhilleusuggo I'm done allowing less secure apps. How do i Whitelist my IP Now. The problem still persists
Disable 2factor authentication:
[07-Jun-2020 17:00:30 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: SMTP ERROR: Password command failed: 534-5.7.9 Application-specific password required. Learn more at 534 5.7.9 https://support.google.com/mail/?p=InvalidSecondFactor a38sm6079272qt b.37 - gsmtp
I'm done with this as well but problem still there.
@akhilleusuggo I'm done allowing less secure apps. How do i Whitelist my IP Now. The problem still persists
You should get an email , that will ask you if it were you trying to use gmail from IP xx.xx.xx.xx
and you need to confirm and wait a bit
Done Confirming the email I will wait and see what will happen and keep you updated.
I waited for more than five hours and now tried to send a message and it says
Sorry!
Message could not be sent SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
telnet smtp.gmail.com 587
ping smtp.gmail.com
You have to start the trouble shooting .
But the error is clear :
[09-Jun-2020 22:18:23 UTC] AVideoLog::ERROR: SMTP ERROR 1; message: SMTP ERROR: Password command failed: 534-5.7.14 <https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbv
doesn't look like you have disabled the 2factor authentication .
1- Make sure you did OR
2- Create a password for that . Follow the guide . We can't help you with that .
Hi
@akhilleusuggo is correct.
I saw that happening once. it was the Google 2FA .
alternatively, you can use any other SMTP relay, please check this https://github.com/WWBN/AVideo/wiki/Setting-up-AVideo-Platform-to-send-emails#alternatives-smtp-providers.
hello ,
Before using Gmail’s SMTP server, you’ll need to authorize access to the less secure applications. This is because Google has blocked apps and devices it considers outdated by modern security standards. However, it is easy to activate access to these applications by going to ici

The details of the SMTP server are as follows:
Gmail SMTP server: smtp.gmail.com
SMTP user: Username is your gmail email address
SMTP password: This is your Gmail password
SMTP port: 465 / 587
TLS / SSL: Mandatory for the configuration of Gmail's SMTP server.
If you want to configure the IMAP protocol and store your sent messages in the folder provided for this purpose on your Gmail account, you will need to perform the following steps:
Go to your Gmail account, then click on the "Settings" tab.

Go to the "Transfer and Pop / IMAP" tab. Check the box "Activate IMAP"

Click on the “Save changes” button at the bottom of the page to save your changes.
@syldri very nice tutorial! congratulations.
Still did not working for me . I am wondering if there is anything that i did not install.
@GodgivenButhelezi try another SMTP provider https://github.com/WWBN/AVideo/wiki/Setting-up-AVideo-Platform-to-send-emails#alternatives-smtp-providers
I finally figured it out, by using my own company nail not gmail, as it kept on blocking me. Thanks everyone.