Button in Lotus Notes that automatically forwards en email with attachment

Viewed 315

I'm trying to make a button in IBM Notes that automatically forwards emails with attachments to a specific address.

I have looked at 2 previous examples on this website but none of them are working for me and I get the mail forwarded to myself.

Can anyone help?

The 2 codes I've tried are:

_From := @Text(From);
@Command([MailForward]);
@Command([EditNextField]);
@Command([EditInsertText]; _From);
@Command([EditGotoField]; "Body");
@Command([EditInsertText]; "Your text" + @NewLine + "goes here...")

and

FIELD SendTo:= "person@mail.com" ; 
@Command( [MailForwardAsAttachment] )

The IBM Notes version I'm using is # 9.

Thank you

1 Answers

Use the first example and change it to:

@Command([MailForward]);
@Command([EditInsertText]; "person@mail.com");
@Command([EditGotoField]; "Body");
@Command([EditInsertText]; "Your text" + @NewLine + "goes here...")

Replace the email address in second code line with your specific address and adapt the remaining lines too.

Related