|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Sending mailHello,
I'm using VS.NET 2003, can anyone please send me a code for sending emails/ thanks in advance! Adriano Public Sub ShowMail(ByVal strTo As String, Optional ByVal strSubject As
String = "", Optional ByVal strMessage As String = "") Dim Appl As Object Dim out As Object Try Appl = CreateObject("Outlook.Application") out = Appl.CreateItem(0) With out .Subject = strSubject .To = strTo .Body = strMessage 'Send it! '.Send() 'Open it! .Display() End With Catch ex As Exception ErrorMessage(ex) End Try End Sub Show quoteHide quote "Adriano" <adri***@mail.ru> wrote in message news:e0aaa%23NFGHA.516@TK2MSFTNGP15.phx.gbl... > Hello, > > I'm using VS.NET 2003, can anyone please send me a code for sending > emails/ > > thanks in advance! > Adriano > "Adriano" <adri***@mail.ru> schrieb: Sending and receiving email> I'm using VS.NET 2003, can anyone please send me a code for sending > emails/ <URL:http://dotnet.mvps.org/dotnet/faqs/?id=email&lang=en> -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> Hi Adriano,
If you want to use SMTP directly then see: http://www.systemwebmail.net/faq/2.1.aspx If you want to automate Outlook post again. -- Show quoteHide quoteBest regards, Carlos J. Quintero MZ-Tools: Productivity add-ins for Visual Studio 2005, Visual Studio .NET, VB6, VB5 and VBA You can code, design and document much faster in VB.NET, C#, C++ or VJ# Free resources for add-in developers: http://www.mztools.com "Adriano" <adri***@mail.ru> escribió en el mensaje news:e0aaa%23NFGHA.516@TK2MSFTNGP15.phx.gbl... > Hello, > > I'm using VS.NET 2003, can anyone please send me a code for sending > emails/ > > thanks in advance! > Adriano >
Send E-Mail from VB.Net 2003
Printing an ASP.NET web page from VB.NET - (HTTPWebResponse + Printing) Multi Column ListBox Null in Visual Basic .Net??? Date/Time control Too many case conditions? copying a collection Late Binding syntax problem How set datasource of combobox to xml file ftp callback example C# |
|||||||||||||||||||||||