Link to Email in InfoPath form

We all know how to create a link to an email in html page using the anchor tag. Do you know that the same is possible in InfoPath Form? Yes, we can do the same in infopath form in much simpler way. Here are the steps:

  • Consider the below Thank You Page(view) where we need to create a link to email for “Sathiya”

thank-you-page

  • Select the word and click on Insert->Hyperlink under Links section

insert-hyperlink

  • In Insert Hyperlink dialog box, type the email address as mailto:sathiya@abc.com in address box and click ok
  • When you preview the form, you will see Sathiya as an hyperlink which upon clicking opens outlook with To address as Sathiya

linking-with-outlook

Thats it!!!

Isn’t it much simpler? We are going to follow the same step when we need to add someone to CC, BCC just by replacing the address. Well, many of you may know how to change the email address for adding CC, BCC, subject and body, let me put them below to see everything at a single page.

To create email link with To and CC:

  • Replace the address as mailto:Sathiya@abc.com?cc=Rai@xyz.com

To create email link with To, CC and BCC:

  • Replace the address as mailto:Sathiya@abc.com?cc=Rai@xyz.com&bcc=Ganga@abc.com

To create email link with To and Subject:

  • mailto:Sathiya@abc.com?Subject=Form related queries

To create email link with To, Subject, CC and BCC:

  • mailto:Sathiya@abc.com?Subject=Form related queries&cc=rai@xyz.com&bcc=ganga@pqr.com

To create email link with many persons in To & CC and with subject:

  • mailto:Sathiya@abc.com;Jhansi@abc.com;Varun@abc.com?Subject=Queries&cc=Rai@xyz.com;amit@xyz.com

To create an email link with To, Subject, CC, BCC and body:

  • mailto:Sathiya@abc.com;Jhansi@abc.com?Subject=Queries&cc=Rai@xyz.com&bcc=ganga@xyz.com&body=Could you please answer the below queries

To create an email link with multiple lines in body:

  • mailto:Sathiya@abc.com?Subject=Queries&body=Hi Team, %0A Could you please clarify the below queries.

where %0A is linefeed (new line).

 
If you found it useful, please like and rate this!!

Advertisements

Leave a Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s