By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,254 Members | 2,365 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,254 IT Pros & Developers. It's quick & easy.

cant send mail to hotmail or yahoo mail

P: n/a
i cant send mail to yahoo mail or hotmail while i can send my other mail
accounts (pop3)
is it becouse yahoo and hotmail is web-based mail
here is the code
MailMessage mailMsg = new MailMessage();
mailMsg.From = from;

from = from + from;

mailMsg.To = "xx*@yahoo.com";
mailMsg.Subject = "from";

mailMsg.Body = "body"

SmtpMail.Send(mailMsg );

Console.Write("ok");

}

code does not return any errors and it sends mail to my other accounts(which
i reach and control with pop3) but mail messages send to yahoo can not be
delivered(still there is no error returning)

whats my problem???

thanks in advance....
Nov 16 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a

"erdem kemer" <er********@hotmail.com> wrote in message
news:ew**************@TK2MSFTNGP15.phx.gbl...
i cant send mail to yahoo mail or hotmail while i can send my other mail
accounts (pop3)
is it becouse yahoo and hotmail is web-based mail


Yes, they are web-based, not smtp mail servers.

Willy.
Nov 16 '05 #2

P: n/a
Willy, can you explain this further? In my little brain, a SMTP client
should work just fine. I imagine that Yahoo has SMTP servers to accept and
send email with a web front-end. This front-end client app may use POP or
IMAP, but that shouldn't be important here. Isn't SMTP how email is
transported (Simple Mail Transfer Protocol)? If Yahoo! didn't support this
protocol, wouldn't they ostracize themselves from the rest of the world?

I am just curious.

Thanks

"Willy Denoyette [MVP]" <wi*************@pandora.be> wrote in message
news:Ou*************@TK2MSFTNGP10.phx.gbl...

"erdem kemer" <er********@hotmail.com> wrote in message
news:ew**************@TK2MSFTNGP15.phx.gbl...
i cant send mail to yahoo mail or hotmail while i can send my other mail
accounts (pop3)
is it becouse yahoo and hotmail is web-based mail


Yes, they are web-based, not smtp mail servers.

Willy.

Nov 16 '05 #3

P: n/a
> mailMsg.From = from;

from = from + from;

mailMsg.To = "xx*@yahoo.com";
mailMsg.Subject = "from";

mailMsg.Body = "body"

SmtpMail.Send(mailMsg );

Console.Write("ok");


some SMTP servers are sensitive on attributes of incoming mail.
for example, if you provide a completely invalid address as the "from"
attribute, the server can refuse to deliver such mail.

try the code again but provide a valid "from" address.

Wiktor Zychla
Nov 16 '05 #4

P: n/a
Yes, hotmail and Yahoo use SMTP as protocol to deliver e-mail accross the
Internet. However, they use http as transport protocol between (Web) client
and (Web) server. They don't expose their POP3 and SMTP services directly to
the public, but use a webserver as gateway to the SMTP backbone.

A little diagram can tell a thousand words (if correctly formatted :-) )....
1)
Browser (sender) to: so*****@somedomain.com
|
| HTTP protocol
V
WebServer (Yahoo)
|
| SMTP protocol
V
SMTP Server (Yahoo)
|
|
V
Internet SMTP protocol
|
|
|
V
SMTP server (ISP) domain: somedomain
|
| POP3 protocol
V
POP3 Client so*****@somedomain.com

2)
Browser (receiver) so*********@yahoo.com
^
|
| HTTP protocol
WebServer (Yahoo)
^
|
| SMTP protocol
SMTP Server (Yahoo) domain yahoo.com
^
|
|
Internet SMTP protocol
^
|
|
SMTP server (ISP)
^
| SMTP protocol
|
SMTP Client sendto: so*********@yahoo.com

Willy.
"Bill O" <billo@_imt_net> wrote in message
news:OT**************@TK2MSFTNGP09.phx.gbl...
Willy, can you explain this further? In my little brain, a SMTP client
should work just fine. I imagine that Yahoo has SMTP servers to accept and
send email with a web front-end. This front-end client app may use POP or
IMAP, but that shouldn't be important here. Isn't SMTP how email is
transported (Simple Mail Transfer Protocol)? If Yahoo! didn't support this
protocol, wouldn't they ostracize themselves from the rest of the world?

I am just curious.

Thanks

"Willy Denoyette [MVP]" <wi*************@pandora.be> wrote in message
news:Ou*************@TK2MSFTNGP10.phx.gbl...

"erdem kemer" <er********@hotmail.com> wrote in message
news:ew**************@TK2MSFTNGP15.phx.gbl...
i cant send mail to yahoo mail or hotmail while i can send my other mail
accounts (pop3)
is it becouse yahoo and hotmail is web-based mail


Yes, they are web-based, not smtp mail servers.

Willy.


Nov 16 '05 #5

P: n/a
Yes, but you are using an SMTP server (your ISP) to relay your message to
yahoo, this won't work without it.

Willy.

"Reshma Prabhu" <Re**********@discussions.microsoft.com> wrote in message
news:81**********************************@microsof t.com...
Following code perfectly worked for me

MailMessage mailMsg = new MailMessage();
mailMsg.From = "xy*@xyz.com";
mailMsg.To = "xy*@yahoo.com";
mailMsg.Subject = "from";
mailMsg.Body = "body";
SmtpMail.Send(mailMsg );
Console.Write("ok");
"erdem kemer" wrote:
i cant send mail to yahoo mail or hotmail while i can send my other mail
accounts (pop3)
is it becouse yahoo and hotmail is web-based mail
here is the code
MailMessage mailMsg = new MailMessage();
mailMsg.From = from;

from = from + from;

mailMsg.To = "xx*@yahoo.com";
mailMsg.Subject = "from";

mailMsg.Body = "body"

SmtpMail.Send(mailMsg );

Console.Write("ok");

}

code does not return any errors and it sends mail to my other
accounts(which
i reach and control with pop3) but mail messages send to yahoo can not be
delivered(still there is no error returning)

whats my problem???

thanks in advance....

Nov 16 '05 #6

P: n/a
Following code perfectly worked for me

MailMessage mailMsg = new MailMessage();
mailMsg.From = "xy*@xyz.com";
mailMsg.To = "xy*@yahoo.com";
mailMsg.Subject = "from";
mailMsg.Body = "body";
SmtpMail.Send(mailMsg );
Console.Write("ok");
"erdem kemer" wrote:
i cant send mail to yahoo mail or hotmail while i can send my other mail
accounts (pop3)
is it becouse yahoo and hotmail is web-based mail
here is the code
MailMessage mailMsg = new MailMessage();
mailMsg.From = from;

from = from + from;

mailMsg.To = "xx*@yahoo.com";
mailMsg.Subject = "from";

mailMsg.Body = "body"

SmtpMail.Send(mailMsg );

Console.Write("ok");

}

code does not return any errors and it sends mail to my other accounts(which
i reach and control with pop3) but mail messages send to yahoo can not be
delivered(still there is no error returning)

whats my problem???

thanks in advance....

Nov 16 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.