Link to home
Start Free TrialLog in
Avatar of RichardStarkey
RichardStarkey

asked on

Mass mail out addressed to recipient names


Hi,
Is it possible to write one e-mail to numerous people from your address book (or group of people) were the text is configured to the person reading it?

So if I've a group of people Tom, Dick, Harry and write "Dear name" the word name will be replaced by the persons name when they read the mail?  

These people are not necessarily Lotus Notes users so I'm not sure if having some computed text in the mail body which pulled in the common name would work?
Thanks,
Richard.
Avatar of madheeswar
madheeswar
Flag of Singapore image

this may not be possible.

Instead what u should do is,

I assume this is not in a mail database.
Write a script which will get values based on the group name.
Like:
group=listof names
For x=0 to group.values
msg1="Dear "+group.values(x)

maildoc.sendto=group.values(x)
call maildoc.send
next

Something like the above.
In  a Body field, u can't have Computed text. basically it is a Field.
You need to develop an application to do this.  But luckily, there are free apps or examples (depends on how you look at this) available.  
Look in the sandbox :
http://www-10.lotus.com/ldd/sandbox.nsf/ecc552f1ab6e46e4852568a90055c4cd/c45572e203db862385256915006a59f7?OpenDocument&Highlight=0,shotgun

cheers,

Tom
Avatar of qwaletee
qwaletee

Computed text WOULD work for Lotus Notes internal users.  Computed text does not work when sent out via SMTP (Internet users).  Instead, you need FIELDS, which means designing a custom form and having the form sent with the document, so that:

1) Notes users will read the message using your custom form
2) The SMTP converter will pay attention to the same custom layout including your "personalization" fields, and attempt to convert it to HTML


An alternative: You can develop a custom message body layout, and use code to create STANDARD messages that contain the text "pasted" from the custom form.  Teh custom form is only used to prepare th tet, which then gets copied into regular messages, but with the custom text intact.

Next issue is how to design the custom form so that it contains "Dear John," -- the first name.  This will probably involve a further customization of your address book. Alternatively, yo can move the contacts into a folder, and set some external code to use that folder for the distribution list.

One thing you will NOT be able to do (or at least without making it harder on yourself) is to put the names into a group, and just use th egroup.  That's because the group is just a bunch of text consisting of the mail addresses and/or contact names.  To pul the first name, something would have to read the group members, put the address in the To field, then try to figure out what contact the name is based on, so it can pull the first name from the contact.  Much better off just using a folder of fcontacts and treating that folder as a distribution list.
Avatar of RichardStarkey

ASKER


hmmm.. slightly more complicated then I thought it would be.  I was hoping there would be a standard function in the Lotus Notes mail file which would allow this.  My company has a pretty strong reluctance to modify or change the design of the mailfile template or the address book template so I would be pushed to get any thing of that ilk pushed accepted.

I've actually got it working in several applications already using script similair to Madheeswar's.  I can select the list of receipients, create the mail message and the 'Send' action of the form creates individual mails for each recipients.  I use predefined codes in the mail message (eg; *FN* for first name, *SN* for surname) which my action looks for and then replaces with the personalised information from the receipient's personell document
ASKER CERTIFIED SOLUTION
Avatar of qwaletee
qwaletee

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial