Subject append and forward mail using buttons.

This is a discussion on Subject append and forward mail using buttons. within the lotus-notes-admin forums in Other Technologies category; Hi, sorry if I'm posting in the wrong place. I am trying to create a button which when clicked will forward the mail to another email address and append a comment to the subject line. I can do this if the mail is opened by having the button do the following action; Run @function formula @Command([EditGotoField];FIELD Subject := Subject + :- Approved ); @Command([MailForward]); @Command([EditInsertText]; ) However, I want to achieve the same thing for emails that aren't opened but are just viewed in the preview pane. If I click on the button while the message is displayed in ...

Go Back   Database Forum > Other Technologies > lotus-notes-admin

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 06-24-2008, 11:33 AM
Default Subject append and forward mail using buttons.

Hi,
sorry if I'm posting in the wrong place.

I am trying to create a button which when clicked will forward the
mail to another email address and append a comment to the subject
line.
I can do this if the mail is opened by having the button do the
following action;

Run @function formula

@Command([EditGotoField];FIELD Subject := Subject + " :- Approved");
@Command([MailForward]);
@Command([EditInsertText]; "")


However, I want to achieve the same thing for emails that aren't
opened but are just viewed in the preview pane. If I click on the
button while the message is displayed in the preview pane it just
opens the new message to be forwarded but does not append the comment
in the subject field.

Can anyone suggest a way of doing this?
Ideally it would append the comment and just forward a mail straight
on without opening the mail in a new compose window, but I can live
without that.

Thanks.
Reply With Quote
  #2  
Old 06-24-2008, 06:15 PM
Default Re: Subject append and forward mail using buttons.

I've managed to get what I want by having the button do;

@Command([MailForward]);
@Command( [EditGotoField] ; "EnterSendTo");
@Command( [EditInsertText] ; "");
@Command([EditGotoField]; "Subject");
@Command([EditInsertText]; " ")


It precedes the original subject rather than appending but I can live
with that.
I'd still be interested to know alternative ways of doing this as it's
all new to me but I'm happy with how it's working.
Reply With Quote
  #3  
Old 07-03-2008, 09:00 AM
Default Re: Subject append and forward mail using buttons.

mpbrown276-at-yahoo.co.uk ha scritto:
> I've managed to get what I want by having the button do;
>
> @Command([MailForward]);
> @Command( [EditGotoField] ; "EnterSendTo");
> @Command( [EditInsertText] ; "");
> @Command([EditGotoField]; "Subject");
> @Command([EditInsertText]; " ")
>
>
> It precedes the original subject rather than appending but I can live
> with that.
> I'd still be interested to know alternative ways of doing this as it's
> all new to me but I'm happy with how it's working.


You may add
@Command([EditRight]; @Length( Subject ))
to move the insertion point at the end of subject field
Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 09:51 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Integrated by bbpixel2009 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.