Solved

Is it possible to add a footer when using @mailsend?

Posted on 2008-06-23
6
267 Views
Last Modified: 2013-12-18
I use @mailsend to send out notifications of form creations in a database to wide distributions.  It works well, but we have been notified that all corporate emails have to have a specific footer which includes specific text as well as the name and phone number of the sender.  If the form has my name and phone, can a 'final text' be added to the email, after the doclink, including this information?
0
Comment
Question by:jkee54
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 19

Expert Comment

by:madheeswar
ID: 21852877
What you are asking is a signature of the user.
In the mail preferences, you can set the signature details.
There is a chance the user can delete this and send. Apart from this, you can have a generic footer (disclaimer) for your company.
It is very difficult to have a dynamic details for each user.
0
 

Author Comment

by:jkee54
ID: 21854136
I have a signature set in  mail preferences of my email.  However, I am sending mail out of a database that is not my email, and although it goes out under my name as if it's coming from my mailbox, it does not bring in my signature.

In the database, the form has a button that launches an agent with @mailsend code behind it.  The agent sends a doclink to the recipient with some dynamic detail from the form in the body of the email.  Here is the agent code:

@MailSend(
SendRptToTesting;
CopyToTesting;
"";
Title;
GlobalComment ;
"Comments";
[IncludeDoclink])
0
 
LVL 19

Accepted Solution

by:
madheeswar earned 500 total points
ID: 21854200
I am sorry...I thought it is from Mail db.
For this to accomplish, have a profile document for each user.
while sending mail, get the details of the logged in person from this profile document and send the mail.

For this to accomplish, you need to create a new form with
Name, store common name of the user
Phone No:

new View with first column sorted with Name...
display as commonname.
second column will be phone no.,.
create couple of documents..

and before mailsend,
res:=@Dblookup("":"Nocache";"";"NewViewName";@Name([cn];@UserName);2);
@If(@Iserror(res);"";res);
@MailSend(
SendRptToTesting;
CopyToTesting;
"";
Title;
GlobalComment ;
"comments"+@NewLine+res;
[IncludeDoclink])

do some testing and R&D, you will get the result...
Make sure, when ever there is a new person, you need to create a profile document.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:jkee54
ID: 21885676
Is there any way the contents of the 'res' field can go AFTER the doclink?
0
 
LVL 19

Expert Comment

by:madheeswar
ID: 21897786
Nope, u cannot. For this u need to write Lotus Script.
0
 
LVL 19

Expert Comment

by:madheeswar
ID: 21922834
Why "B"? Didn't my solution helped you? Please check the grading system.
Grading is the only way keeps us encouraged.

Please change it to "A" by raising a question while this thread link in Community Support (no points required).

Thanks and regards,
Maddy
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question