im trying to use the procedure to send emails from the web to an address that doesnt belong to the domain; procedure should be correct, and so the host/login details but it is not working, maybe someone have had the same problem? I think it depends by my hosting as the host/login they provided isnt working for me; here is some code:
private static bool Send(mail_details details, ref string error)
{
string host = config.MailHost;
string port = config.MailPort;
MailMessage mail_message;
SmtpClient smtp = new SmtpClient(host, Convert.ToInt16(port));
NetworkCredential smtpus ...
Go to the complete details ...