Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Sending mail through Hotmail from DotNet

Reply
Thread Tools

Sending mail through Hotmail from DotNet

 
 
dgk
Guest
Posts: n/a
 
      04-01-2005
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.
 
Reply With Quote
 
 
 
 
The Developer
Guest
Posts: n/a
 
      04-01-2005
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" <sonicechoes-> wrote in message
news:...
> 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.



 
Reply With Quote
 
 
 
 
Bruce Barker
Guest
Posts: n/a
 
      04-01-2005
hotmail does not support smtp, so you can not the asp.net mail class.

-- bruce (sqlwork.com)


"dgk" <sonicechoes-> wrote in message
news:...
>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.



 
Reply With Quote
 
dgk
Guest
Posts: n/a
 
      04-02-2005
On Fri, 1 Apr 2005 14:26:35 -0800, "The Developer"
<> 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" <sonicechoes-> wrote in message
>news:.. .
>> 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.
 
Reply With Quote
 
dgk
Guest
Posts: n/a
 
      04-02-2005
On Fri, 1 Apr 2005 15:36:27 -0800, "Bruce Barker"
<brubar_nospamplease_@safeco.com> wrote:

>hotmail does not support smtp, so you can not the asp.net mail class.
>
>-- bruce (sqlwork.com)
>
>
>"dgk" <sonicechoes-> wrote in message
>news:.. .
>>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.
 
Reply With Quote
 
S Krupa Shankar Subramanian via DotNetMonster.com
Guest
Posts: n/a
 
      04-02-2005
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
 
Reply With Quote
 
dgk
Guest
Posts: n/a
 
      04-02-2005
On Sat, 02 Apr 2005 12:15:42 GMT, "S Krupa Shankar Subramanian via
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.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Was security hole in dotnet 1.1 fixed in dotnet 2.0 Chuck ASP .Net 3 02-08-2007 05:31 PM
pls help me when i sent mail, it vil sending twice instead of once ,am using java.mail,am sending my code.... shailajabtech@gmail.com Java 0 09-28-2006 06:38 AM
Sending mail through Mail::Outlook paddyxmurphy@googlemail.com Perl Misc 2 05-25-2006 04:53 PM
microsoft.public.dotnet.faqs,microsoft.public.dotnet.framework,microsoft.public.dotnet.framework.windowsforms,microsoft.public.dotnet.general,microsoft.public.dotnet.languages.vb Charles A. Lackman ASP .Net 1 12-08-2004 07:08 PM
microsoft.public.dotnet.languages.vb,microsoft.public.windowsxp.print_fax,microsoft.public.dotnet.framework.aspnet SpamProof ASP .Net 0 10-21-2003 12:32 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57