Mail Send to GROUPS, how to avoid mail send to sender?

Hi …

I have a auto mail (written in LotusScript) built in a HR Leave Application Database.

When Staff A Applying for Leave, a mail will be generated and send to StaffA’s group.

For example: Staff A belongs to StaffA/Account/ABCCompany

A mail will be sent to “Account” department (group) when StaffA applying for leave.

Strangely, This mail is being received by StaffA himself too. I thought it would behave like LotusNotes mail, when you send mail to your own group, you should not receive that mail.

How to avoid that?

Many Thanks!

Subject: Mail Send to GROUPS, how to avoid mail send to sender?

Can you say more about your codes which realizes the function of sending email to the group. If you put the group name in the SendTo field, it is sure that the sender is one of the receiver. Maybe you can try this way:Forall a in GroupList

if a=senderName then

   a=0

   exit forall

end if

end forall

Hope above will help you