Solved

Script on how to create an email with a table

Posted on 2004-08-04
6
189 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 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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

 
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

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.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

856 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