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

x
?
Solved

Script on how to create an email with a table

Posted on 2004-08-04
6
Medium Priority
?
207 Views
Last Modified: 2013-12-18
Hi guys

I need to include info in the body of an email as so


Name:  James Wood

EMp#: 123

Sometext:   More info etc......

Should this be done by creating a memo form and adding a table with the text and field names and filling via script or by script entirely

This is going to be an automated mailing process based on staus of the form

REgards

James
0
Comment
Question by:imjamesw
  • 3
  • 2
6 Comments
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 11718364
It could be done either by formula or script..

Formula is much easier

Remarks := "Name:  James Wood

EMp#: 123

Sometext:   More info etc......
" ;

@MailSend(SendTo;"";"";"Subject";Remarks;"")

~Hemanth
0
 
LVL 31

Assisted Solution

by:qwaletee
qwaletee earned 750 total points
ID: 11718707
You ca do it with the form combined with [MailForward].  Or you could create HTML for it and use the import function of NotesUiDocument.  Either way, you are going to probabkt have to open the memo form and use the sloppy front-end routines to modify fields.

The other way is to set up the form with a table and SendTo and Subject fields.  Set up the form as store-form-in-document, and a simple @MailSend or [MailSend] will do it (no parameters needed with either).
0
 

Author Comment

by:imjamesw
ID: 11718963
I need the fields to fill in automatically

It does not actually require a table just the format of

xxx        yyyyyyyyyy
xxx         yy

The memo also has to be encrypted when sent as well

0
Industry Leaders: 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!

 
LVL 24

Accepted Solution

by:
HemanthaKumar earned 750 total points
ID: 11725815
Still the same formula can be used

Remarks := "Name:  " + USERFIELD + @newLine + "EMp#: " + EMPNO + @newLine +  "Sometext:  " + SomeText ;

@MailSend(SendTo;"";"";"Subject";Remarks;""; [ENCRYPT])
0
 

Author Comment

by:imjamesw
ID: 11727776
How do I encrypt in script
0
 

Author Comment

by:imjamesw
ID: 11728818
Got it
emailDoc.EncryptOnSend = True
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

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.
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

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