Regarding mail functionality
-
Hi @dsharma
Make sure that you have configured mail correctly and have provided valid credentials.
Thanks
-
hello thanks for your reply yes my credentials are correct. I am unable to fine from where you are sending mail notification when an order is placed.
-
I am facing the same problem .. I configured mail server correctly still it's not working....
-
I am also facing the same problem. Please help.
-
Hi @dsharma ,
Please try this one.
MAIL_DRIVER=sendmail
MAIL_HOST=smtp.gmail.com
MAIL_PORT=2525
MAIL_USERNAME=YOUR MAILTRAP EMAIL ADDRESS
MAIL_PASSWORD=YOUR PASSWORD
MAIL_ENCRYPTION=ssl
[email protected]
[email protected]Thank you.
-
I tested using several valid credentials (used in other applications), writing directly to .env and clearing the config cache
and yet it doesn't work.
does not write anything to the .log file, and no exceptions thrown on the screen. -
go through with this configuration in the .env :-
MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=mailtrap_smtp_username
MAIL_PASSWORD=mailtrap_smtp_password
MAIL_ENCRYPTION=tls
[email protected]
[email protected]
MAIL_FROM_NAME=admin123 -
Hi, I was getting this 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 "534", with message "534-5.7.9 Application-specific password required
I have added the application-specific password and the mails like register, forget password are sending without any issues. But when I order something, I'm getting the above-mentioned error. Why is it. I'm I missing anything? Please help.
-
-
@jaseelpv said in Regarding mail functionality:
Failed to authenticate on SMTP server with username "[email protected]" using 3 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code "534", with message "534-5.7.9 Application-specific password required
Log in to your Gmail account through a web browser and enable access through less secure apps . Less secure apps can make your account more vulnerable, Google will automatically turn this setting off if it's not being used. However, bypass this security setting with a configuration tweak within your Google Email Account .
To do so, first head over to https://accounts.google.com/ → Security → Enable Less Secure Apps
Enabling access for "less secure apps" means that the client/app doesn't use OAuth 2.0 . OAuth 2.0 is the industry-standard protocol for authorization. When you sign in with OAuth 2.0, you sign in to Google's system directly. In OAuth 2.0 , you authenticate directly to Gmail with your credentials and authorize an app to do certain things. The third-party app only sees an authorization token provided by Google as proof that you authenticated correctly and agreed to authorize that app.