I have an agent that is doing everything except for sending mails.
So for troubleshooting, I created a Db on the server, the Db contains one form and an agent, the agent is scheduled and has a two line simple formula code:
Document Selection:
field Status contains Complete AND field NotificationStatus contains “Not Sent”
I would look in the N&A Book to see if there is a single match for this address. Your personal mail server might say that there is, or might find a group, but that only helps when you run the agent manually.
If the name isn’t there, then the background agent will fail when it tries to send. You can either make an entry in the N&A Book (recommended), or else have the agent send to “name@domain” in which case it doesn’t bother checking the N&A Book for the entry.
make sure the db has a default view and a default form assigned in designer. there are required for @MailSend to funtion properly in a scheduled agent.