Mail Driver Issue
-
Hi,
We are facing send email using Laragon in our application.
Our application based on php Laravel framework.
Kindly see the .env file settings.
MAIL_DRIVER=mail
MAIL_HOST=mail.eteamid.com
MAIL_PORT=2525
MAIL_NAME=Test Email
MAIL_USERNAME=abdullah@eteamid.com
MAIL_PASSWORD=''
MAIL_ENCRYPTION=''We are catching this email using mail catcher but not receiving in inbox. and there are no log in error log file.
Can you help me on this?
Thanks,
-
@Abdullah-Malik : I guess you should use:
MAIL_DRIVER=smtp
-
Yes, We have tried emails are going successfully when we are using Driver = 'smtp'. But we want to send emails using driver 'mail'. Is there any solution for that?
-
If you want to use mail() function and want to get emails into your inbox, you need to configure Gmail account (a test account is fine) in Menu > Preferences > Mail Sender
-
Can we use another account like 'abdullah@eteamid.com' instead of google account?