Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Dec 2005
    Posts
    702
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How I send email, and how this email to contain an asp doc ?

    How I send email, and how this email to contain an asp doc [eg. confirm.asp, hence with graphics, links, buttons, more] ?

  • #2
    Regular Coder
    Join Date
    Mar 2007
    Posts
    505
    Thanks
    1
    Thanked 19 Times in 19 Posts
    You can send email using CDOSYS or any of the free emailing programs out there (see http://www.aspemail.com, http://www.jmail.com, etc).

    All of these email systems can send attachments/ confirmation pages.
    To say my fate is not tied to your fate is like saying, 'Your end of the boat is sinking.' -- Hugh Downs
    Please, if you found my post helpful, pay it forward. Go and help someone else today.

  • #3
    Regular Coder
    Join Date
    Dec 2005
    Posts
    702
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Please give me an example....
    Please note: graphics in the email not attachment ....

  • #4
    Regular Coder
    Join Date
    Mar 2007
    Posts
    505
    Thanks
    1
    Thanked 19 Times in 19 Posts
    Well, I use a 3rd party emailer, so you will have to choose one that you like best. ASPEmail, JMail and CDOSYS are all free, so you can pick and choose.

    All have slightly different formatting, so you will have to use their code for examples (Miranda has a post on this forum with a good CDOSYS example.)

    As to the graphics in the email, you just need to store them on your server as you would any other image and reference them in your ASP/HTML page using the full HTTP address
    Code:
    <img src="http://www.yoursite.com/images/image1.jpg" width="32" height="32">
    You would send the "confirm.asp" as an HTML file to your recipient.

    Basically, create the page as you would normally and then use COPY and PASTE the code into your emailer body. Make sure to set the IsHTML = true, and you are all set.
    To say my fate is not tied to your fate is like saying, 'Your end of the boat is sinking.' -- Hugh Downs
    Please, if you found my post helpful, pay it forward. Go and help someone else today.


  •  

    Posting Permissions

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