|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Sending E-Mail from User's MachineIs there any way that I can send an e-mail from a user's machine when he
clicks on a button ("Contact Us") in my applicaiton that he is running? Bottom line is that I need to get his Mail Server name from VB.New code. -- Dennis in Houston Try this,
http://www.c-sharpcorner.com/Internet/SendingEmailsThroughOutlookCB.asp Show quoteHide quote "Dennis" <Den***@discussions.microsoft.com> wrote in message news:1BFCF712-6ACF-42B0-97B7-9D2698407A48@microsoft.com... > Is there any way that I can send an e-mail from a user's machine when he > clicks on a button ("Contact Us") in my applicaiton that he is running? > Bottom line is that I need to get his Mail Server name from VB.New code. > -- > Dennis in Houston Hi Dennis,
You can use System.Diagnostics.Process.Start("mailto:***@yyy.com") to open the new message window of his e-mail client. -- 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 "Dennis" <Den***@discussions.microsoft.com> escribió en el mensaje news:1BFCF712-6ACF-42B0-97B7-9D2698407A48@microsoft.com... > Is there any way that I can send an e-mail from a user's machine when he > clicks on a button ("Contact Us") in my applicaiton that he is running? > Bottom line is that I need to get his Mail Server name from VB.New code. > -- > Dennis in Houston "Dennis" <Den***@discussions.microsoft.com> schrieb: Opening files, applications, Web documents, and the mail client> Is there any way that I can send an e-mail from a user's machine when he > clicks on a button ("Contact Us") in my applicaiton that he is running? > Bottom line is that I need to get his Mail Server name from VB.New code. <URL:http://dotnet.mvps.org/dotnet/faqs/?id=openfileappwebpage&lang=en> -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> Thanks for replies. Using Outlook won't work because the end user may not
have outlook. -- Show quoteHide quoteDennis in Houston "Herfried K. Wagner [MVP]" wrote: > "Dennis" <Den***@discussions.microsoft.com> schrieb: > > Is there any way that I can send an e-mail from a user's machine when he > > clicks on a button ("Contact Us") in my applicaiton that he is running? > > Bottom line is that I need to get his Mail Server name from VB.New code. > > Opening files, applications, Web documents, and the mail client > <URL:http://dotnet.mvps.org/dotnet/faqs/?id=openfileappwebpage&lang=en> > > -- > M S Herfried K. Wagner > M V P <URL:http://dotnet.mvps.org/> > V B <URL:http://classicvb.org/petition/> > One thing that you need to remember is if the e-mail is outbound & using you
default SMTP then make sure that the ISP don't pick it up as SPAM. Some ISP's (like AOL etc.) do. Crouchie1998 BA (HONS) MCP MCSE
vs2005 - Why all the errors? yet the code works.
VB2005 - Stop User from Leaving Row in DataGridView Foreign Characters in XML Cell validating event problem. Multiple columns in Combobox list What version of SQL Server can I install in my Windows XP PC and.. How to change a VB solution/project name? ObjectContext problem Migration of MSFLEXGRID to DATAGRID in vb.net... Insert Column in Excel in VB .NET |
|||||||||||||||||||||||