B
Beeawwb
Hello all,
I've had a query referred to which I didn't know the answer so I thought
here's the best place to ask!
We've got a form, and there's a single command button which has 1 line of
VBA as the command.
Sub Commandbutton_1.Click
ActiveDocument.SendMail
End Sub
This opens up an email in Outlook, ready to send, with the document as an
attachment. However, you have to type the email address each time.
Now, I suggested the use of .RoutingSlip to set the subject, email address,
etc and automatically send the email. This of course has the "Allow Access"
security warnings which are less than desirable. So I've pretty much told the
person that they can either bring up the email to type the address without
security warnings, or automatically send with security warnings. I also
considered automating Outlook which I've done in the past, but then I have to
save copies of the document before sending, which I don't want to do as
different users have different network drives.
My question is this: Is there a way to preset the email address used for
Activedocument.SendMail? I couldn't find any documentation that there's any
properties to set, since SendMail is just a method.
Cheers,
Bob
I've had a query referred to which I didn't know the answer so I thought
here's the best place to ask!
We've got a form, and there's a single command button which has 1 line of
VBA as the command.
Sub Commandbutton_1.Click
ActiveDocument.SendMail
End Sub
This opens up an email in Outlook, ready to send, with the document as an
attachment. However, you have to type the email address each time.
Now, I suggested the use of .RoutingSlip to set the subject, email address,
etc and automatically send the email. This of course has the "Allow Access"
security warnings which are less than desirable. So I've pretty much told the
person that they can either bring up the email to type the address without
security warnings, or automatically send with security warnings. I also
considered automating Outlook which I've done in the past, but then I have to
save copies of the document before sending, which I don't want to do as
different users have different network drives.
My question is this: Is there a way to preset the email address used for
Activedocument.SendMail? I couldn't find any documentation that there's any
properties to set, since SendMail is just a method.
Cheers,
Bob