wqclatre
asked on
Reading e-mails from hotmail
Does anyone know how to read e-mails from Hotmail? Need some example code or some component.
ASKER
I have already seen those pages but they don't give me any idea how to read the mails. (probably because I'm to stupid)
if you subscribe to the delphi informant magazine, they actually did an article on this last month
http://www.delphizine.com/features/2004/02/di200402am_f/di200402am_f.asp
http://www.delphizine.com/features/2004/02/di200402am_f/di200402am_f.asp
The first part of my article on Hotmail goes into the communication between Hotmail
and Outlook Express as I use the same techniques to communicate with Hotmail as OE.
The second part of my article will be published in the March edition. It has a sample
application that connects to Hotmail and downloads your email. It also allows you
to send email via Hotmail's servers.
Check the Pinnacle Publishing site next month to see if it is avail for dowwnload.
If it isn't, post another question and I will send it to you.
You can see from my tip on Delphi Pages, Getting Hotmail Message Unread Counts,
how I actually do it with WebDAV... It is not difficult to get more info if yoy have a port
scanner and use OE as your tool to figure things out.
and Outlook Express as I use the same techniques to communicate with Hotmail as OE.
The second part of my article will be published in the March edition. It has a sample
application that connects to Hotmail and downloads your email. It also allows you
to send email via Hotmail's servers.
Check the Pinnacle Publishing site next month to see if it is avail for dowwnload.
If it isn't, post another question and I will send it to you.
You can see from my tip on Delphi Pages, Getting Hotmail Message Unread Counts,
how I actually do it with WebDAV... It is not difficult to get more info if yoy have a port
scanner and use OE as your tool to figure things out.
Hi there,
U should use a HTML Parser to process the hotmail's mails' page. Use the Indy componnents to get the page and send it to a parser, it process the tags. then, get each value of each mail-header lines and save the links to the messages... when the user click in any item of the header's-list (inside ur software), get the link with the same Indy, process it with the same HTML parser n then display just the msg... it is not as difficult as u imagine, try to 'think simple'...
it is not the better idea i could give u, but it's is the easiest way.. .the otherway would be get how hotmail and oe communicates itselves, them follow the same way...
luck!
U should use a HTML Parser to process the hotmail's mails' page. Use the Indy componnents to get the page and send it to a parser, it process the tags. then, get each value of each mail-header lines and save the links to the messages... when the user click in any item of the header's-list (inside ur software), get the link with the same Indy, process it with the same HTML parser n then display just the msg... it is not as difficult as u imagine, try to 'think simple'...
it is not the better idea i could give u, but it's is the easiest way.. .the otherway would be get how hotmail and oe communicates itselves, them follow the same way...
luck!
ASKER
EddieShipman
Is your new Article out there now? If so, where can I find it?
Is your new Article out there now? If so, where can I find it?
ASKER
It seems like I have to pay alot to access this page:
http://www.pinpub.com/html/main.isx?sub=52&story=2614
http://www.pinpub.com/html/main.isx?sub=52&story=2614
Yes, you have to be a subsriber to get the sourcecode. However, I posted a short
sample in this thread from DelphiPages:http://www.delphipages.com/threads/thread.cfm?ID=109370&G=109370
Look at the MrBaseball posts.
sample in this thread from DelphiPages:http://www.delphipages.com/threads/thread.cfm?ID=109370&G=109370
Look at the MrBaseball posts.
It is just for sending e-mail. not reading if I have not missed something
No, it will allow you to read your messages, too. It will show HTML or plain text messages in the
message window.
However, I only have code in there for sending plaintext messages
I have not gotten a reply from PinPub about publishing the source code elsewhere but will call
them tomorrow.
Be patient.
message window.
However, I only have code in there for sending plaintext messages
I have not gotten a reply from PinPub about publishing the source code elsewhere but will call
them tomorrow.
Be patient.
Just found out that I can publish it elsewhere 60 days after it was first published.
"Sixty days after Pinnacle's first publication of an article, Author may reprint the article elsewhere."
That means that it will be 5/1 before I can publish it again. Can you wait that long?
But, I don't know if this applies to the source code as well. I will again try to find out.
E.
"Sixty days after Pinnacle's first publication of an article, Author may reprint the article elsewhere."
That means that it will be 5/1 before I can publish it again. Can you wait that long?
But, I don't know if this applies to the source code as well. I will again try to find out.
E.
ASKER
I don't have any other choise than wait. It's only reading the emails that I want to do.
(Maby also mark them as unread again so If I login to hotmail they should be marked as unread if it's possible.
Moderators. Can you please keep this question active until 5/1 because I'm waiting for this answer.
Thanks
(Maby also mark them as unread again so If I login to hotmail they should be marked as unread if it's possible.
Moderators. Can you please keep this question active until 5/1 because I'm waiting for this answer.
Thanks
ASKER
Hello Eddie. Can you publish this now?
It is about to be published on www.delphipages.com. As soon as Douglas
gets it reformatted.
gets it reformatted.
It has also been published on Delphi3000.com.
Part 1:
http://www.delphi3000.com/articles/article_3997.asp
and
Part 2:
http://www.delphi3000.com/articles/article_3998.asp
Part 1:
http://www.delphi3000.com/articles/article_3997.asp
and
Part 2:
http://www.delphi3000.com/articles/article_3998.asp
I suspect that the main reason for using this would be for something like a support
email system whereby you create a Hotmail account to use for support and when
your program errors, you give the user the ability to send an error report. This
report will be sent via your HM account instead of having to ask the user any
SMTP information, which can be like pulling teeth.
Only drawback is the IE requirement. I am working on converting it to use straight
Windows Sockets, now THAT's going to be a great little component!!!!
No SMTP required, no asking the user any info, send email directly from your
application via your own account!
email system whereby you create a Hotmail account to use for support and when
your program errors, you give the user the ability to send an error report. This
report will be sent via your HM account instead of having to ask the user any
SMTP information, which can be like pulling teeth.
Only drawback is the IE requirement. I am working on converting it to use straight
Windows Sockets, now THAT's going to be a great little component!!!!
No SMTP required, no asking the user any info, send email directly from your
application via your own account!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I have no idea but you can take a look a these sites
Accessing HotMail from Delphi
http://www.delphifaq.com/fq/q5009.shtml
Getting Hotmail Message Unread Counts.
http://www.delphipages.com/news/detaildocs.cfm?ID=89
Hotmail–Delphi Style!
On Delphi discussion forums and newsgroups, you commonly see questions asking how to access Hotmail e-mail from within Delphi. In this article, Eddie Shipman explores the way Outlook Express communicates with Microsoft Hotmail's servers to help you understand the process for developing your own Delphi/Hotmail applications.
http://www.pinpub.com/html/main.isx?sub=52&story=2614
Best Regards
Cesario