Results 1 to 3 of 3

Thread: Mailto and attachments

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2005
    Location
    Up State NY
    Posts
    525

    Mailto and attachments

    I can create the email with the subject, to, and mailbody, but trying to add an attachment is maddening.

    Code:
    <a href="Mailto:<%=custrepemail%>?cc=<%=Mgr & ";" & contact & ";" & CellMail%>&subject=<%=mailsubject%>&body=<%=mailbodyx%>&attachment=""<%=mailattach%>"""><font size=5>Send Email</font></a>
    Format is correct as far as I can see. Now, the file exists on a shared drive and I refer to it directly:
    Code:
    Mailattach="\\Servername\docs\GenSHi-PRT.doc"
    It opens, filling the correct areas except the attachment. I have also tried calling it by the drive name and locally as well.
    Aarrgghh...

    What else can I try?

  2. #2

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2005
    Location
    Up State NY
    Posts
    525

    Re: Mailto and attachments

    Anybody?

  3. #3
    PowerPoster
    Join Date
    Jun 2001
    Location
    Trafalgar, IN
    Posts
    4,141

    Re: Mailto and attachments

    It may not make a difference but I would change the link to
    Code:
    <a href='Mailto:<&#37;=custrepemail%>?cc=<%=Mgr & ";" & contact & ";" & CellMail%>&subject=<%=mailsubject%>&body=<%=mailbodyx%>&attachment="<%=mailattach%>"'><font size=5>Send Email</font></a>
    Do you also know the user clicking the mail link will need to be access \\Servername\docs\GenSHi-PRT.doc directly so it can be attached to the mail?

Posting Permissions

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



Click Here to Expand Forum to Full Width