I seem to be having an issue with sending DB mail.
I have successfully set up my profile and account, and the test email was received.
However for some reason I can not get any mail to send using sp_send_dbmail. It probably comes down to the fact I may have overcomplicated some of the email content creation, so that staff can edit the email templates once I had everything set up. Because of this, I'm going to explain the full process so I don't miss anything that may be causing the issue.
The system is a recruitment/new starter tracking system. The first email I am trying to set up is a contract request email.
Because I wanted the staff to be able to edit the email templates in a similar way to a mail merge uses merge fields, I started off by creating a lookup table which listed the fields and their corresponding "tags" to be used...