mailmessage Questions
6
Solved
I am experiencing some problems sending emails with MailMessage. I have two email accounts, ([email protected], and [email protected]) and I would like account2 to send an email to accoun...
Arbutus asked 31/7, 2013 at 6:5
5
Solved
I'm sending MailMessages with an SmtpClient (being delivered successfully) using an Exchange Server but would like my sent emails to go to the Sent Folder of the email address I'm sending them from...
Domoniquedomph asked 18/3, 2010 at 15:49
1
When I send a mail with the option "Encrypt only" in Outlook
I receive a mail like this :
Currently, I use SMTPClient with MailMessage to send mail :
MailMessage message = new MailMessa...
Rhoda asked 6/9, 2022 at 7:34
5
Solved
I have multiple email recipients stored in SQL Server. When I click send in the webpage it should send email to all recipients. I have separated emails using ;.
Following is the single recipient co...
Derivation asked 6/5, 2014 at 1:21
6
Solved
How do I save MailMessage object to the disk? The MailMessage object does not expose any Save() methods.
I dont have a problem if it saves in any format, *.eml or *.msg. Any idea how to do this?
...
Vector asked 12/8, 2009 at 7:16
2
I am using the .Net Core 1.2 with Amazon SES(SimpleEmail) to send the Emails(Raw Emails).
Below is the working code version we have used in .net framework 4.5:
public MemoryStream ConvertMailMe...
Superclass asked 4/8, 2017 at 4:12
3
Solved
Trying to send email to multiple recipient using below code gives me this error:
The specified string is not in the form required for an e-mail
address.
string[] email = {"[email protect...
Severen asked 1/9, 2015 at 12:26
2
Solved
I create an application that gets email from mail server.
I use "System.Net.Mail.MailMessage" for receive email.
Now I want to get "Date and Time" of each email that ins in Inbox.
Tangram asked 3/10, 2012 at 12:50
3
Solved
Using the SmtpClient and MailMessage classes in .NET to send emails through a local mail server (hMailServer), I currently found no way to get the Message-ID header value of a sent message.
The ide...
Polypody asked 27/5, 2012 at 19:18
2
Solved
I'm currently looking at serializing a MailMessage object in C# and although there are a couple of variations of an example on the net, they serialize to binary which kind of misses the point IMO.
...
Tithonus asked 11/9, 2013 at 15:31
8
Solved
I have a text like " Hi, \r\n this is test \r\n Thanks" I am sending the mail using MailMessage class. I have set the "IsBodyHtml" property to false. The issue is that I am receiving mails without ...
Ops asked 13/7, 2011 at 14:45
4
Solved
I have a class that sends an Email (MailMessage) but I get the following error:
"The specified string is not in the form required for a subject."
Is there a handy dandy method to sanitize the ...
Iormina asked 30/8, 2011 at 7:4
10
Solved
HI, I am trying to send a simple notification using system.net.mail.mailmessage. I just pass the string as the message body. But problem is even though multi-line message been send have the correct...
Erratum asked 14/10, 2010 at 8:32
1
Solved
I am currently using Papercut in order to test sending emails over an SMTP server connection in C#.
The emails that I need to send have files attached to them however the files do not seem to app...
Laurasia asked 14/10, 2016 at 10:49
6
In a Windows Forms project, I used the SmtpClient and MailMessage class in order to send information by email.
Is there an equivalent for Windows Phone 8?
Evesham asked 19/2, 2013 at 14:11
5
Solved
When creating a MailMessage object by calling the "CreateMailMessage" method on the MailDefinition class, the third parameter is an object of type System.Web.UI.Control.
MailDefinition mail = new ...
Stew asked 13/4, 2009 at 14:44
7
Solved
i was trying to add multiple to address like this.
MailAddress mailAddressTo = new MailAddress("[email protected];[email protected]","Vetrivelmp");
but throws error l...
Bimonthly asked 16/3, 2012 at 11:8
4
I'm trying to use an embedded image in an e-mail as the background image, i've got the following code to embed it:
LinkedResource backgroundLink = new LinkedResource("..\\..\\background.gif");
b...
Manta asked 20/11, 2009 at 13:54
2
I am using SmtpClient to send an email to multiple recipients. As employees leave the company, their email addresses become invalid. Since their email addresses remain in our database until deleted...
Imhoff asked 7/11, 2012 at 16:31
1
Solved
I'm trying to send a password reset email, but I'm having trouble figuring out how to specify the sender's address.
Here's what I'm trying to do:
MailMessage mail = new MailMessage();
mail.From.A...
Warmongering asked 21/6, 2013 at 21:56
4
This is the code I wrote:
MailMessage mail = new MailMessage("[email protected]", "[email protected]");
mail.Subject = "This is a test!!";
mail.Body = "testing...";
SmtpPermission ...
Sitwell asked 14/12, 2008 at 15:3
5
Solved
I am using this code to send an SMTP email via the yahoo SMTP server, it is for a personal project I am writing.
using System.Net.Mail;
using System.Net;
SmtpClient theClient = new SmtpClient("sm...
Commodus asked 23/2, 2011 at 14:31
2
I'm trying to send HTML e-mails with attached Excel filenames. It all worked well until I neded to send messages whose attachment name contains accented letters :-( Every workaround I've tried fail...
Dithyramb asked 18/3, 2011 at 9:3
3
Solved
Using the MailMessage class in .NET 4, I found an issue today that I'm unable to resolve so far. Please see the following code:
using (var message = new MailMessage())
{
message.From = new MailAd...
Uninspired asked 27/12, 2011 at 9:8
6
I am building an application where i am obligated to create a MailMessage (System.Net.mail.MailMessage) and save it on the disk as .msg extention not .eml
Below is the method i'm using to save a M...
Fiddlefaddle asked 11/3, 2010 at 9:0
1 Next >
© 2022 - 2024 — McMap. All rights reserved.