Solved

Script on how to create an email with a table

Posted on 2004-08-04
6
197 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
[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
  • 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 250 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
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!

 
LVL 24

Accepted Solution

by:
HemanthaKumar earned 250 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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…
For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
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…

617 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