IS THERE A SEND MAIL COMMAND?

I was wanting to know if there is a SEND MAIL COMMAND or something similiar to a SEND MAIL COMMAND that would automatically send a hard coded email message from an ORACLE FORM when a button on that form was pushed instead of opening up MICROSOFT OUTLOOK and having the user enter an email message and then hitting the SEND BUTTON.
I know that this can be done using SMTP code in a WHEN_BUTTON PRESSED TRIGGER. This happens when the last part of the mail host name is the same as the last part of the email address. For example, the mail host name on my PC is
'ERECEMH1-BH.EREC.ARMY.MIL' and my email address hard coded in the program is '[email protected]', the message gets sent. However if the
email address hard coded in the program is '[email protected]' then the hard coded email message in the program does not get sent.
What is causing this to not happen?

Since Im a 21 year retired US Air Force veteran I've decided to help you out.... :)
If you want to send email, with attachments, from an Oracle form implement one of these two methods.
1) Heres how you send email with attachments from the database for 8i and 9i using smtp..
http://www.oracle.com/technology/sample_code/tech/pl_sql/htdocs/Utl_Smtp_Sample.html
2) but, heres a newer/simpler utl_mail 10g method ...
http://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b14258/u_mail.htm
With the first example you will have to change the mail host in the code to a SMTP server in your organazation. I have not used the second newer 10g example but have heard it is easy. If you have 10g database you should probably use it.
From your email it is not clear what you are doing currently? Are you using outlook or are you using SMTP? If you are using SMTP then how exaclty are you doing that?
Disregarding all of the above for a moment... Are you sure its not getting "sent" or is just not getting "received". The email may actually be getting sent to an incorrect address, but since you are doing it, possibly, from outlook, there is no from email address to send the bounced email message back to...
There is no forms send_mail built-in command. Gotta use one of the options above or outlook.
You can call outlook from ole2 or do this...
web.show_document('mailto:[email protected]?subject=Happy%20Birthday&body=I%20dont%20like%20green%20eggs%20and%20ham');
Using outlook to send email, or any client email software, is generally not a good idea. Its better to setup one of the options above, 1 or 2, and email from the database not the client.
And.. there's even a java mail solution...
Message was edited by:
Mark Reichman

