DBAsupport.com Forums - Powered by vBulletin
Results 1 to 7 of 7

Thread: Sending email in NT/2000

  1. #1
    Join Date
    Oct 2001
    Location
    Madrid, Spain
    Posts
    763
    Hi,

    Has anybody use the blat utility to send mail in NT/2000?
    If yes please put an example of how to install it?

    Thanks in advance and best regards

    Angel

  2. #2
    Join Date
    Jun 2001
    Location
    vienna
    Posts
    19
    i use the blat software sometimes.

    the syntax i use is the following:

    Blat.exe ...\heading_sendl.txt -f xxx@xxx.xx -t ddd@dd.dd (receiver email address), 2nd,... -s "Subject" -attach *.* -server servername

    bye.

    the kid.

  3. #3
    Join Date
    Oct 2001
    Location
    Madrid, Spain
    Posts
    763
    Thanks for your answer. What did you put in the parameters when you installed blat?

    blat -install ....

    Thanks again

    Angel

  4. #4
    Join Date
    Jun 2001
    Location
    vienna
    Posts
    19

    hmmm

    i don't really know which parameters you mean. anyway here is something i found.

    syntax:
    Blat -t [optional switches (see below)]
    Blat -install [-q]
    Blat -h [-q]

    -install : set's default SMTP server and sender

    : file with the message body ('-' for console input, end with ^Z)
    -t : recipient list (comma separated)
    -s : subject line
    -f : overrides the default sender address (must be known to server)
    -i : a 'From:' address, not necessarily known to the SMTP server.
    -c : carbon copy recipient list (comma separated)
    -b : blind carbon copy recipient list (comma separated)
    -h : displays this help.
    -mime : MIME Quoted-Printable Content-Transfer-Encoding.
    -q : supresses *all* output.
    -server : overrides the default SMTP server to be used.

    Note that if the '-i' option is used, is included in 'Reply-to:'
    and 'Sender:' fields in the header of the message.


    EXAMPLES:

    Blat -install smtphost.bar.com foo@bar.com // Sets host and userid
    Blat -install smtphost.bar.com foo // Sets host and userid
    Blat -install smtphost.bar.com // Sets host only

    Blat myfile.txt -s "A file for pedro" -t foo@bar.com
    // Sends a file with subject line "A file for pedro"

    Blat myfile.txt -s "A file for pedro" -t foo@bar.com -q
    // Sends a file with subject line "A file for pedro" and does not print
    // informative messages on the console

    Blat myfile.txt -s "A file for mark" -t fee@fi.com -f foo@bar.com
    // -f option overrides the default sender

    Blat myfile.txt -s "A file for pedro" -t foo@bar.com -i "devil@fire.hell"
    // -i replaces "From:" line address (but leaves Reply-To: and Sender: lines)

    Blat myfile.txt -s "animals" -t fee@fi.com -c "moo@grass.edu,horse@meadow.hill"
    // -c mails carbon copies to users moo@grass.edu and horse@meadow.hill



    the kid.

  5. #5
    Join Date
    Oct 2001
    Location
    Madrid, Spain
    Posts
    763
    Yes, this is I want. I will try

    Thank you very much

    Angel

  6. #6
    Join Date
    Jan 2002
    Location
    Canada
    Posts
    195
    Really want to know what you are talking about. Is this an utility in NT, Oracle or something else? Thanks.

  7. #7
    Join Date
    Oct 2001
    Location
    Madrid, Spain
    Posts
    763
    Blat is only a dll that you copy in windows\system32 and as you can see below enable the option to send mails at command prompt as you do in unix with mail through a SMTP server.

    You can read more about this in:

    http://www.interlog.com/~tcharron/blat.html

    Cheers

    Angel

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width