Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 How to Attach a text file to an email by CDONTS.NewMail

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-01-30 : 11:15:16
Quang writes "Is it possible for a script to attach a text file to an email?

I've been using the Scripting.FileSystemObject to write a msg to the mailroot\pickup folder because I have no luck using the CDONTS.NewMail method.

What I need to do is to attach a text file to this email. Which method will allow me to do so? And what's the code.

I'm working on NT4 server with IIS 4. Your experty will be greatly appreciated."
   

- Advertisement -