system.net.mail Questions

10

We are testing the new Office 365 beta, and i have a mail account on the Exchange Online service. Now I'm trying to connect a LOB application that can send smtp emails from my test account. Howeve...
Musclebound asked 5/6, 2011 at 17:50

10

Solved

This question is pointless, except as an exercise in red herrings. The issue turned out to be a combination of my idiocy (NO ONE was being emailed as the host was not being specified and was incorr...
Cochineal asked 8/3, 2010 at 20:42

12

Unable to test sending email from .NET code in Windows Vista Business. I am writing code which I will migrate to an SSIS Package once it its proven. The code is to send an error message via email ...
Hepta asked 17/7, 2009 at 15:5

5

Solved

I have an excel document represented as a byte[] and I'm wanting to send it as an attachment in an email. I'm having a bit of trouble constructing the attachment. I can create an Attachment which...
Tarantass asked 9/2, 2009 at 5:56

4

Solved

When I send an email via outlook or gmail to a gmail email address I can add inline-images which are directly shown in the gmail webinterface: Relevant raw mail-header and raw body parts of the ...
Monocycle asked 28/9, 2015 at 14:41

8

i have a mail account on the Exchange Online service. Now i'm trying to test if i am able to send mails to customers ( on varoius domains and on Microsoft Office 365) through c# application I trie...
Sharecropper asked 9/4, 2013 at 10:13

0

I'm sending emails using System.Net.Mail.SmtpClient. It has an EnableSsl property that seems to work most of the time, but now one user claims that his email provider will only accept connections w...
Treadmill asked 15/8, 2019 at 13:25

7

Solved

I'm writing a program that sends emails to users with multiple images (charts) embedded in the Email message body (HTML). When I tried the sample located here..which worked well when I have to emb...
Gisborne asked 13/8, 2011 at 5:23

5

Solved

Part of the application I'm working on for my client involves sending emails for events. Sometimes these are highly important. My client, and most of my client's clients, use Outlook, which has the...
Chivalric asked 22/4, 2010 at 17:8

7

Solved

I'm trying to write a notification service (for completely legit non-spam purposes) in .NET using SmtpClient. Initially I just looped through each message and sent it, however this is slow and I wo...
Kristine asked 23/12, 2008 at 18:38

4

Solved

I have trouble creating a simple mock mail sender within an ASP NET 5 project. Here the method : public static Task SendMail(string Email, string Subject, string Body) { SmtpClient client = n...
Cheyennecheyne asked 18/5, 2015 at 9:33

0

I'm using System.Net.Mail.SmtpClient. I build my MailMessage. IsBodyHtml is set to true. The Body is some html with some links. Occasionally, some strange behavior occurs - an extra period will g...
Uncinate asked 10/11, 2016 at 17:39

3

Solved

I've recently designed a program in C# that will pull information from SQL databases, write an HTML page with the results, and auto-email it out. I've got everything working [sporadically], the pro...
Klausenburg asked 4/2, 2013 at 17:45

1

So... I have a project in Visual Studio 2015, coded in C#, that sends emails, everything works fine with commom gmails and hotmails, SSL enabled, ports, etc... They are able to send emails and to a...
Litterbug asked 30/6, 2016 at 21:57

4

Solved

I'm trying to talk to Fax server software using an email. The fax server will accept formatted SMTP mails and covert them to faxes and send them to the fax number defined in the to address. This ha...
Astounding asked 2/6, 2011 at 15:47

1

Emails generated using System.Net.Mail.Attachment and System.Net.Mail.LinkedResource contain MIME parts. The question is how to specify the Content-Type Name and Content-Disposition Filename values...
Bayreuth asked 30/1, 2011 at 18:16

1

Solved

In my app I use the RestSharp to query a REST API and System.Net.Mail to send emails. On the program startup I set the ServicePointManager.SecurityProtocol property. If I set the property to: Ser...
Orvalorvan asked 10/11, 2015 at 22:19

2

I am trying to send an email in ASP.NET using the System.Net.Mail.SmtpClient class. However I am getting the following exception message: The parameter 'addresses' cannot be an empty string. Param...
Grison asked 21/11, 2013 at 17:30

1

Does System.Net.Mail.SmtpClient support CRAM-MD5 authentication, and if so, do I need to do anything to enable it? MSDN appears to be silent on the matter.
Asteria asked 12/7, 2010 at 9:40

1

We are using System.Net.Mail namespace in our application to send emails to the users. Is there a way we can request a delivery receipt and read receipt options when sending emails using the above ...
Haematoxylon asked 26/4, 2014 at 14:49

6

Solved

Below is my coding, just have a look at it System.Net.Mail.MailMessage oMail = new System.Net.Mail.MailMessage(); System.Net.Mail.SmtpClient smtp = new System.Net.Mail.SmtpClient(); oMail.From = n...
Isopropyl asked 17/8, 2011 at 15:10

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

2

Solved

I have a problem creating application to send email. I already have one working as a Windows Forms Application and then decided to do the same from the empty project, because I need to make a bac...
Bookstack asked 22/3, 2013 at 1:45

1

Solved

I wanted to send the current log4net log as an email attachment using System.Net.Mail.Attachment but when I pass in the file path an IOException is thrown. Attachment mailAttachment = new Attachme...
Downcomer asked 8/1, 2013 at 18:44

2

Solved

I've been using the System.Net namespace ever since we switched from .NET Framework 1.1 to the 3.5 framework, but there’s one thing that’s been puzzling me since. What's the difference ...
Grodno asked 19/4, 2010 at 15:35

© 2022 - 2024 — McMap. All rights reserved.