Hi,we´re sending emails manually via lotusscript.
For the delivery we use groups (nested groups).
Now we´ve the problem , that the emails are delivered twice.
Where´s the problem, what can we do to change it ?
Your help is greatly appreciated.
Stefanie
Script :
Sub FormErstelleMail_Stoerung_iSeries_OFF
On Error Goto Errorhandling
Dim ws As New NotesUIWorkspace, uidoc As NotesUIDocument, doc As NotesDocument, vDoc As NotesDocument
Dim Fehler As String, vUIDoc As NotesUIDocument, sn As New NotesSession
Set uidoc = ws.CurrentDocument
Set doc = uidoc.Document
If ErzeugeVermerk( doc, vDoc, "", "", "", 0, Fehler ) = False Then Error 15100, Fehler
vDoc.ReplaceItemValue "f_isEMail", "1"
vDoc.ReplaceItemValue "MailStatus", "1"
vDoc.ReplaceItemValue "SendTo", "$Webfacing, $Shop_Anwendung, Partner International"
vDoc.ReplaceItemValue "From", "CN=IT Service/O=aswo"
vDoc.ReplaceItemValue "FromDate", Now
vDoc.ReplaceItemValue "DeliveryPriority", "N"
vDoc.ReplaceItemValue "ReturnReceipt", "0"
vDoc.ReplaceItemValue "Subject", "XX"
vDoc.ReplaceItemValue "Body", "XX"
Set vUIDoc = ws.EditDocument( True, vDoc )
Exit Sub
ErrorHandling:
If Err > 15000 Then
Messagebox Error$, 16, "Fehler:"
Else
Messagebox Error$ & " in [FormErstelleMail_Stoerung_iSeries_OFF] in [sbActions], Zeile " & Cstr(Erl), 16, "Fehler:"
End If
Exit Sub
End Sub