If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Send Email by Asp coading

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-06-09, 02:15
nava123 nava123 is offline
Registered User
 
Join Date: Mar 2009
Posts: 1
Send Email by Asp coading

Hello friend i design and develop a asp page of sent mail. it's working properly but i want to attach a file with this mail how i will attach a file (.doc) with this mail as we get this facilities in yahoo google by attach a document file

Thanks

Last edited by gvee; 03-06-09 at 04:01. Reason: spammy links removed
Reply With Quote
  #2 (permalink)  
Old 03-06-09, 04:00
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
what method are you currently using to send mail?

P.S. please don't put spammy links in your post / signature
__________________
George
Twitter | Blog
Reply With Quote
  #3 (permalink)  
Old 03-09-09, 18:52
Bullschmidt Bullschmidt is offline
Guru
 
Join Date: Jun 2003
Location: USA
Posts: 1,032
Generally if you're using CDO you can use AddAttachment but the file has to already exist on the server.

Examples of objCDO.AddAttachment:
objCDO.AddAttachment Server.MapPath("reffiles") & "\myfile.gif"
objCDO.AddAttachment "c:\myfolder\myfile.gif"

But some limited testing showed this to work too:
objCDO.AddAttachment "http://www.thesite.com/myfile.gif"
objCDO.AddAttachment "http://www.someothersite.com/myfile.gif"
__________________
J. Paul Schmidt, Freelance Web and Database Developer
www.Bullschmidt.com
Access Database Sample, Web Database Sample, ASP Design Tips
Reply With Quote
  #4 (permalink)  
Old 03-12-09, 07:32
lcssanches lcssanches is offline
Registered User
 
Join Date: Mar 2009
Posts: 1
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On