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

C# Email Client

P: n/a
Hiya Everyone,

I've just started the development of an email client using the .NET
classes and C# ( I figured its a good way to get my hands dirty with
..NET). Anyhow, here's the situation...

I created a simple 'Windows Forms' app (using Borland's wonderful free
C# Builder IDE) that allows me to create a mail message and send it
via my SMTP Server.

I have managed to get it to send mail - Yippeeee, I thought. Until I
realised that when Hotmail is involved things get interesting. I can
use my mail client, which uses the 'Message' and 'SmtpMail.SmtpServer'
object/classes from the namespace 'System.Web.Mail', to send mail to a
non-hotmail address and I know it is recieved. However, when I send a
mail to my account @hotmail.com I don't receive anything.

To double check that email was being set, and that I wasn't going mad,
I sent email to a domain that I own, which then redirected it to my
account @hotmail.com. Yipeeeeee again, the message was received.
However Hotmail stuck it in my junk mail folder - duh!

To make sure that I wasn't just being plain simple I checked my
Hotmail account's junk mail, filtering and blocking settings.
Everything was fine. I even added the 'from address' that I used in my
email client to my Hotmail account's safe list. I then sent another
message to my account @hotmail.com.

.........Again, it didn't arrive. To summarise...

Mail is being sent from the client.
Hotmail does not appear to receive it.
I am having fun.... 3:-)

Can anyone show me where I might be going wrong?

Thanks in advance guys and gals...

Craig.
Nov 15 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Due to the increase of spam, many mail servers will ignore mail messages
without a valid "Sender" address.
I believe hotmail still accepts anonymous messages, but quite a few will
trash them, or mark them as spam/trash.

--
The hotmail account will most likely not be read, so please respond only
to the news group.
Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.