Author |
|
Vara Challa Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 14 July 2004 at 5:07pm | IP Logged
|
|
|
Hi Alex,
I looked into the documentation and did not find any methods for attaching a signature to emails going out from a user. Is there something i am overlooking.
Also, When i click on forward and reply the subject is comming up as blank.
Thanks
Prasad Challa
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 15 July 2004 at 7:27am | IP Logged
|
|
|
To add signature to email, just append signature's text to the message. There is no special methods for this because it's fairly simple:
SMTP.Message.BodyText = "your message text"
...
' Add signature
SMTP.Message.BodyText = SMTP.Message.BodyText & _
vbCrLf & vbCrLf & _
"Thanks," & vbCrLf & _
"Prasad Challa"
SMTP.Send
Also, you can reference WebMail's code to learn how signatures are added to the message (such as HTML signatures):
new.asp line 63 and below - signature usage
RestoreSignature function used there is declared in functions_new.inc.asp (line 466).
As for Forward/Reply issues, this was fixed some time ago. I sent you updated version of the ASP script to be replaced to challavprasad@yahoo.com address.
Regards,
Alex
|
Back to Top |
|
|