Solved

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

Posted on 2008-06-23
6
264 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

For Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

733 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