How to Share File to specific receiver email address

I'm develop a windows store app using winRT C++. I can share a file through email but it cannot specific a receiver
email address. Bellow is a part of my code to sharing a file:-
DataRequest^ request = e->Request;
request->Data->Properties->Title = "Testing";
request->Data->Properties->Description = "Email With Attachment";
DataRequestDeferral^ deferral = request->GetDeferral();
create_task(Windows::ApplicationModel::Package::Current->InstalledLocation->GetFileAsync("testing.pdf")).then([this, request, deferral](task<StorageFile^> getFileTask)
try
auto pdfFile = getFileTask.get();
auto storageItems = ref new Platform::Collections::Vector<IStorageItem^>();
storageItems->Append(pdfFile);
request->Data->SetStorageItems(storageItems);
deferral->Complete();
catch (Exception^ ex)
// Calling FailWithDisplayText() also calls Complete on the deferral.
request->FailWithDisplayText(ex->Message);
How can I send the attachment file to a specific email receiver without fill in the email address manually.

Hi Tonberry,
Based on my knowledge, you are using the correct way to share files in windows store app. The share app provides some frequent Contacts as the following image. But there is no options to set the recipients programmatically. If you want this feature, I would
recommend you feature a request on
UserVoice.
Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
the survey.

Similar Messages

  • How to find out which list is associated with specific incoming email address

    Hey Guys,
    I've a received a request today from a user asking me which list was setup with a specific incoming email address.
    Is there a way to find out which list is associated with an email address?
    Thanks

    OK after a bit of research I found a way to achieve this.
    I simply looked up the email address in ADUC, then did a search in SP with the display name. I could locate the list and manually confirm it was configured with the incoming email address I was looking for.
    I also found the below script on Stackoverflow, but got "The 'using' keyword is not supported in this version of the language." when I tried to run it. Any idea how to fix that? I'd like to have a script to link a library to an email address istead of the
    manual approach described above.
    http://stackoverflow.com/questions/4974110/sharepoint-how-do-i-find-a-mail-enabled-list-if-i-only-have-the-email
    $SiteCollection = ""
    $EmailAddress = "" # only the part before the @
    # Load SharePoint module if not done yet
    if((Get-PSSnapin | Where {$_.Name -eq "Microsoft.SharePoint.PowerShell"}) -eq $null) {Add-PSSnapin Microsoft.SharePoint.PowerShell;}
    cls
    using System;
    using Microsoft.SharePoint;
    namespace FindListByEmail
    class Program
    {a
    static void Main(string[] args)
    string siteUrl = $SiteCollection;
    string email = $EmailAddress;
    using (SPSite site = new SPSite(siteUrl))
    foreach (SPWeb web in site.AllWebs)
    try
    foreach (SPList list in web.Lists)
    if (list.CanReceiveEmail)
    if (list.EmailAlias != null && list.EmailAlias.Equals(email, StringComparison.InvariantCultureIgnoreCase))
    Console.WriteLine("The email belongs to list {0} in web {1}", list.Title, web.Url);
    Console.ReadLine();
    return;
    finally
    if (web != null)
    web.Dispose();

  • How to compress file 32+ mb for email attachment

    how to compress file 32+ mb for email attachment, after I used compress it's still shows 29 mb. Is there another step I could do. I am new with MAC so please forgive if this sound simple and stupid question.

    You simply don't attach that file to email.  Even if you could cut the size by half, that's still way too big for email.  Many mail servers will remove attachments over a certain size, and for most of those that size is below 10 MB.  Find another way to share that file, like a web server or Dropbox or something along those lines.

  • I have 3 email addresses with my ISP.  How do I set up my iPhone to receive emails addressed from any one of these addresses

    I have 3 email addresses with my ISP.  How do I set up my iPhone to receive emails addressed from any one of these addresses

    Even though they share the same incoming and outgoing server settings, each is a distinct account, so you just need to set up 3 accounts on your iPhone, one for each email address.
    Or, since these are all from the same ISP, do they have online account management tools to let you forward two of those to the one account you want to be the "master" account?  You still may want separate accounts on your iPhone though, as an account can only have one address associated with it for the "reply" field when responding to emails.

  • How to share files with windows xp

    how to share files with windows xp

    stephenfromdagenaham wrote:
    how to share files with windows xp
    If you mean just moving files between a Mac and a PC with XP on it, get a USB flash drive, format it FAT32 (they usually come that way) and copy the files to that drive.

  • How to share files from imac to macbook ?

    how to share files from imac to macbook ?
    ethernet ?
    firewire?
    airport?
    what is faster and easier to setup and how
    cheers
    olivier

    unless you're sharing very large files, speed will be more or less the same using any of the above connections.
    this support article may prove useful: Mac 101: File sharing.
    you can also use firewire Target Disk Mode.

  • How do I configure Server 3.0 to deliver "undeliverable" mail to a specific "catchall email address?

    How do I configure Server 3.0 to deliver "undeliverable" mail to a specific "catchall email address?
    I had this working in Server 2.0  dunno why it doesn't now, but I can't find the config.

    It's fairly straight forward and there is a GUI option to help you.
    In the Server app, go to Users. Select the User you want to create email aliases for. Right click, or hold down Shift-Ctrl and click on the name. Select 'Advanced Options...' from the menu. You can then enter as many aliases as you want in the 'Aliases'.
    For example: [email protected], @xyz.co.uk, [email protected]
    My example is overkill as I only really needed to add '@xyz.co.uk' as a catch all get everything sent to that domain delivered to that users email address.

  • How to share files with sony smart tv

    How do I share files on mac with my sont smart tv?

    stephenfromdagenaham wrote:
    how to share files with windows xp
    If you mean just moving files between a Mac and a PC with XP on it, get a USB flash drive, format it FAT32 (they usually come that way) and copy the files to that drive.

  • How do I delete my iCloud home email address account?

    How do I delete my iCloud home email address account?

    If you want to migrate your data to a new iCloud account, start by saving any photo stream photos that you want to keep to your camera roll (unless already there) by opening your my photo stream album, tapping Select, tapping the photos, tap the share icon (box with upward facing arrow), then tapping Save to Camera Roll.  If you are syncing notes with iCloud that you want to keep, you'll need to open each of your notes and email them to yourself so you can later copy and paste the text into new notes created in your new account.  Then go to Settings>iCloud, tap Delete Account (which only deletes it from this device, not from iCloud), provide the password to turn off Find My iDevice and choose Keep on My iDevice when prompted.  Then sign back in with a different Apple ID to create your new account and choose Merge to upload your data.

  • HT4528 How do I get rid of duplicated email addressed  & Phone #'s in the could & on my iPHONE?

    How do I get rid of duplicated email addresses & Phone #'s in the cloud & on my iPHONE?

    There could be corrupt files. Try a reset by holding down both the Home and Power keys for 10 to 15 sec.
    Allan

  • How to remove a data usage alert email address

    I receive email alerts when my data usage gets to 75%, 90%, and 100% of usage. How do I remove one of the email addresses these alerts are being sent to (it is not one of my email addresses)?

    Verizon_Dan
    I understand your desire to update which email addresses receive the data usage alerts.  I would love to assist.
    When you log into your My Verizon account online, you can edit your alert settings (email addresses and phone numbers) within the "Manage My Account" section of your online account.  Under the "Manage My Account" tab on the left, click the "Manage Family Safeguards & Controls" link.  Then, under the "Usage Controls" tab, click "View Details & Edit".  Lastly, under the "Usage Limits" tab you will then be able to edit the email addresses that you want to receive email alerts.  Please let me know how this works out for you.
    AnthonyTa_VZW
    Follow us on Twitter @VZWSupport
    If my response answered your question please click the "Correct Answer" button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!!

  • How do I create a new icloud email address for my apple id?

    Hi there
    How do I create a new icloud email address for my apple id? My original email address is associated with my previous employers.
    When I send email from my Macbook, it seems as if I still work there, which is a problem.
    I would like to use the email address that I created for my iPad.
    When I login with my appleid (for my macbook) I keep getting the old company one, not the new one.
    Is there any way of resolving this? I
    Thanks
    Kelvin

    Welcome to the Apple Community.
    Providing you aren't trying to change you Apple iCloud email address you can make changes at My Apple ID

  • I am trying to read my iMessages from my iPhone 4S on my iPad 2, but the messages do not show up on my iPad 2. I made sure that the receiving email address is the same on both devices and both are signed into my single Apple account.

    I am trying to read my iMessages from my iPhone 4S on my iPad 2, but the messages do not show up on my iPad 2. I made sure that the receiving email address is the same on both devices and both are signed into my single Apple account.

    Is it possible that the person who sent the message to your phone sent it to your phone # instead?  Try sending a message to your phone via the email address and see if it shows up on the iPad.

  • I have had to semi-reset and reinstall my hp6500a plus. How do I keep the same eprint email address?

    I have had a network blowup and a new computer and was told to do a semi-reset and full install on my Inkjet hp6500a plus. How do I keep the same eprint email address which I have given out to a number of people? When I did the install I seem to have been re-assigned a new @hpprint address and can't find how to change it back.

    Hi,
    I affraid you will not be able to use the same address.
    Due to security reasons any removed ePrint address (due to Web Services removal, product reset or product replacement) is blocked for any user for 6 months period.
    You may select a difference customized address by following the steps below:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02940150&cc=us&dlc=en&lc=en
    Regards,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • How can I change my apple ID email address when I can't access old email (It's an old work address I can't access anymore)

    How can I change my apple ID email address when I can't access old email (It's an old work address I can't access anymore)? Whenever I try it always wants to send things to my email address to confirm. I have a new apple ID and a new email address, I want to use this now for my iphone and my macbook air but I can't and I'v

    Thanks Lawrence. I've spent over 3 hours on the phone/chatting to online support and none of it seemed to help as it all revolved around resetting emails etc but can't do any of it without my access to my old email. Now my phone won't take cloud because they advised to set up new apple ID and use that, but can't sign out of old one completely. Also doesn't help because my phone and laptop are set up on the old one. Thanks for the help.

Maybe you are looking for

  • Is it possible to modify marker shapes in a line graph

    Hello, Some questions regarding the marker shapes in line graphs. I have a line graph with two series. The client wants one series to have the diamond shape (black border, white inside) and the other series to also be a diamond but be filled in black

  • Playing sound file without using Applet

    Please Help me ! The code below shows an error " Cannot resolve symbol AudioClip" What changes should be made?? import javax.swing.*; import java.net.*; import javax.sound.sampled.*; import java.applet.AudioClip.*; public static void main(String args

  • IMovie still too big

    I thought I had solved my problem by splitting the movie in part 1 and part 2. I took the first part (after I cleared the rest of the movie) and tried to SHARE it with iDVD, But I still get the message that it is too long for a DVD. This first part i

  • Table for Document assigned to WBS

    In which table Document and WBS assignment is captured? Thx

  • How to view custom performance counter data?

    I have created a new MVC application and have added Application Insights to the project. I modified the ApplicationInsights.config file to start collecting the performance counter for Memory\Page Faults/sec. How can I tell if this data is making it t