Solved

Script on how to create an email with a table

Posted on 2004-08-04
6
187 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
ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

 
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

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…
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
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…

831 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