I believe you could create this with code but I beleive you would have to use
a full trust form.
Another way is to provide a field in your form for them to add addresses to
a to field andd then that would be used for the email data connection.
In 2007 there is a contact control as well.

Signature
Clay Fox / Microsoft InfoPath MVP
www.InfoPathDev.com / The InfoPath Authority / Downloads, Samples, How-To,
Experts, Forum
> Is there a way to program a button so when clicked it opens a blank
> email in Outlook and the PERSON CAN CHOOSE who they want to send the
> email to. This would take the place of going to File/Send to Mail
> Recipient. I know you can enter a predetermined address but I want
> the person filling out the form to have the option and not have to go
> to File/Send to Mail Recipient.
triciabsullivan - 04 Mar 2008 13:44 GMT
On Feb 22, 3:29 pm, Clay Fox <Clay...@discussions.microsoft.com>
wrote:
> I believe you could create this with code but I beleive you would have to use
> a full trust form.
[quoted text clipped - 15 lines]
>
> - Show quoted text -
I'm a beginner......
Is there a way to program a button so when clicked it does the
following:
ALT F, SHIFT D. This will take you to the File menu and then Send to
mail recipient. I'd really like it to just be an attachment instead
of showing the form in the body of the email.
The problem with typing the email address in to a field and using that
as a data connection.... We really don't know the email address of our
co-workers. We use our Outlook directory.
Clay Fox - 04 Mar 2008 14:53 GMT
In 2007 they have a contact control.
Or I typically use an Active Directory Web Service to lookup other users.
With code you could do what you wanted to do as well.
You can also use the send to option but then you do not get the atachment.
Are you savign the file to SharePoint or a central location?
Then you could just add the link to the form in the email. Setup an email
view that you switch to before they email and it would have the hyperlink
listed etc.
Then they could send this.

Signature
Clay Fox / Microsoft InfoPath MVP
www.InfoPathDev.com / The InfoPath Authority / Downloads, Samples, How-To,
Experts, Forum
> On Feb 22, 3:29 pm, Clay Fox <Clay...@discussions.microsoft.com>
> wrote:
[quoted text clipped - 30 lines]
> as a data connection.... We really don't know the email address of our
> co-workers. We use our Outlook directory.
triciabsullivan - 04 Mar 2008 20:24 GMT
> In 2007 they have a contact control.
>
[quoted text clipped - 49 lines]
>
> - Show quoted text -
2003. No Share Point.
I'm not really looking for a way to look up an email address from the
form. I just want to click a button and it opens a blank email in
Outlook with the file attached. The user would click on the To field
in the email and look up the person that way.
Do you want to attach any information to the email message (like the current
form for example) or do you just want a "new email"? If you just want to
create a blank email message, you could add a Hyperlink control to your form
and just set the url to "mailto:"
Gavin.
> Is there a way to program a button so when clicked it opens a blank
> email in Outlook and the PERSON CAN CHOOSE who they want to send the
> email to. This would take the place of going to File/Send to Mail
> Recipient. I know you can enter a predetermined address but I want
> the person filling out the form to have the option and not have to go
> to File/Send to Mail Recipient.