C# Email Client

  • Thread starter Thread starter Craig
  • Start date Start date
C

Craig

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.
 
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.
 
Back
Top