Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
O

omkamal

@omkamal
About
Posts
108
Topics
28
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • reading POP3 mails using c++
    O omkamal

    Neville, Thanks for letting me know about this software. Neville Franks wrote: The mailing list is active and Matt is quick to respond to problems. I am very impressed, as he replied me back within a moment for my questions. Neville Franks wrote: Quite amazing seeing that it is free This is exactly true. omkamal

    C / C++ / MFC

  • reading POP3 mails using c++
    O omkamal

    You never know ravi, how many .dsw and .dsp I have written so far starting from MAPI and until POP3 and MIME protocols with Winsock and a whole lot of fun. I even have a feeling to quit my job. My boss is my only cheerleader now. (and ofcourse CP). omkamal

    C / C++ / MFC

  • reading POP3 mails using c++
    O omkamal

    I never thought my Friday would be driven this nuts. I better go out for some movie or my head would be charbroiled. Almost burning.........:mad: omkamal

    C / C++ / MFC

  • reading POP3 mails using c++
    O omkamal

    Thanks Neville, I am looking thru the code. But before I go any further have you used it. Is there a simple client written consuming this COM, that i can use? [Just to save my time] omkamal

    C / C++ / MFC

  • reading POP3 mails using c++
    O omkamal

    I think I found one from the codeguru link itself. I have gone thru the source code. Boy! its very heavy duty. The guy actually wrote whatever text that comes outta pop3 server Retr command to a file first. He then parses thru the file, literally checking for strings like "To:", "From:", "Content-Disposition: attachment - <>" and then extracts everything to different variables. Thats too much work though. Why in the world are there no C++ APIs or classes to do all these? May be I should start writing them if no one really did before. The sample that I am talking about in the codeguru link is this... POP3 Client With Attachment - Alexander Volkov (2002/02/15) Here is a simple COM server that is able to receive a mail messages and extract attached files. omkamal

    C / C++ / MFC

  • reading POP3 mails using c++
    O omkamal

    See I told I will get back to you. I checked this link (codeguru link that you sent me finally). Looked like it had a whole lot of samples and classes to explore. But just go thru the comments of different people. Everyone ask the author about how to read an attachment. Funny thing is either the author does not reply to them or one even said the following Hi, please do not contact me regarding the handling of attachments. I have no idea, and I never extended these classes to handle attachments. Sorry, but this is something you have to find out yourself. Thanks, Michael Submitted By: Michael Krebs (2001/06/13) Go up a level Isnt this weird that no one knows how to read a MIME type multipart attachment from a POP3 mail server? :eek: [Now, ravi do you understand how X| I am.] Oh please help me again... omkamal

    C / C++ / MFC

  • reading POP3 mails using c++
    O omkamal

    Thanks for all the links. You give a whole bunch of work for the rest of the day. But please dont go anywhere. I may get back to you for any problems. Thanks so much again. omkamal

    C / C++ / MFC

  • reading POP3 mails using c++
    O omkamal

    Thank you Ravi for the reply. But there is something I need to tell. I tried directly from my cmd box and telnet to my pop3 server. I tried to pull the mails. It worked fine, but it gives me only garbage for the attachments. It also throws an info saying, "Since the mail message is in MIME format your mail reader is unable to translate it and so part or all of the message you may see are not text" - or something like it. Is there any other way to read and save my attachments (especially with the exact file name that the sender sent)? Remember, I want this utility to work in a lights-out environment. All the end user should see the next morning is bunch files on a specified folder. He should not care what command line program executes underneath. omkamal

    C / C++ / MFC

  • reading POP3 mails using c++
    O omkamal

    Hi, We have a pop3 email server and several accounts. There is one specific account which receives some important .csv files from clients as attachments. I am writing a program which reads these mails and extract the attachment. For heavens sake, can someone tell me how to do this in c++. You dont have to provide a code, but atleast direct me where I should start. I used Simple MAPI, but it only reads mails from the profiles created in your machine (or the machine where u install the program). And my program should not expect any profile created already for that email account. My program should be a command line utility for reading mails that you provide, server name, user name, pwd and other necessary info and hit enter - it should copy all the mail attachments to any folder that either u specify or it is configured somewhere. [After a week long reading, I am so fed up of reading MAPI materials but nothing gets into my mind - feeling like fish out of water] Please help me... omkamal

    C / C++ / MFC

  • JOTD
    O omkamal

    :-D :-D :-D :-D :-D :-D :-D omkamal

    The Lounge

  • Terminal Services
    O omkamal

    Is there any .NET framework class which exposes Windows Terminal Services API? omkamal

    C#

  • ASP.NET
    O omkamal

    Mazdak wrote: you can't change the place or size of it I dont think so. Just try to create an example like this... Create an . Then in your code-behind page you can always do the following... TestLabel.Style["Top"] = "200px"; //or whatever value you want to use... This will certainly work. Nonetheless, I am not sure about a TextBox. omkamal

    Web Development

  • What is ReadOnly?
    O omkamal

    I had a strong belief that when a property of an Object is defined as ReadOnly then it means that you can only read its value at runtime and cannot modify the value. If this is wrong just donot read further, but just correct me. This is what I found confusing... In MSDN's documentation for Style property of a Web Control it says,... [Visual Basic] Public ReadOnly Property Style As CssStyleCollection [C#] public CssStyleCollection Style {get;} ... But then they have shown an example of how to use the "visibility" key of the CssStyleCollection to hide and unhide a label control programmatically, like this.... void Button1_Click(Object sender, EventArgs e) { Label1.Style["visibility"]= ((Label1.Style["visibility"]=="hidden")?"show":"hidden"); } If one is able to change a property's value then why the hell do they declare it as *ReadOnly*. And if you are a C# programmer, check out their declaration above that they dont have the set() method. Then how does it work???:confused: omkamal

    Web Development

  • ASP.NET
    O omkamal

    If you are using ASP.NET TextBox control then *I believe* you can use its style property (I have not done that, yet). omkamal

    Web Development

  • DataGrid in ASP.NET
    O omkamal

    Yes, you have to handle the OnPageIndexChanged Event and bind the data again with setting the CurrentPageIndex property to the selected page index. See, OnPageIndexChanged Event help in MSDN documentation. They have a sample also. omkamal

    Web Development

  • Windows service bug using .NET
    O omkamal

    Hai folks, Read this before you design a Windows service *using .NET*. "If your application log is full your .NET windows service will not start in a timely fashion". No matter what you write in your service, it will keep throwing an error 1053: when you try to start the service. Workaround: Clear the application log (even though you are not writing to the Event Log) before you start the service. :-D omkamal

    IT & Infrastructure

  • prof asp.net
    O omkamal

    If that is the case then I am happy. Let them take their time. :-D omkamal

    The Lounge

  • prof asp.net
    O omkamal

    I ordered this Professional ASP.NET book. Unfortunately I forgot to check the shipping information. It said, "Usually ships within 3 weeks". Also Amazon gave me this offer that if I buy Professional C# along with this book, I get some discount. So I ordered both of them. Now the delivery date is estimated to be March 22 - April 5. What happened to this ASP.NET book? Is it not good? Did they stop publishing? Any idea? Anyone owns this book? How is it?;) omkamal

    The Lounge

  • Antagonism
    O omkamal

    :laugh: :laugh: :laugh: :laugh: :laugh: :laugh: :laugh: :laugh: Cant control myself............... omkamal

    The Back Room

  • networking
    O omkamal

    Hi folks, I have now the burning desire to learn windows networking and administration. All it reminded me is to write this message in CP. Any suggestions for me as to where I start and how to proceed. Thanks.:) omkamal

    The Lounge
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups