dominicall
10-23-2002, 08:29 PM
Anyone here ever used the Persits ASPEmail component at all.
There's a great method for adding the body and altbody of the email from external files - but I can't seem to get the thing to work...
The info on their site says:
--------------------
AppendBodyFromFile(Path as String, Optional AddToBody)
Appends the Body property from a text or HTML file specified by Path. If AddToBody is specified and set to False, the content of the file is appended to AltBody instead of Body. This is a premium feature.
-------------------
When I add the following code:
Mail.AppendBodyFromFile "c:\inetpub\wwwroot\agents\test\test.txt", AddToBody = False
I get the following error...
Variable is undefined: 'AddToBody'
Anyone able to help??
Thanks
Dominic :confused:
There's a great method for adding the body and altbody of the email from external files - but I can't seem to get the thing to work...
The info on their site says:
--------------------
AppendBodyFromFile(Path as String, Optional AddToBody)
Appends the Body property from a text or HTML file specified by Path. If AddToBody is specified and set to False, the content of the file is appended to AltBody instead of Body. This is a premium feature.
-------------------
When I add the following code:
Mail.AppendBodyFromFile "c:\inetpub\wwwroot\agents\test\test.txt", AddToBody = False
I get the following error...
Variable is undefined: 'AddToBody'
Anyone able to help??
Thanks
Dominic :confused: