473,657 Members | 2,437 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.SmtpS erver'
object/classes from the namespace 'System.Web.Mai l', 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 8156
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
4405
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 image) into the body of the email. Any help would be greatly appreciated. -- Nate Heaton
88
12465
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
3012
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 registered. do i have to have outlook express loaded. i have workstations that don't have outlook but rather lotus notes and want to send email to an smtp server. these emails have local attachment thus the need to run client script versus server...
5
7204
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 : http://zones.advisor.com/doc/17330 , that thread show how to create a new appointment instead of email. but I have no idea about the format of a new email. Does any one know the format of a new outlook email i.e. Response.ContentType = "text/XXXXXX"...
16
4737
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 environment: VS2005 + XP.-- I have disabled firewall hardware enviornmnet:telcom's modem connects hub,hub connects two computers.。-- I also tried to connect computer to modem directly,but I can
0
8732
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...
0
8605
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...
0
7330
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6166
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
5632
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
4155
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4306
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1955
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.