I'm using the DotNetNuke.Services.Mail.Mail.SendEmail function in one of my modules and noticed that it returns a string. Is there any documentation on what this will return (I could not find anything).
Basically I want to use the result of the function to determine whether the email sent or not. At the moment I assume that when there is no exception that the email went though and was sent. But I just discovered that if you put in wrong SMTP details it does not throw an exception it rather gives you a return that says something along the lines "Could not send email, could not resolve %DOMAINNAME%".