Tecdiary / EmailTestingApp

Email Testing Application - Local Email Testing on Linux, MacOS & Windows
https://emailtesting.app
2 stars 0 forks source link

Connection refused #2

Open aavram93 opened 1 year ago

aavram93 commented 1 year ago

Trying to use it on Laravel

env:

MAIL_MAILER=smtp
MAIL_HOST=127.0.0.1
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS="hello@example.com"
MAIL_FROM_NAME="${APP_NAME}"

Error

> Mail::raw('Hello World!', function($msg) {$msg->to('myemail@gmail.com')->subject('Test Email'); });

   Symfony\Component\Mailer\Exception\TransportException  Connection could not be established with host "127.0.0.1:2525": stream_socket_client(): Unable to connect to 127.0.0.1:2525 (Connection refused).

Also tried to open TCP port 2525 in Windows Firewall, same error

Also when I try in Settings to change SMTP Configuration and pressing Update & Relaunch is stucking in loading and is not restarting app

MianSaleem commented 1 year ago

Can you please open the logs (click icon in title bar) and let me know the error?

aavram93 commented 1 year ago

Trying to open Logs but nothing happen also restarted the app tried again, nothing happen...

MianSaleem commented 1 year ago

I have released an update (v0.1.16) that should fix the open log and the smtp server should send notifications on start and fail. Please try to update and let me know if you still have issues. Thank you

MianSaleem commented 1 year ago

@aavram93 If you don’t mind, could you check the latest version?