473,503 Members | 1,803 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Sending mail through Hotmail from DotNet

dgk
I looked around for Sending Email hints and found quite a few, but I
don't see how to do it with a hotmail account or anything where I have
to logon. I'm willing to send them through the server, in fact I want
to send about a hundred copies of the same mail to a membership list.

What I don't see in the MailMessage or SmtpMail (static I guess)
object is any properties for an account and password. Any pointers on
where to look is greatly appreciated.
Nov 19 '05 #1
6 5773
MailMessage Message = new MailMessage();

Message.Fields["http://schemas.microsoft.com/cdo/configuration/smtpauthentic
ate"] = 1;

Message.Fields["http://schemas.microsoft.com/cdo/configuration/sendusername"
] = strUserName;

Message.Fields["http://schemas.microsoft.com/cdo/configuration/sendpassword"
] = strPassword;

"dgk" <so******************@hot-nospamp-mail.com> wrote in message
news:7d********************************@4ax.com...
I looked around for Sending Email hints and found quite a few, but I
don't see how to do it with a hotmail account or anything where I have
to logon. I'm willing to send them through the server, in fact I want
to send about a hundred copies of the same mail to a membership list.

What I don't see in the MailMessage or SmtpMail (static I guess)
object is any properties for an account and password. Any pointers on
where to look is greatly appreciated.

Nov 19 '05 #2
hotmail does not support smtp, so you can not the asp.net mail class.

-- bruce (sqlwork.com)
"dgk" <so******************@hot-nospamp-mail.com> wrote in message
news:7d********************************@4ax.com...
I looked around for Sending Email hints and found quite a few, but I
don't see how to do it with a hotmail account or anything where I have
to logon. I'm willing to send them through the server, in fact I want
to send about a hundred copies of the same mail to a membership list.

What I don't see in the MailMessage or SmtpMail (static I guess)
object is any properties for an account and password. Any pointers on
where to look is greatly appreciated.

Nov 19 '05 #3
dgk
On Fri, 1 Apr 2005 14:26:35 -0800, "The Developer"
<pi*******@gmail.com> wrote:
MailMessage Message = new MailMessage();

Message.Fields["http://schemas.microsoft.com/cdo/configuration/smtpauthentic
ate"] = 1;

Message.Fields["http://schemas.microsoft.com/cdo/configuration/sendusername"
] = strUserName;

Message.Fields["http://schemas.microsoft.com/cdo/configuration/sendpassword"
] = strPassword;

"dgk" <so******************@hot-nospamp-mail.com> wrote in message
news:7d********************************@4ax.com.. .
I looked around for Sending Email hints and found quite a few, but I
don't see how to do it with a hotmail account or anything where I have
to logon. I'm willing to send them through the server, in fact I want
to send about a hundred copies of the same mail to a membership list.

What I don't see in the MailMessage or SmtpMail (static I guess)
object is any properties for an account and password. Any pointers on
where to look is greatly appreciated.


Excuse me? (scurries around the net trying to figure out what this
is). Oh my, you aren't kidding. Those really are literals!

http://objectsharp.com/Blogs/bruce/a...3/03/1465.aspx

Not that I doubted you for a minute. Nice to see that my instincts
were right but the solution was weird.
Nov 19 '05 #4
dgk
On Fri, 1 Apr 2005 15:36:27 -0800, "Bruce Barker"
<br******************@safeco.com> wrote:
hotmail does not support smtp, so you can not the asp.net mail class.

-- bruce (sqlwork.com)
"dgk" <so******************@hot-nospamp-mail.com> wrote in message
news:7d********************************@4ax.com.. .
I looked around for Sending Email hints and found quite a few, but I
don't see how to do it with a hotmail account or anything where I have
to logon. I'm willing to send them through the server, in fact I want
to send about a hundred copies of the same mail to a membership list.

What I don't see in the MailMessage or SmtpMail (static I guess)
object is any properties for an account and password. Any pointers on
where to look is greatly appreciated.


Bummer. Who does? Yahoo? Perhaps with additional money. Google? A
quick look says nothing about SMTP. Maybe I can use my Road Runner
account. Any suggestions greatly appreciated.
Nov 19 '05 #5
Hi DGK,

Gmail gives POP3 and SMTP support... just it is that it is not the usual
SMTP (25) and POP3 (110) ports.

More info at the Settings/configuring gmail in outlook express article in
the help section in Gmail.

Krupa

--
Message posted via http://www.dotnetmonster.com
Nov 19 '05 #6
dgk
On Sat, 02 Apr 2005 12:15:42 GMT, "S Krupa Shankar Subramanian via
DotNetMonster.com" <fo***@DotNetMonster.com> wrote:
Hi DGK,

Gmail gives POP3 and SMTP support... just it is that it is not the usual
SMTP (25) and POP3 (110) ports.

More info at the Settings/configuring gmail in outlook express article in
the help section in Gmail.

Krupa


Thanks. I enabled my roadrunner account and I'll likely just go with
that.
Nov 19 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1286
by: Richard Loupatty | last post by:
To send an aspx to email i use this code below: Dim objMM As New MailMessage Dim client As New System.Net.WebClient Dim buffer() As Byte =...
1
996
by: Cantekin Guneser | last post by:
i am writing wep app. and i send mail from one page , i need to ad attacment to mail whic is at client, i am doing as folloving copying file to server adding attacment to mail sending mail then...
2
1041
by: Jake | last post by:
Hello, We are working on creating a company newsletter for our clients that want to receive it. We are wanting to send it via email and have it displayed in the body of the email not as an...
4
1188
by: Adriano | last post by:
Hello, I'm using VS.NET 2003, can anyone please send me a code for sending emails/ thanks in advance! Adriano
10
599
by: herbert | last post by:
I am a hotmail user. 1) How do I send e-mail from my .NET 2.0 app via hotmail? How should the following lines look like? Assume my hotmail username is HMUN, my hotmail password is HMPW. Dim...
5
2148
by: Zile | last post by:
I am trying to send mail from web page in asp.net 2.0/VB 2005: Dim Poruka As New System.Web.Mail.MailMessage myMessage.From = "matematic@gmail.com" myMessage.To = "matematic@hotmail.com"...
2
1935
abdoelmasry
by: abdoelmasry | last post by:
Hi Guys Could Any One Help me to use mail() function ?? I can use mail() to send messages to any mail server but i have problem while sending to HOTMAIL Im Using this code : <?php...
9
3432
by: JoeP | last post by:
Hi All, How can I find the reason for such an error: Failure sending mail. Some Code... oMailMessage.IsBodyHtml = False oMailMessage.Body = cEmailBody Dim oSMTP As New SmtpClient...
31
12607
by: happyse27 | last post by:
Hi All, I am trying for weeks how to send email from windows pc, which from my gmail account to my hotmail account. Using net::smtp module sending email failed,Kindly assist. (for the item d it...
0
7202
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7086
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7280
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6991
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5578
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4672
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3167
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3154
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
380
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.