Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

i dont understand about setting mail

Company Moafin   ( User )

Commented 6 years ago

i'd like not to use SMTP server like sendmail server


i'd like to use only PHP like PHPmailer.


in this case what should i do?


in general > email. i can see the 'PHP mail'


is 'PHP mail' 'PHPmailer' ?


 

Ahmet Kurucan   ( User )

Commented 6 years ago

Yes, that's it.

Company Moafin   ( User )

Commented 6 years ago

so...


do i have to install phpMailer module?? or already akaunting has that


 


 


i installed akaunting in '/var/www/html/'


 


and i edited /var/www/html/config/mail.php


like this.


-----------------


'driver' => env('MAIL_DRIVER', 'mail'),


'host' => env('MAIL_HOST', 'smtp.gmail.com'),


'port' => env('MAIL_PORT', 465),


'from' => [ 'address' => env('MAIL_FROM_ADDRESS', '[email protected]'),


'name' => env('MAIL_FROM_NAME', 'master'), ],


'encryption' => env('MAIL_ENCRYPTION', 'ssl'),


'username' => env('[email protected]'), 'password' => env('mypassword'),


'sendmail' => '/usr/sbin/sendmail -bs',


'markdown' => [ 'theme' => 'default', 'paths' => [ resource_path('views/vendor/mail'), ], ],


'driver' => env('MAIL_DRIVER', 'mail'), 'driver' => env('MAIL_DRIVER', 'mail'),

Denis Dulici   ( Admin )

Commented 6 years ago

You should not install and/or edit any file, plz, reverted the changes back.

Ajay Singh   ( User )

Commented 3 years ago

HI @Denis I am facing an issue with email invoice getting error
Swift_TransportException
Process could not be started [The system cannot find the path specified. ]

Please login or register to leave a response.

Showing 1 to 5 of 5 discussions