How to send e-mail attatchement from command line

Hi,
Is it possible to send an e-mail with some attatchment like a .zip file through command line in iPlanet messaging Server 5.2.
Please let me know the procedure.,
Thanks
Rajeev

I suggest you try blat.exe from www.blat.net
I use it regularly to send myself statistics and logfiles from servers without any client. Can be automated in a script.
Eli

Similar Messages

  • How to run a 10g report from command line ?

    Good Afternoon,
    Please advise if there is a way to run a 10g report from command line.
    We use 6i right now and our job scheduler runs reports using "D:\ORADEV6I\BIN\RWRUN60.EXE ..." executable in batch mode on a separate server. We plan to migrate to 10g Database, Forms, Reports. Is there a way to keep this functionality and create a "command" to address an report server and run a report?
    Thank you,
    Dmitri

    Steps to take.
    (1.) In command prompt type RWSERVER SERVER=repserver1 to star the rep server.
    (2.) If you get "Javaw.exe The procedure entry point psoasyn could not be located in the dynamic link library orapls10.dll." error do one of the following
            (a.) Type the full name for the server. D:\OracleDevR2\bin\rwserver SERVER=repserver1
                   or, if it does not work
            (b.) Add D:\OracleDevR2\bin to the system env. variable PATH
    (3.) Start OC4j
    (4.) Now you can access the jobs using URL like:
        http://192.161.11.143:8890/reports/rwservlet/showjobs?server=repserver1
          where 192.161.11.143 is your machine's IP address.

  • How to open an online pdf from command-line

    Hi,
    I'm trying to get my application to open a pdf file from an url like http://xxxx.dk/xxx.aspx?CID=xxx
    it work from inside adobe reader so the pdf file is a functionel file, but when i try to open it from command line like: AcroRd32.exe /n /A "pagemode=none" "http://xxxx.dk/xxx.aspx?CID=xxx" i keep getting an error telling me "There was an error opening this document. The filename, directory name, or volume label syntax is incorrect"
    does anyone have an idea of what i need to do? i could also make a public test if someone needs to see the issue "live"

    it works with the browser, so no problems there.. i just wanted the pdf file to open in adobe reader instead of browser window, as it opens from a windows application.. but perhaps i need to look more into merging a embedded pdf viewer in the application instead..

  • How to run Report Builder Report from Command line

    Hello,
    Can Oracle Report Builder Report (run time report) run from Command line ( SQL prompt or Shell script).
    Quick response will be appreciated.
    Thanks,
    Atif

    Hi Atif,
    please see Note 74648.1 on Metalink.
    Monica

  • How to export and import database from command line?

    I am trying to export my old database into new server.
    However, I want to export and import that database from command line.
    Is it possible?
    Thanks.
    SZ

    I used this command
    exp username/password@database full=y
    my export log file is as follwing:
    Connected to: Oracle8i Enterprise Edition Release 8.1.5.0.0 - Production
    With the Partitioning and Java options
    PL/SQL Release 8.1.5.0.0 - Production
    EXP-00037: Export views not compatible with database version
    EXP-00000: Export terminated unsuccessfully

  • How to execute an ODI package from Command Line

    Please can anyone help me to know how to execute an ODI package from the command line without creating a scenario from the package.
    Appreciate your help.
    Thanks
    B

    You can't. Create a scenario and then execute that from the command line.

  • How to log BIAR export/import from command line

    Hello
    Can anyone please tell me how to log the actions during the import (or export) of a BIAR file when it is executed from the command line
    OR
    If this type of logging is enabled by default then can anyone tell me where the log files would typically be found
    Best regards and thank you
    Patrick
    C:\Program Files\Business Objects\common\4.0\java\lib>
    java -jar biarengine.jar MyCMSImport.properties

    Hi,
    We can get the log files for the actions that happen during the import / export via Import Wizard.
    Complete these steps to create a log file:
    1. Create the following Windows system variables:
    BO_TRACE_CONFIGDIR = C:\Botrace
    BO_TRACE_CONFIGFILE = C:\Botrace\BO_trace.ini
    BO_TRACE_LOGDIR = C:\Botrace
    2. Copy the BO_trace.ini file to the c:\Botrace folder.
    3. Run the Import Wizard and then view the BO_trace.ini file in the c:\Botrace folder.
    Additional Information
    The following are the default values in the BO_trace.ini file:
    active = true;
    importance = xs;
    size = 1000000;
    keep = true;
    Hope this helps.
    Regards,
    Deepti Bajpai

  • How to start OracleOraDb10g_home1iSQL*Plus service from command line (PC)

    After installing 10G, I now have a service with this name: OracleOraDb10g_home1iSQL*Plus
    I need to be able to start/stop the service from windows 2000 command line,
    BUT "net start OracleOraDb10g_home1iSQL*Plus" DOES NOT WORK.
    Adding quotes around the service name does not solve the problem either.
    Both attempts give "The service name is invalid" errors.
    Can anyone provide a solution?
    THANKS!

    Sorry, but none of the suggestions works. Thanks for trying though.
    1) Renaming the service only changes the display name, and then when you use "net start", it errors with: "The service name is invalid"
    2) call isqlplus start errors with "isqlplus is not recognized as an internal or external command..."
    3) You cannot execute isqlplussvc.exe directly either.
    Any more suggestions?

  • How to run executable Java app from command line: No Main( ) method

    This is the opposite question from what most users ask. I have the Java source code and a running Java executable version of the program in a windows environment. I don't want to run it in the normal way by double-clicking on it or using the executable. I need to be able to run the same application from the command line. If I can do this, I can then compile and run the code on my Mac, too, which is what I am ultimately trying to accomplish.
    Normally, this would be easy. I would look for a Main method, normally public static void main (String[] args ) or some variation. I cannot find a main() anything, anywhere when searching the files. There must be some windows executable that links to the Java classes. It's very clever, no doubt, but that's not helping me.
    I am trying to run what I can determine as the Main class, with a standard command line call, but that is not working either.
    It is a Java graphics program, so mostly Swing container stuff.
    I am not finding a manifest.txt file, telling me where a main method is, nor anything about the Main Class. There is no readme file for the program.
    Any insight that would point me in the right direction? What should I be looking for?
    Thanks in advance, Bloozman

    It's possible there's a clever Windows executable that runs the class. But if it's a plain old Java class then there's a good chance there's a constructor. Look for that; it's possible you may be able to start by writing another Java class that creates an instance of your mystery class.
    When you have that done, try running it. It's possible that just creating an instance might be sufficient to run it. Swing programs are sometimes written like that. If not, then start looking for methods with names like "run" or "go" or "start" that your little controller program can call.

  • How to export an environment variable from command line ?

    Hello,
    I have build a python application which run some processes(or executable or other python scripts) using subprocess.
    i.e.
    subprocess.call(["xyz.py"], shell=True, stdout=log_file, stderr=log_file)
    Above call throws an error as "xyz.py is not recognized as an internal or external command." I added the location of xyz.py into path variable inside a batch script which I used to run before running the script.
     set PATH=D:\path of xyz:%PATH%
    But As subprocess executes a script into anther child shell, This setting is not available in child shell (or sub-shell) used by python script.
    How can I make this PATH setting available to sub-shell also ?

    Rather than going into much details I have used explicit path by referring only one environment variable of the shell where application is running.
    i.e.  As xyz.py will be in a specific location of my repository, I am setting path of root_dir:
          set root_dir=<path_of_root_dir>
          And then,
          subprocess.call([os.path.join(os.environ['roo_dir'], 'dir', 'xyz.py')], ...)

  • How can i change printer settings from command line

    hello 
    i want to use command that changes printer to print grayscale or color 
    the best i find is to use: rundll32 printui.dll,PrintUIEntry
    but i cant find color settings there 
    i would like your help with that 
    thanks alot !

    We may have to wait for an update.  Aside from changing the country, I'm not sucre this can be done.  There is no Health App in the System preferences and no  way to modify from within the app.  Weird.
    If you go to Language & Region under general settings and choose any other country, you will get Metric.  I have the opposite problem.  I live in a Metric country and want my health app to be in lbs and inches which is what I am used to.

  • How to execute My Javascript code from command line or through perl or VB

    Hi Forum,
    I am a new bie, just 2 days old to acrobat and javascript, and I am basically a perl developer
    Here with I have created a small script to merge two pdf
    // Create a new PDF document:
    var newDoc = app.newDoc();
    // Insert doc1.pdf:
    newDoc.insertPages({
    nPage : -1,
    cPath : "/d/sathish/1.pdf",
    // Insert doc2.pdf:
    newDoc.insertPages({
    nPage : newDoc.numPages-1,
    cPath : "/d/sathish/2.pdf",
    // Save the new document:
    newDoc.saveAs("/d/sathish/myNewDoc.pdf");
    My code is working fine and merging properly,
    Is there any way to execute this script through commandline or using some other scripting languages like perl or through VB
    My objective is to automate the merging process without any manual intervention, I don't want to open acrobat manually to execute this javacript, i want to automate that process too,
    Please suggest me which will be very helpful to me,
    Thanks in advance
    Thanks & Regards
    Sathish V.

    Hi Sathish,
    did you find a solution for this? I am looking for the same thing. I want to write a program(perl, batch script, etc.) which could automatically convert pdf to excel without any manual intervention.
    I have the acrobat javascript which could achieve this, but it can only be executed in arobat consolt.  I need it to be able to get executed in a script to automate the processing.
    thanks
    Warren

  • Running Oracle Scripts from Command Line

    Hi,
    How can i run Oracle scripts from command line.
    Actually i need to run these scripts from MSBuild before running Unit test projects

    C:\>sqlplus @myscript
    That would be the easiest variation
    C:\>sqlplus user/passwd@tns_alias @myscript
    would be an often used variation
    And then there is of course the version with parameter passing:
    C:\>sqlplus user/passwd@tns_alias @myscript param1 ... paramx
    Dunno about MSBuild

  • How to send report output to  two  detinations at a time from command line?

    Hi ,
    how to send my report to two detinations at a time from command line i.e FILE and Mail ?
    i created batchfile in that i mentioned one line for file(DESTYPE=FILE) perpose and another line for mail perpose(DESTYPE=Mail).i don't want to mention to lines.
    i want to send my report out put two destinations at a time insted of running two times.
    thx in advance.....
    raghu

    hello,
    did you try to use distribution for that ? check out the reports distribution facilities available in 6i.
    regards,
    the oracle reports team

  • How to send a mail with HTML body from Oracle

    Hi Team,
    Can somebody guide me how to send a mail with HTML body from oracle.
    Here is the piece of code i am trying to send a mail.
    procedure SEND_MAIL is
    cursor c_1 is select * from table_name;
    l_mail_id varchar2(40);
    -- ls_mailhost VARCHAR2(64) := Mailhost;
    ls_from VARCHAR2(64) := ‘[email protected]
    ls_subject VARCHAR2(200);
    ls_to VARCHAR2(64);
    l_mail_conn UTL_SMTP.connection;
    ls_left_menu_name VARCHAR2(64);
    ll_emp_num number(8);
    begin
    for i in c_1 loop
    begin
    l_mail_conn := UTL_SMTP.OPEN_CONNECTION('IP');
    UTL_SMTP.HELO(l_mail_conn, 'IP');
    UTL_SMTP.MAIL(l_mail_conn, LS_FROM);
    UTL_SMTP.RCPT(L_mail_conn, LS_TO);
    UTL_SMTP.DATA(l_mail_conn,'From: ' ||ls_from || utl_tcp.crlf ||
    'To: ' ||ls_to || utl_tcp.crlf ||
    'Subject: ' ||ls_subject|| utl_tcp.crlf);
    UTL_SMTP.QUIT(l_mail_conn);
    exception
    when no_data_found then
    null;
    when others then
    RAISE_APPLICATION_ERROR(-20000, 'Failed to send mail due to the following error: ' || sqlerrm);
    end;
    end loop;
    end;
    Thnx

    Hi Nicolas!
    Have you tried to set "Output Format" for "RAW Text" to HTM in SCOT.
    If HTM is missing in your dropdown-list, you could check out table SXCONVERT2. Copy the line with category T/format TXT, and change the format from TXT to HTM. The existing function
    SX_OBJECT_CONVERT__T.TXT does not need to be changed. Now you should be able to choose HTM in SCOT. You will probably need som HTML-tags in your text to make it look good.
    Hope this helps!
    Regards
    Geir

Maybe you are looking for

  • How do I use a Mac keyboard for Windows functions?

    I just changed from an HP to a MacBook Pro and I'm running Windows XP on part of the hard drive. The problem is that I'm missing my key buttons, like <fn><prt sc> to print the screen or <insert> and <delete>. I can't figure out how to compensate for

  • ORA-12516 occurs in oracle 10.0.1

    In oracle 10.0.1 version, There are a lot of oracle.exe(SHAD) process using SQL: select * from v$process; Because the number of process exceeds the limit, it prompt error "ORA-12516". A few days ago, I have increased the limit value of process and it

  • Version Management in abap coding

    Hi Expertise, There is one report of 2000 lines, by mistake i have added few lines in middle. That has changed functionality completely which is wrong. I have to revert it back . I have tried with Version Management, but that is for program. Please h

  • ITunes Not working Properly/Not Syncing on Network properly

    Hello there, For weeks and weeks now on my Computer iTunes will not see or recognize my iPhone 4S and my iPad 3. When I try to sync by opening iTunes on desktop and then wake up pho ad iPad it does not see it and will not show them in iTunes no matte

  • Can i user char as the key in the hashtable

    I need to use char as the key in my hashtable Hashtable h=new Hashtable(); char a='s' h.put(a,'x'); i tried hashtable accepts String as the key .how to convert the String in to char