Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2008-06-23
6
Medium Priority
?
271 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 1500 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
Technology Partners: 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

Technology Partners: 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!

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…
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

972 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