VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Sometimes sending mails using an SMTP server is not feasible for a project¡s requirement. We may wa

by aspose_seo (5 Submissions)
Category: Miscellaneous
Compatability: VB.NET
Difficulty: Unknown Difficulty
Originally Published: Wed 18th February 2009
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Sometimes sending mails using an SMTP server is not feasible for a project¡s requirement. We may want to utilize the MX record of the

Rate Sometimes sending mails using an SMTP server is not feasible for a project¡s requirement. We may wa




MailMessage msg = new MailMessage();
msg.From = "[email protected]";
msg.To = "[email protected];[email protected]";
msg.Subject = "dns sending";
msg.Body = "it is a test.";
DnsMailClient client = new DnsMailClient();
client.Send(msg);

[VB.NET]

Dim msg As MailMessage = New MailMessage()
msg.From = "[email protected]"
msg.To = "[email protected];[email protected]"
msg.Subject = "dns sending"
msg.Body = "it is a test.
Dim client As DnsMailClient = New DnsMailClient()
client.Send(msg)

Download this snippet    Add to My Saved Code

Sometimes sending mails using an SMTP server is not feasible for a project¡s requirement. We may wa Comments

No comments have been posted about Sometimes sending mails using an SMTP server is not feasible for a project¡s requirement. We may wa. Why not be the first to post a comment about Sometimes sending mails using an SMTP server is not feasible for a project¡s requirement. We may wa.

Post your comment

Subject:
Message:
0/1000 characters