Create-a-new-email-message-with-attachment - WeOnlyDo Software example code



All

wodCrypt (12)
wodSSH (10)
wodSFTP (23)
wodSSHServer (1)
wodSSHTunnel (11)
wodSSHpackage
wodSFTPdll

wodSSH.NET (10)
wodSFTP.NET (24)
wodFtpDLX.NET (22)
wodWebServer.NET (10)

wodAppUpdate (13)
wodHttpDLX (8)
wodFtpDLX (22)
wodTelnetDLX
wodFTPServer (3)
wodWebServer (10)
wodVPN
wodXMPP (13)
All ** [Visual Basic] ** [C#] ** [VB.NET] **

Create a new email message with attachment
VB code
Dim wodMailBox1 As wodMailboxCom
Set wodMailBox1 = New wodMailboxCom

'Using only one line of code you can create new email message with attachment.
wodMailBox1.CreateSimpleAttachmentMessage "c:\message1.eml", "myemail@domain.com", "someone@domain.com", "message subject", "Hi, here is my document.", "c:\mydoc.doc"
VB.NET code
Dim wodMailBox1 As New WODMAILBOXCOMLib.wodMailboxCom

'Using only one line of code you can create new email message with attachment.
wodMailBox1.CreateSimpleAttachmentMessage("c:\message1.eml", "myemail@domain.com", "someone@domain.com", "message subject", "Hi, here is my document.", "c:\mydoc.doc")
C# code
WODMAILBOXCOMLib.wodMailboxCom wodMailBox1 = new WODMAILBOXCOMLib.wodMailboxCom();

//Using only one line of code you can create new email message with attachment.
wodMailBox1.CreateSimpleAttachmentMessage("c:\\message1.eml", "myemail@domain.com", "someone@domain.com", "message subject", "Hi, here is my document.", "c:\\mydoc.doc");