Solved

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

Posted on 2008-06-23
6
261 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
  • 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

911 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now