Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LAUNCH the local Email (say Outlook) rather than SEND email automatic?

Status
Not open for further replies.

mb22

Programmer
Sep 4, 2002
258
US
I can send Email directly or automatically without a problem in ASP.Net. But I want to launch the local email client (say Outlook or whatever email client) instead with a file attachment for the user to SEND the email MANUALLY .. how do I do that?

Dim myMail As New MailMessage()

myMail.From = "me@who.com"
myMail.To = "mymy@yoyo.com"
myMail.Subject = "Test Message"
myMail.Priority = MailPriority.Low
myMail.BodyFormat = MailFormat.Html
myMail.Body = "Test"
SmtpMail.SmtpServer = "localhost"

SmtpMail.Send(myMail)

Instead of SmtpMail.Send ..... is there something else ... or is that a totally different approach?
 

I'm doing an email app with VB6. Doing that using CDO outlook dll. Look on Microsoft's site for CDO info.

Also, on the VB6 forum on this site, there's a guy who uses email app a lot. Paul Brent I think. He might be able to help you.
 
I mean for ASP.Net .... I have done what you are referring to in VB6 before.

But I want to do it from a ASP.Net web application ... launch the local email client with an attachment from a browser

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top