Announcement

Collapse
No announcement yet.

Email generation under Windows

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Email generation under Windows

    I want to avoid re-inventing the wheel, but looked in the PB/DOS download directory here and don't see anything that will do this job.

    Does anyone have or know of a PB/DOS routine that will allow me to either create an outbound message in MS Outlook, or directly send an email from a PB/DOS program running in a DOS window on Windows?

    Can I just write an email message into some MS Outlook directory and have it become a "pending" message? Can I actually send it off without any further user interaction?


    ------------------
    PB/DOS 3.5 on Fedora Linux

  • #2
    > directly send an email from a PB/DOS program running in a DOS window on Windows

    If you are on a Windows OS machine, no reason not to look for a 'command-line utility' to send an email, since you can SHELL a Windows program from your MS-DOS program..

    Code:
    Z= SHELL ("Sendmail.exe to:[email protected] from:[email protected] subject:whatever msg:msgfile.txt")
    .. or something like that.

    There's enough examples here of sending email that creating such a utility should not be too hard. (Unless you are not a licensee of one of the Windows compilers. Then you'll need to find someone to modifiy one of the examples to make it such a utility).

    That, or maybe you can use an Internet search engine for "command line send email."

    MCM


    Michael Mattias
    Tal Systems Inc. (retired)
    Racine WI USA
    [email protected]
    http://www.talsystems.com

    Comment


    • #3

      On 01 Apr 05, Frank Cox wrote:

      Hello Frank,

      > I want to avoid re-inventing the wheel, but looked in the PB/DOS
      > download directory here and don't see anything that will do this job.

      What about http://www.pbhq.de/ukad/ ?

      > Does anyone have or know of a PB/DOS routine that will allow me to
      > either create an outbound message in MS Outlook,

      MS is using standard RFC files for storing email files. If you need
      some knowledge, let me know.

      > or directly send an email from a PB/DOS program running in a DOS
      > window on Windows?

      Grmpf: http://www.pbhq.de/ukaw/ ? The same as UKAD, but compiled with
      the Console Compiler ... ;-)

      Regards,

      --------------
      / h o m a s
      ------------------
      email : [email protected] / mailto:[email protected][email protected]</A> (PGP-Key available)
      www : http://www.gohel.de / http://www.pbhq.de (PowerBASIC)
      fax/bbs: +49-30-47300910 (VFC, V34+, X75, ISDN, CCB, 9600-128000bps)
      ## CrossPoint/Agent R/C2478, via PBNEWS v0.62g (news.pbhq.de)
      http://www.gohel.de - http://www.gohel.net - http://www.pbhq.com

      Comment


      • #4
        Thanks for the input, guys.

        ukad and ukaw look like they might do the job, but as I'm not familar with reading German it's not entirely clear to me how to make the thing work.

        As Michael suggested, I did a bit of hunting and found http://www.blat.net/194/ which looks like it might do what I want to accomplish. "Shell"-ing to an exernal program that does commandline email sending should get me where I'm going.

        My objective is to allow someone to enter records into a database on their laptop, then automatically email their entries to the application server for processing.

        As I have neither any Windows computers or any Windows development tools, arranging this becomes a bit more complex than it might otherwise be.

        ------------------
        PB/DOS 3.5 on Fedora Linux

        Comment

        Working...
        X