Search The ForumSearch   RegisterRegister  LoginLogin

MailBee SMTP

 AfterLogic Forum : MailBee SMTP
Subject Topic: Custom Signature in outgoing Emails Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Guests
Guest Group
Guest Group


Joined: 10 November 2003
Online Status: Online
Posts: 262
Posted: 14 July 2004 at 5:07pm | IP Logged Quote Guests

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 View Guests's Profile Search for other posts by Guests
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 15 July 2004 at 7:27am | IP Logged Quote Alex

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 View Alex's Profile Search for other posts by Alex
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide