<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Unfortunately, I don't have enough knowledlge even to start a task
    like that. But observing the firm journey of Freepascal, I am sure
    we will have it soon.<br>
    <br>
    Em 24-11-2012 06:52, Michael Van Canneyt escreveu:
    <blockquote
      cite="mid:alpine.DEB.2.00.1211240949550.22718@home.telenet.be"
      type="cite">
      <br>
      <br>
      On Fri, 23 Nov 2012, luciano de souza wrote:
      <br>
      <br>
      <blockquote type="cite">Among its hundreds of units, the
        Freepascal always keeps surprises for
        <br>
        us. FPHTTPClient was a pleasant surprise.
        <br>
        The talk has followed freely and perhaps my question has been
        skipped:
        <br>
        is there Freepascal native routines to deal with SMTP protocol?
        In
        <br>
        other words, is there a native way to send an e-mail with
        Freepascal?
        <br>
      </blockquote>
      <br>
      There are no FPC-provided native freepascal routines for this, but
      I see Paul Breneman has provided an alternative.
      <br>
      <br>
      Contributions are welcome. It is mostly lack of time that keeps us
      from implementing these things.
      <br>
      As far as I know, SMTP is a fairly simple protocol, probably it is
      not too hard to implement.
      <br>
      <br>
      Michael.
      <br>
      <br>
      <br>
      <blockquote type="cite">
        <br>
        <br>
        2012/11/23, Michael Van Canneyt <a class="moz-txt-link-rfc2396E" href="mailto:michael@freepascal.org"><michael@freepascal.org></a>:
        <br>
        <blockquote type="cite">
          <br>
          <br>
          On Fri, 23 Nov 2012, Leonardo M. Ramé wrote:
          <br>
          <br>
          <blockquote type="cite">
            <blockquote type="cite">You mean probably
              <br>
                 s := TFPCustomHTTPClient.Get('<a class="moz-txt-link-freetext" href="http://a_site/a_page">http://a_site/a_page</a>');
              <br>
              <br>
              It could be done, but it will need to create an instance
              anyway.
              <br>
              Although I suspect such a simple case is a minority.
              <br>
              <br>
              Michael.
              <br>
              _______________________________________________
              <br>
              fpc-pascal maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>
              <br>
              <a class="moz-txt-link-freetext" href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a>
              <br>
            </blockquote>
            <br>
            <br>
            Yes, I said this because the original poster wrote he needed
            the very
            <br>
            little code to accomplish this.
            <br>
          </blockquote>
          <br>
          I implemented the class methods for all forms of
          Get/Post/Formpost, so now
          <br>
          you can do:
          <br>
          <br>
          s := TFPCustomHTTPClient.SimpleGet('<a class="moz-txt-link-freetext" href="http://a_site/a_page">http://a_site/a_page</a>');
          <br>
          <br>
          You can't get more simple than that.
          <br>
          <br>
          Michael.
          <br>
        </blockquote>
        <br>
        <br>
        -- <br>
        Luciano de Souza
        <br>
        _______________________________________________
        <br>
        fpc-pascal maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>
        <br>
        <a class="moz-txt-link-freetext" href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a>
        <br>
        <br>
      </blockquote>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
fpc-pascal maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a></pre>
    </blockquote>
    <br>
  </body>
</html>