Howdy,
I’d like to report something. I’m using Sendgrid and they do provide SMTP credentials so I can send e-mails through their server.
So I was going to set this up in Invoice Ninja and it didn’t work. Sendgrid says you should use APIKEY as the username, and the actual API key as password. But then, there is no USERNAME field in Invoice Ninja. And if I try to put APIKEY as the SENDER EMAIL ADDRESS, Invoice Ninja complains that it doesn’t follow standard mailbox naming.
I got around this by editing the .env file and putting APIKEY as username there, but it would be nice to have authentication fields separate from sender address in Invoice Ninja. SMTP providers such as Sendgrid and others do have specific authentication instructions and they usually differ from the usual username/password combination used in regular mailboxes.
Thanks for your answer @Hillel. Would it be acceptable for you to make it an option of .env file? The application can read it from the .env file. Advanced users can modify it. Thanks again!
Hey drdrake, I just edited the username in the .env file. However I ran a quick test and it didn’t seem to work, but I just did one test, I’ll have to come back to this later.