adding files to an email

Results 1 to 2 of 2

Thread: adding files to an email

  1. #1
    cis2 Guest

    Default adding files to an email

    once i have founf a file i want to connect to my email using html how do i attach it to my email

  2. #2
    paul_merton @ Guest

    Default RE: adding files to an email

    Not quite sure what your question is asking, but here is how one would send an email with an attachment using ASP: -<BR><BR>&#060;%<BR>Set myMail = CreateObject("CDONTS.NewMail")<BR>myMail.From = ...<BR>myMail.To = ...<BR>myMail.Cc = ...<BR>myMail.Bcc = ...<BR>myMail.Subject = ...<BR>myMail.Body = ...<BR>myMail.AttachFile("&#060;insert path to attachment&#062;")<BR>myMail.Send<BR>Set myMail = Nothing<BR>%&#062;<BR><BR>Of course, you can only send attachments that are visible to the web server. So it&#039s fairly simple if you want to send files from the server, but if you want to provide users with the facility to send attachments via the web, then you&#039ll need to provide a way of letting them upload the file(s) to the web server first.<BR><BR>Hope that helps,<BR>Paul.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts