Lotus Forwarding Agent

5 pts.
Tags:
Lotus Notes
Lotus Notes 8.5.1
Lotus Notes Script
LotusScript
Hi there I am trying to get a LotusScript agent to forward an email and although it runs without any error messages, the email doesn't arrive at the designated address, and there is nothing in the sent-mail box. 
Sub Initialize() 
Dim s As New NotesSession 
Dim db As NotesDatabase 
Dim view As NotesView 
Dim doc As NotesDocument 
Dim forward As NotesDocument 
Dim forwardaddress As String 
Dim x As Integer 
Set db = s.CurrentDatabase 
Set view = db.getview("MimeDefang") 
Set doc = view.getfirstdocument() 
forwardaddress="sd@gmail.com" x=0 
Set forward = New NotesDocument(db) 
Call doc.CopyAllItems(forward, True) 
Call forward.Send(false, forwardaddress)


Software/Hardware used:
Lotus Notes 8.5.1 Lotus Domino Designer
ASKED: July 28, 2011  3:52 PM
UPDATED: March 31, 2012  7:45 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

I am not sure if your code is adding the same header that the normal Notes Rule adds for forwarding, but here are suffestions:

Forwarding maybe disabled on the Domino Server level or Mail Filter level.

I actually block it on the mail filter level, I look for: header(“Auto-Submitted”) == “auto-forwarded” This is what the Notes mail rule adds when it performs an auto forward.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Sdray
    [...] Lotus Forwarding Agent [...]
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following