melzisme Posted October 5, 2021 Share Posted October 5, 2021 Was wondering if anyone is using SendGrid to send emails from WHMCS ? I've had issues sending our emails via SendGrid for a while now and have not been able to figure out how to fix it. Appreciate it if anyone can share some light here. When configuring to send with SendGrid, the configuration test seems to be fine. When I tried to trigger an email to be sent to customer, regardless of where you try to send or trigger an email, I will end up getting this error or I know I've either typed the email address manually or selected them from selection field. It will still give me an error when sending. Anyone knows how to get it work ? 0 Quote Link to comment Share on other sites More sharing options...
steven99 Posted October 5, 2021 Share Posted October 5, 2021 That seems like a bug in the Sendgrid integration as the To field should be provided but apparently isn't. Using the SMTP option might be a workaround. 0 Quote Link to comment Share on other sites More sharing options...
melzisme Posted October 6, 2021 Author Share Posted October 6, 2021 (edited) Thank you sir! That does work. I followed the steps from your link. I'm able to send on-demand email (e.g. resending invoices. For unknown reason, somehow using smtp, it kinda added load on the server but not a problem, I'll figure that out later. I swapped back to SendGrid option again to run another test by triggering the Cron jobs. Oddly, those automation logs gets sent without any issue. I checked through the activity on SendGrid and it seems like whatever that is meant to be automated e.g reminder, new users, invoices) actually goes out via the SendGrid API. Those emails that I triggered manually will hit an error. I guess it's what you said, it could have been some bugs that need fixin. 😄 Edited October 6, 2021 by melzisme 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.