Web Mail Attachments

  • Thread starter Thread starter Richard Grene
  • Start date Start date
R

Richard Grene

I am using webmail with asp.net with vb. I need a method for Web users to
attach
files from their local drives. How can this be done since the file to be
attached is not on the Web Server?

Thanks,
Richard
 
Hi Gene,

You can try this, than they can attach themselves it to ther emailclient.

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
If Not IsPostBack Then
Me.Button1.Text = "Send Mail"
Me.Button1.Attributes("onClick") =
"window.location='mailto:[email protected]?subject=Cor demo&body=I hope this
helps?';"
End If
End Sub


I hope this helps a little bit?

Cor
 
Richard Grene said:
I am using webmail with asp.net with vb. I need a method for Web users to
attach
files from their local drives. How can this be done since the file to be
attached is not on the Web Server?

You have to have the user upload the file first to the server using the
upload component.


--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"


ELKNews - Get your free copy at http://www.atozedsoftware.com
 

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