Similar Messages

  • [nQSError: 75006] Failed to send MAIL Command

    Hello,
    We are on AIX and Siebel Analytics 7.8.5. We are having a weird issue with ibots. Wwe have around 800 ibots and only 65 of them fail with *[nQSError: 75006] Failed to send MAIL Command* this error. These ibots use to work good. I have created some test ibots and even those fail with the same error.
    Does any one have an idea..how to resolve this?
    Thanks in advance

    We are using Exchange Server. We are able to send e-mails to many usres....that means the credentials are correct. If we reschedule a delivered report..it is successful.
    Eventually succeeded, but encountered and resolved errors...
    Number of skipped recipients: 1 of 2
    +++ ThreadID: 8ca6 : 2010-09-23 09:30:37.000
    iBotID: /shared/_iBots/NBR - ED and Mktg/NBR Alert - Private Equipment
    [nQSError: 75006] Failed to send MAIL command.
    +++ ThreadID: 8ca6 : 2010-09-23 09:30:37.000
    iBotID: /shared/_iBots/NBR - ED and Mktg/NBR Alert - Private Equipment
    ...Trying SMTP Delivery loop again
    +++ ThreadID: 8ca6 : 2010-09-23 09:30:37.000
    ... Sleeping for 9 seconds.
    +++ThreadID: 8ca6 : 2010-09-23 09:30:46.000
    iBotID: /shared/_iBots/NBR - ED and Mktg/NBR Alert - Private Equipment
    [nQSError: 75006] Failed to send MAIL command.
    +++ ThreadID: 8ca6 : 2010-09-23 09:30:46.000
    iBotID: /shared/_iBots/NBR - ED and Mktg/NBR Alert - Private Equipment
    ...Trying SMTP Delivery loop again
    +++ ThreadID: 8ca6 : 2010-09-23 09:30:46.000
    ... Sleeping for 4 seconds.
    +++ ThreadID: 8ca6 : 2010-09-23 09:30:50.000
    iBotID: /shared/_iBots/NBR - ED and Mktg/NBR Alert - Private Equipment
    [nQSError: 75006] Failed to send MAIL command.
    Thanks

  • [nQSError:75006] Unable to send MAIL Command.5.7.1 Client was not authentic

    Hi,
    We have configured SMTP server details in OBIEE 11g OEM to send mail from Agent. When we run Agents, we are getting the error
    [nQSError:75006] Unable to send MAIL Command.5.7.1 Client was not authenticated
    Did anyone face the issue? In that Case, Please give some inputs on that.

    Hi Satya,
    I would like to few more which I have done today.
    I wanted to test telnet SMTP on the OBIEE Installed Machine and I was able to succeed also. Please find below what I did
    C:\>telnet mail.smtp.com 25
    220 internal.mail.smtp.com Microsoft ESMTP MAIL Service Readt at Fri,
    25 May 2012 00:51:00 -0400
    ehlo
    250-internal.mail.smtp.com Hello [162.44.76.47]
    250-SIZE
    250-PIPELINING
    250-DSN
    250-ENHANCEDSTATUSCODES
    250-X-ANONYMOUSTLS
    250-AUTH NTLM LOGIN
    250-X-EXPS GSSAPI NILM
    250-8BITMIME
    250-BINARYMIME
    250-CHUNKING
    250-XEXCH50
    250 XRDST
    AUTH LOGIN
    334 VXN1cm5hbWU6
    Uy5SY-------------- Mail User Name
    334 UGFzc3dvcmWU6
    U2hfpd------------- Mail Password
    235 2.7.0 Authentication Successful
    mail from:[email protected]
    250 2.1.0 Sender OK
    rcpt to:[email protected]
    250 2.1.5 Recipient OK
    data
    354 start mail input; end with <CRLF>.<CRLF>
    This is a Test Mail
    250 2.6.0 <internal.mail.smtp.com>
    Queue Mail for Delivery
    Mail Received in Inbox
    So, My Question is that, I am able to receive the Mail if I directly access SMTP via Telnet then , Why it is not working in OBIEE and it throws error
    [nQSError:75006] Failed to send MAIL Command.5.7.1 Client was not authenticated
    Please help on resolving the issue?

  • ODI Send Mail tool is sending thousands of mails

    Hi,
    In one of my ODI packages i have used ODI send mail to send the success notfication mails with error and log files attached.
    It worked fine for a long time but today we have received nearly 9000 mails from this.
    this package is loading data in to essbase and executing a calc script. while the package is in running mode, we killed the script from EAS as it is executing for more than double the time it do normally. Then immediately mails flow has been started. that too " success mails " . (we have two send mails- one for success and the other for failure notice).
    I tried to figure out the problem. there were no changes. Except the "To" field. we gave the all the recipients emails separated by commas instead of adding a new line for each recipient. I executed a new send mail command with the same way (TO field). It executed fine.
    Can any one help me to debug the error? is it caused by essbase/send mail? or any other reasons?
    Thanks in advance :)

    Thanks for your reply..
    yes it was looped. but how the success mail was kicked off ?. we killed the script in Essbase so the package should execute failure mail step. Instead it executed the success mail.
    any clue on this pls ?

  • How to activate "Send mail" from print preview in ME23N

    In ME23N there is a "print preview"-button that shows a preview of the PO. In the preview-windows there is a Text-menu with a "Send mail"-command, but that command is not active. How can I activate this command so that it is possible to send the PO to an email-recepient?
    I have configured the smtp-functionality (SCOT++) and sending PO's as email to suppliers in ME9F works fine by choosing "Send external". But still the Send mail-option is inactive in preview-mode. Any tips?
    Regards,
    Thor-Egil

    please maintain output condition record (MN04) as "external send"
    Also make sure that you have maintained the proper email ID in vendor master

  • Obiee 10g delivers cannot send mail

    hi i have tried to send mail to the user
    i have also disabled the firewall
    in the cmd i have checked
    TELNET SMTP.GMX.COM 587
    220 mail.gmx.com GMX MAIL SERVICES ESMTP {mp-eu002}
    i have also checked the ibots log file
    +++ ThreadID: 25dc : 2012-02-14 00:46:22.244
    iBotID: /users/administrator/_ibots/my new ibot/my new request
    [nQSError: 75006] Failed to send MAIL command. 5.7.0 Need to authenticate via SMTP-AUTH-Login {mp-eu006}
    +++ ThreadID: 25dc : 2012-02-14 00:46:22.247
    iBotID: /users/administrator/_ibots/my new ibot/my new request
    Exceeded number of delivery retries.
    ho to resolve the issue

    hi follow this
    gmx is providing free smtp server just create an id with gmx and in the job manager give the details in the mail tab
    http://gerardnico.com/wiki/detail/dat/obiee/bi_scheduler/obiee_scheduler_configuration_mail.jpg?id=dat%3Aobiee%3Ascheduler_mail_configuration_*
    give the credential like this
    senders address: [email protected]
    SMTP server:SMTP.GMX.COM
    smtp port:587
    check the option authenticate against smtp server
    username:[email protected]
    email password:XXXXXXXXX
    after that restart presentation services and bi scheduler
    if u have antivirus and firewall installed on ur pc disable it both
    in the cmd type this telnet smtp.gmx.com 587
    check whether you can communicate with the server if it doesnot pop up with any message host cannot connect then you ca send mail 2 you user wch u have assigned in you delivers..
    hope you got it any doubts send me a reply
    all the best

  • The sender information of mail command

    Hi there,
    Our machine is running Solaris 9 and using NIS. I sshed in as a regular user A and "su -" to root user. I typed following command as root user "mail A test ctrl^d". I switched back to regular user A and checked the email of A. I found the email with the content "test" as expected but I found the sender of the email is A NOT the root. I am wondering why I issued the mail command as root but the sender is not root but user A?
    Thanks in advance!

    I guessing but probably because mail is using your real UID and not your effective UID. Take a look at the -r switch. You could also use the -f switch with sendmail.

  • Sending Mail to Local Users via the Terminal mail Command

    I am having trouble sending mail to other user account via the terminal mail command. It seems to work with some accounts i.e. guest, etc, but fails with others i.e. Dennis. It will fail with no error message. Has anyone had any experience using the unix mail command locally ?
    Dennis

    I don't know the answer to this but you might try the -v option on the mail command in order to get verbose output. Perhaps a useful message would pop up.
    Also, you might consider posting this message in the Unix Forum. There is a good chance that someone there can help you with this issue.
    EMAC G4 1.0 GHz   Mac OS X (10.4.6)  

  • When i click on an excel or word file in 2007 the program begins to open but then an error message says There was a problem sending the command to the program

    when i click on an excel or word file in 2007 the program begins to open but then an error message says There was a problem sending the command to the program.
    i am using office2007  with windows7 premium home edition.  i have checked file associations., all DDE settings. i have even tried this in safe mode. the same thing happens. please note once i see the error. i can then go back to the file click on
    it a second time and it WILL open. AND i can open any file if i open excel and and find the file from there. i uninstalled and re-installed office 2007 from scratch. And i checked the compatibility mode (all un-checked) still the problem persisits. this is
    a real PITA.   anyone have any solution for this? Thanks 
    ken yanow

    Hi,
    Have you try to un-select the Ignore other applications that use Dynamic Data Exchange (DDE) setting?
    Click the Microsoft Office Button, and then click Excel Options.
    Click Advanced, and then click to clear the Ignore other applications that use Dynamic Data Exchange (DDE)
    check box in the General area.
    Click OK.
    If the problem cannot resolve, the Run as administrator may selected.
    Go to Office default install location: C:\Program Files\Microsoft Office\Office12.
    Right-click EXCEL.EXE > Properties >
    Compatibility tab.
    Under Privilege Level, uncheck Run this program as an administrator
    check box.
    Best regards.
    William Zhou
    TechNet Community Support

  • Since switching to Firefox this week, when I click on a hyperlink in an e-mail in Outlook, I get this message, "General failure. An error occurred in sending the command to the application." It doesn't open a new window or do anything.

    Since switching to Firefox this week, when I click on a hyperlink in an e-mail in Outlook, I get this message, "General failure. An error occurred in sending the command to the application." It doesn't open a new window or do anything. Any work around to fix this?

    See this lnk for a fix, it worked for me!
    http://www.pcworld.com/article/200103/fix_outlook_general_failure_error_for_email_links.html

  • Excel won't open and error message There was a problem sending the command to the programe

    Hi there
    I'd be grateful for your help.
    I've just bought a new laptop and installed Office 2013.  I used Excel 2013, did what I needed to do and saved it.  This was 5 days ago.
    Today, I've tried opening the file from my desktop and get the error message 'There was a problem sending the command to the program'.
    And when I try to open Excel to do the DDE fix, which seems to be the best suggestion, I can't open Excel at all.  I've tried to get into it from the Apps screen.
    Any help would be gratefully appreciated.
    Thanks

    Don't seem like this can be fixed so I went back to version 6.0.2 which works good.
    I have Chrome now as my default browser and will not use fire fox until they fix it!
    Chrome works great!

  • Using Firefox 4 & Windows 7. Everytime I start Firefox from a shortcut to a website it comes up with the following error 'there was a problem sending the command to the program'. The requested website does load after this. with no problems.

    Using Firefox 4 & Windows 7. Everytime I start Firefox from a shortcut to a website it comes up with the following error 'there was a problem sending the command to the program'. The requested website does load after this. with no problems.
    If a shortcut is used while Firefox is already open the error does not occur.

    As reported in earlier replies, the annoyance disappeared after I upgraded to Roboform 7.5.6, from 7.5.4.
    Regards, Steve

  • Word2007 in windows 7 -There was a problem sending the command to the program!

    I just bought my new HP laptop with windows 7 Home premier edition, and then I installed windows office 2007 suite. It's ok if I only open the word without any existing word file. But if I open word with a word file, it says " there was a problem sending
    the command to the program". I try this action under safe mode, it's no problem, I can open an existing word file. If I open the winword.exe and use menu "file-open" to open a word file, it's alright. But If I double click a word file, it shows that error.
    I tried to change the registry information according to the solution on internet, but it doesn't work.  I checked the compatibility mode, it says run in "windows XP sp3", and it is grey, I can't uncheck it.
    Anyone got any idea to fix this problem?
    Thanks a lot.

    Hi
    Thank you for using
    Microsoft Office for IT Professionals Forums.
    From your description, This sounds like a problem with the file associations in Windows.. If there is any misunderstanding, please feel free to let
    me know.
    The first thing to check is to make sure that the file extensions are correctly associated with Word.
    1.      
    Click Start > type or copy following command to the Search box
    "C:\Program Files\Microsoft Office\Office12\winword.exe" /unregserver
    2.      
    You should then, immediately, use the following command:
    "C:\Program Files\Microsoft Office\Office12\winword.exe" /regserver
    Re-associate the Word file  manually:
    Please go to
    Start \Control Panel\Programs\Default Programs\Set Associations.
    Locate the files .doc, .docm,.docx, .dot, .dotm, check if there are associated with
    Microsoft Word. If not, highlight the file and click the
    Change Program button. Choose Microsoft Word from the list. If you are unable to see Microsoft Word from the list, click the
    Browse button. Browse to the folder: C:\Program Files\Microsoft Office\Office12, and choose
    WINWORD.EXE.
    Click
    OK to save the settings.
    Please take your time to try the suggestions and let me know the results at your earliest convenience. If anything is unclear or if there is anything
    I can do for you, please feel free to let me know.
    Hope that helps.
    Sincerely
    William Zhou CHN
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Since upgrading to Firefox 4.0 I keep getting the error message "THERE WAS APROBLEM SENDING THE COMMAND TO THE PROGRAM", please can you advise how I get it to stop?

    I have just upgraded to Firefox 4.0 and ever since then I get this message when I try to go to either Yahoo or Gmail
    "THERE WAS A PROBLEM SENDING THE COMMAND TO THE PROGRAM",
    I had this problem a month or so ago so downgraded to Firefox 3.6 and the problem went away but have now been advised to upgrade which indeed I have and hey presto the error message again, please how can I fix it??

    OK, you seem to be running Zone Alarm as your firewall. It includes a utility which checks to see whether a site is safe or not and also adds a plugin to Firefox which is listed as '''npFFApi'''. Can you disable that and see if it makes any difference?
    To get to the plugins manager, click the orange Firefox button, then click "Add-ons". In the page that opens, click the "Plugins" link on the left which will open the menu. Then find '''npFFApi '''and click the "''Disable''" button.

  • Fixing :there was an error sending mail"

    I am using Adobe Reader 9 and Acrobat 8 Pro on a Lenovo, Windows 7, 64bit machine. When I right-click pdf files from my directories, and select "send", the file attaches itself to a new e-mail (from Outlook) and I can send - no issues. However, if I am viewing an open pdf and I select the e-mail or send icon from the toolbar, I get an error message (first box just says "error", then second box says "there was an error sending mail". I have Googled this issue and, in turn checked my Windows settings for Outlook, etc. I see no issues. I have run Adobe updates - still doesn't work. Any ideas?
    Thanks, Wayland

    What I'm trying to say, that when I update my App there an error appears

Maybe you are looking for