|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Email Attachment
<i><b>Originally posted by : Tin</b></i><br />im a newbie.<br />and my script looks like this:<br /><br /><% <br />Dim objNewMail<br />Set objNewMail = Server.CreateObject("CDONTS.NewMail")<br />objNewMail.From = "hi@hi.com"<br />objNewMail.To = "some@where.com"<br />'objNewMail.Cc = "CCThisEmail"<br />'objNewMail.Bcc = "BCCThisEmail"<br />objNewMail.AttachFile "c: est.txt"<br />objNewMail.Send <br />%><br /><br />i run the script on www.websamba.com <br />it said i have a problem on line 11 (the attachment line)<br />can anyone tell me what's wrong?
|
|
#2
|
|||
|
|||
|
<i><b>Originally posted by : James (b4rm4n@(SPAMBLOCK)hotmail.com)</b></i><br />I Believe your line should look like this:<br /><br />objNewMail.AttachFile "c: est.txt" , "test.txt"<br /><br /><br />------------<br />Tin at 1/23/2001 1:29:27 AM<br /><br />im a newbie.<br />and my script looks like this:<br /><br /><% <br />Dim objNewMail<br />Set objNewMail = Server.CreateObject("CDONTS.NewMail")<br />objNewMail.From = "hi@hi.com"<br />objNewMail.To = "some@where.com"<br />'objNewMail.Cc = "CCThisEmail"<br />'objNewMail.Bcc = "BCCThisEmail"<br />objNewMail.AttachFile "c: est.txt"<br />objNewMail.Send <br />%><br /><br />i run the script on www.websamba.com <br />it said i have a problem on line 11 (the attachment line)<br />can anyone tell me what's wrong?
|
![]() |
| Viewing: ASP Free Forums > Programming > .NET Development > Email Attachment |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|