Knowledge Base Ask Cody Resources



 
How do I use the Distinct WebMail Objects SMTP component in ASP.net
1. Go to References in the solution explorer, right click and select add reference. The "Add Reference" dialog will display. Click Com page and double click "Distinct Server SMTP ActiveX control", Ok. You will see DSV_SMTPLib added in the list.

2. Go to your aspx.vb file, add "Imports DSV_SMTPLib" at the very beginning.

3. In the function where you want to call this control, add the following
Dim x As New DSV_SMTP()

Dim result As Boolean

result = x.EasySend(TextBoxHost.Text, TextBoxFrom.Text, TextBoxTo.Text, "", "", TextBoxSub.Text, TextBoxBody.Text, "", "")






04/26/2024   Legal notices | PRIVACY Policy |