473,385 Members | 1,645 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

C# Email Client

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

Similar topics

5
by: nate heaton | last post by:
I would like to do the following with C# in my asp.net app: Open the default email client of the user (just like a mailto: link would). Supply the subject line and put some HTML (including an...
88
by: Mike | last post by:
Is there a way to determine what a user's default email client is? I read a post from 3 years ago that said no. I guess I'm hoping something has come along since then.
9
by: RedMoosh | last post by:
is it possible to rn a client side vbscript to send messages using cdo.message and cdo.configuration? what are the requirements to do this? my wks are xp and 2000 and all have cdosys.dll...
5
by: xin.yadong | last post by:
Is there a way to create an New Outlook Email from an ASP.NET application? I can not use "mailto:", since it is only support a string less than 512. I have find a good way from link :...
16
by: =?Utf-8?B?Q2hlZg==?= | last post by:
I can use outlook2003 to send email,but I cann't use this code below to send email. Please help me to test this code and instruct me how to solve this problem in detail. software...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.