SPONSORS:






User Tag List

Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Member
    Join Date
    Apr 2001
    Location
    Montreal, CA
    Posts
    74
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    email thru outlook from dosprompt

    Hi,
    I did see differnt postings regarding email. But I couldn't get answer out of him.
    If we used gbmail.exe, but with this if I send any attatchment, it is being displayed in body of the mail, but not as an attatchment.

    Are there any command line statement for doing this using MS-Outlook. If not, are there any other options..

    Thanks,




    ------------------
    Murali K Parepalli
    Intuit
    _ _ ___________ _ _
    Murali K Parepalli

  2. #2
    Senior Member
    Join Date
    Jul 2001
    Location
    Brookline,NH USA
    Posts
    147
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: email thru outlook from dosprompt

    I seem to remember something like this coming up a while back and I believe the answer was to use smtp.

    ~ Fred

    ------------------

  3. #3
    Member
    Join Date
    Apr 2001
    Location
    Montreal, CA
    Posts
    74
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: email thru outlook from dosprompt

    Fred,
    Can you be little more specific. Is it using different scripting language or creating our own email client.
    Thanks,

    ------------------
    Murali K Parepalli
    Intuit
    _ _ ___________ _ _
    Murali K Parepalli

  4. #4
    Senior Member
    Join Date
    Jul 1999
    Location
    Bellingham, WA USA
    Posts
    1,323
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: email thru outlook from dosprompt

    Is it mandatory that you use Outlook? Or are you just wanting to find some way to have Silk send email?

    I use Blat to send email via Silk and it works beautifully.


    ------------------

  5. #5
    Senior Member
    Join Date
    Oct 2002
    Location
    Calgary, Alberta, Canada
    Posts
    101
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: email thru outlook from dosprompt

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by RagerXS:
    I seem to remember something like this coming up a while back and I believe the answer was to use smtp.

    ~ Fred

    <HR></BLOCKQUOTE>
    For fun, I have a little script that uses a command prompt and SMTP Command Syntax to email. It was designed to automatically email out a failure report, but I didn't implement it.

    The design is for Windows and it goes like this:
    1.Open DOS prompt, telnet port 25 of the mail server
    2.Send a message using SMTP command syntax
    3.Quit Telnet, then close the DOS prompt.

    If you know SMTP command syntax it is quite simple.


    ------------------
    Beware of bugs in the above code; I have only proved it correct, not tried it.
    --Donald Knuth

  6. #6
    Senior Member
    Join Date
    Aug 1999
    Location
    MA
    Posts
    129
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: email thru outlook from dosprompt

    Use the blat.exe command line emailer found here: http://www.interlog.com/~tcharron/blat.html

    It lets you send attachments as the body or as a real binary or text attachment.

    We use it here to send out automated test result logs and report status of pass / fail.

    It's easy to write a wrapper around this tool in SilkTest or in our case Perl.

    ------------------
    Steven Tyler
    SQA Automation Team Manager
    Workforce Central Group
    Kronos Incorporated
    E-Mail: styler@kronos.com www.kronos.com
    Improving the Performance of People and Business™

    [This message has been edited by styler (edited 01-14-2003).]
    Steven Tyler
    Manager - Performance Engineering

    Kronos Incorporated
    tel: +1 978 947 4219

  7. #7
    Member
    Join Date
    Oct 2002
    Location
    Alameda, CA
    Posts
    50
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: email thru outlook from dosprompt

    styler:
    I'm trying to use blat inside of ScriptExit() to email the results file to myself. I get the email but the content is gibberish.

    here's the line:
    SYS_Execute("C:\downloads\blat mailer\blat c:\temp\t.res -t me@viewstar.com -s ""test message""")
    Where t.t is the name of the script.

    Is there some way to force blat to attch the file. rather than including it as text? Or is the problem that the .res file isn't there/ completed when the script is in the ScriptExit() function?

    &lt;edit&gt; Or does someone have a way to do this that doesn't involve installing anything other than blat?

    ------------------
    -Josh

    [This message has been edited by VolleyJosh (edited 01-27-2003).]
    -Josh

  8. #8
    Senior Member
    Join Date
    Aug 1999
    Location
    MA
    Posts
    129
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: email thru outlook from dosprompt

    You've got to use the -attach switch to attach the .res as a binary file.

    The 1st argument for blat for the body of the email, that's why you're seeing junk

    Use a body.txt file with contents like "Attached are the SilkTest regression test results".

    Here's a modified line for you to try:
    SYS_Execute("C:\downloads\blat mailer\blat body.txt -attach c:\temp\t.res -t me@viewstar.com -s ""test message""")



    ------------------
    Steven Tyler
    SQA Automation Team Manager
    Workforce Central Group
    Kronos Incorporated
    E-Mail: styler@kronos.com
    www.kronos.com
    Improving the Performance of People and Business™
    Steven Tyler
    Manager - Performance Engineering

    Kronos Incorporated
    tel: +1 978 947 4219

  9. #9
    Senior Member
    Join Date
    Aug 1999
    Location
    MA
    Posts
    129
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: email thru outlook from dosprompt

    What I do is start up Silk using the command line in a batch file, telling Silk to exit and export a .REX file when complete.

    From the batch file I then use blat to send an email that has a parsed version of the .REX file in the body.

    ------------------
    Steven Tyler
    SQA Automation Team Manager
    Workforce Central Group
    Kronos Incorporated
    E-Mail: styler@kronos.com
    www.kronos.com
    Improving the Performance of People and Business™
    Steven Tyler
    Manager - Performance Engineering

    Kronos Incorporated
    tel: +1 978 947 4219

  10. #10
    Member
    Join Date
    Oct 2002
    Location
    Alameda, CA
    Posts
    50
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: email thru outlook from dosprompt

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by styler:
    What I do is start up Silk using the command line in a batch file, telling Silk to exit and export a .REX file when complete.

    From the batch file I then use blat to send an email that has a parsed version of the .REX file in the body.

    <HR></BLOCKQUOTE>
    Makes sense. I'll have to figure out if a .REX file will work for us.

    Thanks a bunch for your help.



    ------------------
    -Josh
    -Josh

 

 
Page 1 of 2 12 LastLast

Posting Permissions

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

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 05:32 PM.

Copyright BetaSoft Inc.