Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 09-18-2003, 11:57 AM
mvermeulen mvermeulen is online now
Registered User
 
Join Date: 07-15-2003
Posts: 56
Send a message via Yahoo to mvermeulen
Email Text vs Attachment

Rather than attach the log file to an e-mail message can a file be imported into the main body of the message?
Reply With Quote
  #2  
Old 09-18-2003, 02:14 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Yes. This is from the System Scripts help topic (also demonstrated in the 'Show contents' step of the Misc.bld sample):

[vbld_FSO.OpenTextFile("filename").ReadAll()]

Add this to the Message field of Send Mail action to add the contents of a file to the message body.
Reply With Quote
  #3  
Old 09-19-2003, 02:57 PM
mvermeulen mvermeulen is online now
Registered User
 
Join Date: 07-15-2003
Posts: 56
Send a message via Yahoo to mvermeulen
Thank you very much for the info.

As an added question, is there a way to pass message type through the SMTP server so that an html formatted message could be sent to a mail client? I have only seen information on basic smtp parameters such as TO, FROM, SERVER, etc...
Reply With Quote
  #4  
Old 09-22-2003, 10:43 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Not (currently) with the Send Mail action. A couple ways to do it:

1) Call CDONTS (I believe this comes w/ IIS) from a Run Script action: http://www.devasp.com/Samples/Mail3.asp

2) Call blat (http://www.blat.net/) from a Run Program action:
blat "drive:\path\to\filename.htm" -server <server> -f <from address> -t <to address> -s "subject" -u <user> -pw <password>
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off



All times are GMT -5. The time now is 09:59 PM.


Copyright © 1999-2023 Kinook Software, Inc.