Purpose
Send an email with one or more attachments via an SMTP server
|
Solution
The .NET library offers several methods to send an email. In this example we will use the System.Net.Mail namespace to create a method that will be called via GuiXT.
|
Here is the GuiXT script to send the email: GuiXT
Remarks:
Several GuiXT variables are used, especially for the body text as this text may exceed the maximal number of characters of a normal callVB parameterThe library needs to know whether to send plain text or HTML text in the body You may add a method to decrypt the password and give the encrypted password as a parameter for the callVB function |
Here is the VB.NET coding: VB.NET
|
Components
InputAssistant + Controls
|