how to mail a page?

Results 1 to 2 of 2

Thread: how to mail a page?

  1. #1
    Join Date
    Dec 1969

    Default how to mail a page?

    i want to add new function in my page<BR>-- Mail this page<BR><BR>how can i do this?

  2. #2
    BeFresh Guest

    Default RE: how to mail a page?

    Dim objFolder<BR>Set objFolder = objFSO.GetFolder(Server.MapPath("/"))<BR>&#039;mapPath("/") stands for current directory<BR>Dim objFile, objTextStream, strFileContents<BR>&#039;select file<BR>For "current file" in objFolder.Files<BR> If Response.IsClientConnected then<BR> Set objTextStream = objFSO.OpenTextFile(objFile.Path,fsoForReading)<BR > &#039;read file<BR> strFileContents = objTextStream.ReadAll<BR><BR>now, make sure you get "strFileContents" mailed. (this I don&#039;t know)<BR><BR>check out aspfaqs, the answer is there.<BR>

Posting Permissions

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