Ask a Question related to ASP Components, Design and Development.
-
Web-Tek #1
ASP Email - CDONTS - AttachFile - Getting it embeded in the email
I am unable to get my file attachment in the email
=> Here is what my code looks like - which is very simple from the documentation that I have read.
Set myMail = Server.CreateObject("CDONTS.NewMail")
.... ... Populated the variables from ... from ... subject
myMail.AttachFile("D:\test1.txt")
myMail.Send
Set myMail = Nothing
=> Instead it displays something like this at the bottom of the email:
Note: test1.txt was the file i was trying to attach
Is there something more to the Code of IIS/SMTP configuration that is not right. Any ideas/clues would be much appreciated
CC
Web-Tek Guest
-
send VAR embeded in email to be read by embeded Flash
hey, got an small flash application that will send all my vars from flash(8) to an ASP script for both inserting into a database and also,... -
How do I use CDONTS.new to send an email with attachment?
Can someone give me some sample code to use CDONTS.new to send email with an attachment? I've got sample code from the following website; ... -
Creating HTML eMail with CDONTS
Hi Gang I can create an email with ASP's using CDONTS and this works well. I'd like to format the email as HTML. Can I do this with ASP's and... -
Where i can find a Cdonts email component
Hi Where i can find a Cdonts email component or another email componet thanks in advance -
Email form and CDONTS
I just found out that my server doesn't have ASPMail installed but does have CDONTS...how can i make a simple form on my website to email information... -
IPT #2
Re: ASP Email - CDONTS - AttachFile - Getting it embeded in the email
Remove the bracket, just type myMail.AttachFile "D:\test1.txt"
"Web-Tek" <Web-Tek@discussions.microsoft.com> wrote in message
news:FCFBAF28-EBFD-4B6C-87DC-E1286B3AD9EE@microsoft.com...documentation that I have read.> I am unable to get my file attachment in the email
>
> => Here is what my code looks like - which is very simple from the>
>
> Set myMail = Server.CreateObject("CDONTS.NewMail")
> ... ... Populated the variables from ... from ... subject
> myMail.AttachFile("D:\test1.txt")
> myMail.Send
> Set myMail = Nothing
>
>
> => Instead it displays something like this at the bottom of the email:
>
>
----------------------------------------------------------------------------
----
right. Any ideas/clues would be much appreciated>
> Note: test1.txt was the file i was trying to attach
>
> Is there something more to the Code of IIS/SMTP configuration that is not>
> CC
IPT Guest
-
Bullschmidt #3
Re: ASP Email - CDONTS - AttachFile - Getting it embeded in the email
Or you might try switching from CDONTS (which is being phased out) to
the newer CDO such as can be seen in the E-mail Attachment example at
[url]http://www.asp101.com/samples[/url]
Best regards,
J. Paul Schmidt, Freelance ASP Web Consultant
[url]http://www.Bullschmidt.com[/url]
ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...
*** Sent via Devdex [url]http://www.devdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Bullschmidt Guest



Reply With Quote

