473,841 Members | 1,810 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

cant send mail to hotmail or yahoo mail

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(m ailMsg );

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
6 5076

"erdem kemer" <er********@hot mail.com> wrote in message
news:ew******** ******@TK2MSFTN GP15.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
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******** *****@TK2MSFTNG P10.phx.gbl...

"erdem kemer" <er********@hot mail.com> wrote in message
news:ew******** ******@TK2MSFTN GP15.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
> mailMsg.From = from;

from = from + from;

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

mailMsg.Body = "body"

SmtpMail.Send(m ailMsg );

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
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*****@somedom ain.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*****@somedom ain.com

2)
Browser (receiver) so*********@yah oo.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*********@yah oo.com

Willy.
"Bill O" <billo@_imt_net > wrote in message
news:OT******** ******@TK2MSFTN GP09.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******** *****@TK2MSFTNG P10.phx.gbl...

"erdem kemer" <er********@hot mail.com> wrote in message
news:ew******** ******@TK2MSFTN GP15.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
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**********@d iscussions.micr osoft.com> wrote in message
news:81******** *************** ***********@mic rosoft.com...
Following code perfectly worked for me

MailMessage mailMsg = new MailMessage();
mailMsg.From = "xy*@xyz.co m";
mailMsg.To = "xy*@yahoo.com" ;
mailMsg.Subject = "from";
mailMsg.Body = "body";
SmtpMail.Send(m ailMsg );
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(m ailMsg );

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
Following code perfectly worked for me

MailMessage mailMsg = new MailMessage();
mailMsg.From = "xy*@xyz.co m";
mailMsg.To = "xy*@yahoo.com" ;
mailMsg.Subject = "from";
mailMsg.Body = "body";
SmtpMail.Send(m ailMsg );
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(m ailMsg );

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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
3805
by: PawelR | last post by:
Hi, everbody. How send e-mail if smtp need authorization. If authorization is not required send email is not problem but I use SmtpMail.Send(myMail) PawelR
14
9151
by: supz | last post by:
Hi, I use the standard code given below to send an email from an ASP.NET web form. The code executes fine but no Email is sent. All emails get queued in the Inetpub mail queue. I'm using my local default SMTP Server and my from address is a valid Yahoo/Hotmail address. I have configures the local SMTP Server to allow the IP Address 127.0.0.1.
13
5228
by: stam | last post by:
hello guys, i have met a problem that i can send the html e-mail by using MIME via php to yahoo mail and hotmail, but when i was try to send to gmail, it show all the html coding. can someone help me to solve this kind of problem? thank you the coding i made----->: <?php $a=<<<A
1
1462
by: nizam | last post by:
Hi all, i have a simple Problem. i have written a code in asp.net for sending email. my code is working fine. but entire body content is not going only 1000 bytes are going. above 1000 bytes all are truncted. i want my mail message to carry >1000 bytes. the error i think are as follows: X-Mailer : Microsoft CDO for Windows 2000 IPlanet-SMTP-Warning Lines longer than SMTP allows found and truncated.
5
1492
by: fanor | last post by:
I have a windows aplication and i would like to send email. Does anyone one know what is the yahoo server??? TIA PD: my aplication is in VS 2005 and c#.
3
1663
by: Dave | last post by:
I am trying to write code to help me send an email. I have the email address to sent to, stored in a database. I've read several articles and I'm not sure what is meant by placing "yourmailserver" as a value. I plan to distribute this program to several users. They could be using Yahoo, Hotmail, POP 3 or SMTP. So I cannot hardcode the mailserver name. Is there some generic mailserver? I have seen some use of localhost as mail server. Is...
0
6351
by: jlconde | last post by:
I have a classe to send mails. It runs on yahoo well but with hotmail I never receive the mails.I do not receive an error neither. I would need some strange header to make the hotmail like my email???? My code is: import java.net.*; import java.io.*; import java.util.*;
2
6805
by: mabubakarpk | last post by:
Hello All, I want to send mail through asp.net to other my company domain e.g yahoo, hotmail etc Code is as below ////Start Code//////// Imports System.Net.Mail Dim MailMessage As MailMessage = New MailMessage
0
1738
by: Roba roro | last post by:
hi , i'm trying to sned a mail in my web (ASP.NET) ,i want to be able to send mails to my clients who have hotmail yahoo or gmail accounts....from different accounts also .... in web.config <system.net> <mailSettings> <smtp from="" deliveryMethod="network"> <network host="smtp.sigorta-online.com" port="25" defaultCredentials="true" /> </smtp>
0
9865
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9709
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10609
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10668
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10303
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7853
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7025
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5882
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4085
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.