Swift_TransportException when when user register
Created 5 years ago by dilusha100

I'm building my website using Pyrocms and it gives me an error when user submit his/her register form.

Swift_TransportException Process could not be started [The system cannot find the path specified. ]

Follow is my .env file fields. Is this problem with these configurations or else?

APP_ENV=local

INSTALLED=true

APP_KEY=app_key

APP_DEBUG=true

DEBUG_BAR=false

DB_CONNECTION=mysql

DB_HOST=localhost

DB_DATABASE=pyrocms

DB_USERNAME=root

DB_PASSWORD="123"

APPLICATION_NAME="Default"

APPLICATION_DOMAIN=127.0.0.1:8001

APPLICATION_REFERENCE=default

DEFAULT_LOCALE=en

APP_TIMEZONE=Asia/Colombo

APP_URL=http://127.0.0.1:8001

ADMIN_USERNAME=admin

ADMIN_EMAIL=dilushadasanayaka@gmail.com

ADMIN_PASSWORD=password

finnito  —  5 years ago Best Answer

Hi @dilusha100!

The SwiftTransport_Exception tends to be associated with sending of mail with a SMTP server. Could you please find out what your mail settings are in PyroCMS?What mail driver is configured?

It could be that the sendmail path is incorrct (https://github.com/swiftmailer/swiftmailer/issues/1080) or that Google is blocking your emails if you are using SMTP (https://stackoverflow.com/questions/36570493/creating-an-email-sending-command-laravel-5-2)

edster  —  5 years ago

Yea that sounds like an environment configuration issue, I agree with finnlesurgmailcom's recommendations.

dilusha100  —  5 years ago

this is fixed when i change my 'driver' => smtp