Send mail using schedule agent

Hi FolksMy code is as below

memo.sendto=“hanuman maruti”

memo.principal=“xyz”

memo.send(false)

Everything is working fine , but in case of delivery failure

, it is not comming to principal value field person , but it is comming to person by whose name agent is signed

is there any way to send delivery failure to principal field value person.

Anticipating for ur reply

Hanuman

Subject: RE: Send mail using schedule agent

Maybe if you set the ReplyTo field = Principal also?

Subject: RE: Send mail using schedule agent

Dear Andrew I tried with replyto field , it is not working

Subject: RE: Send mail using schedule agent

try setting the From field as well.

Subject: Send mail using schedule agent

You need to use a special version of the fully-qualified name for the Principal field: John Smith/Sales/Acme@NotesDomain. The text “@NotesDomain” MUST be present for the Principal field value to work as expected.

Subject: RE: Send mail using schedule agent

Dear PaulFrom field we cannot modify ,

Dear Stan

I have tried with full name along with domain name

Hanuman Maruti/MUM/TCS@TCS

But this one is also not working.

Thanks and Regard

Hanuman

Subject: RE: Send mail using schedule agent

Not domain name – you need the actual text “@NotesDomain”.

Subject: RE: Send mail using schedule agent

Dear Stan,Thanks for responding, but still it is not working

my code is as below

            a(0)="hanuman.maruti@abc.com"

a(1)="a@tt.com"

doc.SendTo = a

doc.Principal="Josy Joy/MUM/ABC@NotesDomain"

doc.Subject = "Here's the document you wanted"

Call doc.Send( False )

and the mail is comming like this

Josy Joy/MUM/ABC@NotesDomain sentby hanuman maruti

because agent is signed by my name.

Then also it is not working ,Delivery failure is not comming to principal field value person.

Subject: RE: Send mail using schedule agent

Dear Hanuman,

doc.principal = "CN=John Doe/OU=Org1/O=Org@NotesDomain.

HTH,

Daniel

Subject: RE: Send mail using schedule agent

Dear Admin and StanStill not working, I have seen so many problem of this type in this forum, But everyhere people said @notesdomain is not working.

Is it like Principal field will not work in case of delivery failure.

If there is some other solution ,please provide me or might be i am doing some mistake.

doc.SendTo="ABC.Def@uu.com"

doc.Principal=“CN=Zankar Abhyankar/OU=MUM/O=XYZ@NotesDomain”

doc.send(false)

Subject: RE: Send mail using schedule agent

Hi Hanuman,I’m not sure if this is still an issue for you now but I’ll post inc ase anyone else is searching. The key for Delivery Failure is to change the ‘SMTPoriginator’ field. This is the SMTP header used for Delivery Failure - not Principal (but change that as well) …

doc.SendTo="ABC.Def@uu.com"

doc.Principal=“CN=Zankar Abhyankar/OU=MUM/O=XYZ@NotesDomain”

doc.SMTPoriginator = “zankar.abhyanka@xyz.com” 'Or whatever the real SMTP email address is

doc.send(false)

… or whatever the SMTP email address is where you want the Delivery Failure to go.

Regards,

Gordon