Tag: send

How to Programatically Send Email with attachments in Windows Phone 8.1 using C# ?

Below is a sample code snippet that demonstrates how to send email with attachments programmatically in Windows Phone 8.1 using C# . How to Programatically Send Email with attachments in Windows Phone 8.1 using C# ? EmailMessage objEmail = new EmailMessage(); objEmail.Subject = “Abundantcode Article”; var localAppFolder = Windows.Storage.ApplicationData.Current.LocalFolder; var fileHandle = await localAppFolder.CreateFileAsync(“AbundantcodeData.txt”, Windows.Storage.CreationCollisionOption.ReplaceExisting); objEmail.Attachments.Add(new EmailAttachment(fileHandle.Name, fileHandle)); await EmailManager.ShowComposeNewEmailAsync(objEmail); Tutorials you might find interesting:Senthil-Kumar-B-Posted-by-Senthil-Kumar-B-August-12-2020-CSharp-3-Min-Read-Microsoft-had-released-the-preview-version-of-.NET-5-some-time-back-which-comes-with-C-9-Preview-too.-While-it-is-sti…Azure…

How to send email in Windows Phone 8 Application Programatically using C#?

The Windows Phone 8 SDK provides the EmailComposeTask which can be used to send email in Windows Phone 8 Programatically. The EmailComposeTask launches the Email Compose screen which lets the user to verify the email content and tap on the “send” button to send email. How to send email in Windows Phone 8 Application Programatically using C#? Below is a sample code snippet that demonstrates…