I am having issues getting this to work with gmail or hotmail, they each just shoot off ‘security warnings’ and disable my account. I did see some of the instructions for enabling less secure apps but I didn’t know if there was a way to use sendmail php to basically be its own SMTP server and kind of spoof email addresses.
Let me know the best way to set this up because there will eventually be multiple clients that will need this configured for.
The SMTP settings are currently set at the app level, we don’t support per-client mail settings.
We used to set the from address as our user’s email but found they were more likely to bounce. We now set maildelivery@ as the from address and the user’s email as the reply-to.
We recommend using https://postmarkapp.com/ as we support their email open and bounce tracking APIs.
Thanks. So to be clear each client in a multi tenant environment will not be able to have email coming their company address, because we are only able to configure 1 global SMTP setting?
Also just so I am clear you are recommending something like maildelivery@mydomain.com as the from but what goes in the reply to address as there could be many users and clients on the system?
I will check out postmarkapp and see what those settings look like.
Is there a way to add SMTP authentication? I just setup Amazon SES but there are not enough fields on the GUI to add username/password. Can we add via the .env file?
I too am having issue with Self install 2.5.1.3 sending a mail. I initially tried a git clone but am currently running against the released zip. I have undertaken a composer update and install.
The server successfully sends emails through a 1&1 SMPT account. The exact same settings are added to .env. Our server is Windows 2008r2. I have fake sendmail configured too and this seems to work with other PHP applications.
I have tried all 3 available options, smtp, mail and sendmail but no email appears to be sent. I can not see anything in the laravel, apache or php logs either. In all, I dont have any idea what I need to do to resolve this. Any pointers? Any other logs that may have any further info? Any way to increase the logging?
@Hillel Coren: Hi. Thanks very much for the pointer. I had some issues with the dd, but writing directly to error_log I discovered that the issues was to do with the SSL certificate. We are running invoice ninja on a https://invoices.[ourdomain].com but the SSL certificate is for the www.[ourdomain].com
This gave:
error: Unable to open file for reading [https://invoice.[ourdomain].com/images/invoiceninja-logo.png]
and then the social ones such as:
error: Unable to open file for reading [https://invoice.[ourdomain].com/images/emails/icon-facebook.png]
Turning to the code:
…\resources\views\emails\master_user.blade.php Line 12:
I dont know how to correct this so that the URL used for the asset is either not ssl or how to change the url to a https url that is backed by a valid SSL certificate. Any ideas?
Also, the alt looks like it should say invoicenija
I’ve followed the steps outlined by the laravel documentation, but the invoiceninja setup page still declines connection to the ses endpoint in my region.
Is there a known-good example configuration to refer to?