D
Dave
Hi,
The customer ask the following:
When opening a mail the customer wants a button displayed in the
toolbar which will forward the mail to a certain recipient.
I think the code should be like this (got it form another posting):
Sub ForwardtoDBH()
Item.Recipients.Add "(e-mail address removed)"
Item.Recipients.ResolveAll
If Item.Recipients(1).Resolved = False Then
'not resolved
Else
Item.Forward
End If
End Sub
Tricky issue (for me) is, that the button only should be displayed in
the toolbar when opening a mail...
Is this difficult to implement? How should I proceed?
Cause this is not a custom form, do I assume that I need to modify the
default message form?
Kind regards,
Dave
The customer ask the following:
When opening a mail the customer wants a button displayed in the
toolbar which will forward the mail to a certain recipient.
I think the code should be like this (got it form another posting):
Sub ForwardtoDBH()
Item.Recipients.Add "(e-mail address removed)"
Item.Recipients.ResolveAll
If Item.Recipients(1).Resolved = False Then
'not resolved
Else
Item.Forward
End If
End Sub
Tricky issue (for me) is, that the button only should be displayed in
the toolbar when opening a mail...
Is this difficult to implement? How should I proceed?
Cause this is not a custom form, do I assume that I need to modify the
default message form?
Kind regards,
Dave