adspace


Explain how do I add a disclaimer to outgoing smtp messages in visual basic/visual basic script?

Answer Posted / Ankur Khurana

To add a disclaimer to outgoing SMTP messages using Visual Basic or Visual Basic Script, you can create a function that appends the disclaimer to the email body before it is sent. Here's an example in VBScript:nnFunction AddDisclaimer(emailBody) Dim disclaimer disclaimer = "Your Disclaimer Text" emailBody = emailBody & vbCrLf & disclaimer End Function

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What’s powershell, and how do you feel about it?

1181