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
  1. Home
  2. General Programming
  3. Delphi
  4. sending mail in background

sending mail in background

Scheduled Pinned Locked Moved Delphi
questiondelphi
4 Posts 4 Posters 14 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    havejeet
    wrote on last edited by
    #1

    Hi all, I want to send automatic mail from my Delphi application with attachment without invocation of any client tool like outlook. Actually My application runs as a windows service and every 5 minute generate some response files. I want those files to be mailed automatically. But how do I do that? thanks n regards Jeet

    R R A 3 Replies Last reply
    0
    • H havejeet

      Hi all, I want to send automatic mail from my Delphi application with attachment without invocation of any client tool like outlook. Actually My application runs as a windows service and every 5 minute generate some response files. I want those files to be mailed automatically. But how do I do that? thanks n regards Jeet

      R Offline
      R Offline
      rickyjos
      wrote on last edited by
      #2

      Have a look at the Indy components included with Delphi. You can use these to do what you need. The documentation for the components should have some good examples for you as well.

      1 Reply Last reply
      0
      • H havejeet

        Hi all, I want to send automatic mail from my Delphi application with attachment without invocation of any client tool like outlook. Actually My application runs as a windows service and every 5 minute generate some response files. I want those files to be mailed automatically. But how do I do that? thanks n regards Jeet

        R Offline
        R Offline
        Rozis
        wrote on last edited by
        #3

        Im not in with Delhi but what i do is: create an EML-file, open a socket and send the stuff. Actually it is not so difficult to create a socket that follows the SMTP-protocol... If you like i can give you some code to do that (or look at the RFC's describing the SMTP-protocol) Rozis

        1 Reply Last reply
        0
        • H havejeet

          Hi all, I want to send automatic mail from my Delphi application with attachment without invocation of any client tool like outlook. Actually My application runs as a windows service and every 5 minute generate some response files. I want those files to be mailed automatically. But how do I do that? thanks n regards Jeet

          A Offline
          A Offline
          ajayrp
          wrote on last edited by
          #4

          Hi Buddy, Please refer to the nice article on sending email in background using Indy library. http://delphi.about.com/od/indy/a/email-send-indy.htm Cheers, Ajay

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

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