Infopath Button Programming Blank Email

T

triciabsullivan

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.
 
C

Clay Fox

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.
 
G

Gavin McKay

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.
 
T

triciabsullivan

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 theemaildata connection.

In 2007 there is a contact control as well.
--
Clay Fox / Microsoft InfoPath MVPwww.InfoPathDev.com/ The InfoPath Authority / Downloads, Samples, How-To,
Experts, Forum





- 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.
 
C

Clay Fox

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.
 
T

triciabsullivan

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.

--
Clay Fox / Microsoft InfoPath MVPwww.InfoPathDev.com/ The InfoPath Authority / Downloads, Samples, How-To,
Experts, Forum









- 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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top