I have some code for an email notification, but the code assumes the outgoing smtp server is local. How would I code it to use our smtp server that is hosted by someone else. This is what I am doing to set the smtp server...
SmtpMail.SmtpServer = "smtp.domain.com";
The smtp isnt local, so how would I go about letting the code know that it is an external smtp server. Any help is appreciated.
Thanks in advance.
SmtpMail.SmtpServer = "smtp.domain.com";
The smtp isnt local, so how would I go about letting the code know that it is an external smtp server. Any help is appreciated.
Thanks in advance.