Sending E-Mail from User's Machine

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
Hi Dennis,

You can use

System.Diagnostics.Process.Start("mailto:[email protected]")

to open the new message window of his e-mail client.

--

Best 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
 
Thanks for replies. Using Outlook won't work because the end user may not
have outlook.
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top