Home > Ask the Domino Experts > ARCHIVE: LotusScript & Application Development Questions & Answers > How do I forward multiple e-mails to numerous people?
Ask The Domino Expert: Questions & Answers
EMAIL THIS

How do I forward multiple e-mails to numerous people?

Todd Fuder EXPERT RESPONSE FROM: Todd Fuder

Pose a Question
Other Domino Categories
Meet all Domino Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 09 December 2002
How do I forward multiple e-mails to a number of people? Should I select a number of e-mails and then forward each mail to each person in the To field?


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
ARCHIVE: LotusScript & Application Development
Date being entered automatically into Replication settings
How can I create an anonymous mail-in form?
How can I restrict some people to creating only certain kinds of documents?
How can I query and add documents from Lotus Notes to SQL Server?
Getting "Frameset Manager IGNORE return code" error message
Is it possible to put unread marks on each of the links in a navigator?
User ID appears as anonymous only when form is opened in IE
Categorize a view based on multiple criteria
Objects in for folders and memo actions
Trying to update existing response docs with new fields

LotusScript
LotusScript agent parses ACL to Microsoft Notepad
LotusScript finds the first occurrence of a string from the right
Clear Recent Contacts view and prevent repopulation in Lotus Notes 8.x
Search Microsoft Active Directory with LotusScript
Three steps to trap and handle save conflicts with LotusScript
Troubleshoot agents by displaying LotusScript variables online
LotusScript sorts lists alphabetically
Run or restart Notes/Domino agents via text messages
LotusScript code rebuilds corrupted busytime.nsf file
Soft-code item names to facilitate LotusScript management

Lotus Notes Domino Mailbox Management
Secure Lotus Notes/Domino 8.x from mail to unknown recipients
Run or restart Notes/Domino agents via text messages
How to create mail files using a LotusScript agent
How to turn off the message recall feature in Lotus Notes 8
Domino server setting and email policy tricks admins must know
Customize the principal field of outgoing email messages
LotusScript action button manages Lotus Notes mail files
JavaScript error encountered when opening Lotus Notes email
Bringing MailRule documents back into view
LotusScript agent moves tagged spam email to junk mail folder

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


There are several possible scenarios that fit your question:

Scenario 1: I have 10 e-mails, the contents of which I want to send to three people. It does NOT matter that the e-mails are combined into one larger e-mail.
Answer 1: Just select the documents in the view and choose Forward. The forward function within Notes will combine all of the selected documents into one e-mail (headers and all) and put it on the screen for you to populate the To field, etc. before sending.

Scenario 2: I have 10 e-mails, each of which I want to send to three people. It DOES matter that the e-mails are kept separate upon sending.
Answer 2: If you've got more than one document selected, it asks who you want to send it to (separated by commas). It then goes through each document in the selection, creates a mail document, applies the new Send To list, updates the subject and puts the entire original document inside the new document (just like Forward does). You can go with this (using prompts to get from the NAB the names, etc.) and add other support -- this is just bare-bones (written from memory), but should get you going.

Try the following:

Dim sess As New NotesSession
Dim ws As New NotesUIWorkspace
Dim maildb As NotesDatabase
Dim docs As NotesDocumentCollection
Dim doc As NotesDocument
Dim newDoc As NotesDocument
Dim sSendTo As String

Set maildb = sess.CurrentDatabase
Set docs = db.UnprocessedDocs
If docs.Count > 0 Then
sSendTo = InputBox$("Send To:", "Send To:", "")
vSendTo = Evaluate("@Explode(""" & sSendTo & """; "","")")
Set doc = docs.GetFirstDocument()
While Not doc Is Nothing
Set newDoc = maildb.CreateDocument
Set newRT = newDoc.CreateRichTextItem("Body")
newDoc.Form = "Memo"
newDoc.Subject = "Re: " & doc.Subject(0)
Call doc.RenderToRTItem(newRT)
Call newDoc.Send(False, vSendTo)
Set doc = docs.GetNextDocument(doc)
Wend
End If

Scenario 3: I have one e-mail I'd like to blast out to possibly hundreds of recipients, and I may need to do it more than once.
Answer 3: Go to Notes.net and look in the Iris Sandbox for the "Shotgun Email" application.




Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Lotus Notes Domino on Blackberry and mobile devices
HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts