Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

SyedGhazanfar's avatar

Failed to authenticate on SMTP server with username "[email protected]"

I have faced this error on my project, Basically I am using Webmail.

ERROR: Failed to authenticate on SMTP server with username "[email protected]" using 3 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code "535", with message "535-5.7.8 Username and Password not accepted.

Configuration: MAIL_DRIVER=smtp MAIL_HOST=mail.futafut.com MAIL_PORT=465 MAIL_USERNAME=********* MAIL_PASSWORD=********* MAIL_ENCRYPTION=ssl

I am using laravel 5.8 and php version is 7.3 is anyone have any answer regarding this issue so please help me.

0 likes
6 replies
SyedGhazanfar's avatar

@Sinnbeck Dear I have checked but everything is normal from my side but I think here is some issue in my mail provider setting can you guide me about it.

Sinnbeck's avatar

@SyedGhazanfar Sorry but I dont work for your mail provider. So try contacting them and 1. Ask for the exact SMTP data (port, encrytion type etc). 2. Ask them to ensure that you are allowed to send using smtp.

Sinnbeck's avatar

@SyedGhazanfar Sounds good. I suggest explaining how it was fixed, and mark it as best answer, to help others in the future.

SyedGhazanfar's avatar
SyedGhazanfar
OP
Best Answer
Level 1

@Sinnbeck Dear Basically these error came from my mistake 😂 basically I was passing wrong credentials.

Please or to participate in this conversation.