markm75 Posted January 16, 2006 Posted January 16, 2006 Hi there, I'm seeking a class that can allow me to write a c# windows app that will send/receive email via hotmail.com and the http protocol. I've found examples out there that do so, but without attachments (using webdav commands)... Is there any way to achieve the ability to read attachments and send emails with attachments? Thanks Quote
OMID SOFT Posted January 21, 2006 Posted January 21, 2006 (edited) Hi there, I'm seeking a class that can allow me to write a c# windows app that will send/receive email via hotmail.com and the http protocol. I've found examples out there that do so, but without attachments (using webdav commands)... Is there any way to achieve the ability to read attachments and send emails with attachments? Thanks First of all you should know that the standard protocol to send email is SMTP. POP3 and IMAP are designed to receive mail messages. Visual Studio 2005 is included with EasyMail Free SMTP .NET! Even if you don't have it you can get it via http://www.quiksoft.com Edited January 21, 2006 by OMID SOFT Quote Don't ask what your country can do for you, ask what you can do for your country...
markm75 Posted January 23, 2006 Author Posted January 23, 2006 Thanks for the reply.. I actually have 2005 too.. My goal was to get hotmail sending of emails working through a c# app, with attachments (and since Microsoft hotmail doesnt support SMTP this was a no go). I guess my alternative is to use yahoo or another SMTP provider like this. Mark Quote
OMID SOFT Posted January 24, 2006 Posted January 24, 2006 In order to send an email to an address, you must have the SMTP server of the target's mail server. This is much used in yahoo!, because Yahoo! has many SMTP servers. For example if you want to send an email to a Yahoo! user, you should have a Yahoo! SMTP server. As same as hotmail, etc. To get the SMTP server of a site you should have an account on that site. After creating an account, you should send an email to yourself. It is not important that you send the mail from which email. Even you can send that email from yourself to yourself. Which means putting your own email address in the "To" field. After sending the email, you should check your mail for this new mail (Full Headers). After that you should look at the "Received" header. This will be like this example: Received: from 216.109.117.230 (HELO web60707.mail.yahoo.com) (216.109.117.230) by mta114.mail.sc5.yahoo.com with SMTP; The red-colored text is the SMTP server. Quote Don't ask what your country can do for you, ask what you can do for your country...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.