Send e-mail from a Web page
I need to add a new functionality to my Web application running on 9iAS. The user will be able to select an e-mail address and text on a page and click a button to send an e-mail to the selected recipient. That means the user doesn't edit anything on the mail, just clicks a button and the preformatted text gets sent. The user shouldn't have to see the e-mail dialog window.
Is there a way to do it without using "javascript mailto:", which displays a warning then opens a regular e-mail dialog window?
null
hi,
this is a code which sends email from oracle.
create or replace
PROCEDURE send_mail(sender IN VARCHAR2,
recipient IN VARCHAR2,
message IN VARCHAR2)
IS
mailhost VARCHAR2(30) := '150.100.100.37';
mail_conn utl_smtp.connection;
BEGIN
mail_conn := utl_smtp.open_connection(mailhost, 25);
utl_smtp.helo(mail_conn, mailhost);
utl_smtp.mail(mail_conn, sender);
utl_smtp.rcpt(mail_conn, recipient);
utl_smtp.data(mail_conn, message);
utl_smtp.quit(mail_conn);
EXCEPTION
WHEN OTHERS THEN
-- Handle the error
dbms_output.put_line(sqlerrm);
END;
null
Similar Messages
-
Is there away to get local web site to send e-mail?
I google this and find the following solution which works beautifully:
OS-X Leopard comes pre-installed with a Postfix version. No need to install it via darwin ports or other such mess (actually uninstall it if you have previously manually installed it via ports or something similar). Postfix just needs to be enabled and following sequence of several easy steps explains how to do it:
sudo vi /System/Library/LaunchDaemons/org.postfix.master.plist
add following line before the closing </dict> tag:
<key>RunAtLoad</key> <true/> <key>KeepAlive</key> <true/>
Start service with
$ sudo launchctl
launchd% start org.postfix.master
You can also start simply with "sudo postfix start" but the above command will start via launch sequence and test the configuration you edited in the previous step.
Check that SMPT is running:
telnet localhost 25
For more information, see: Mac OS X Manual Page For launchd.plist -
When I click on the email on a website my Icloud email address is used when I want to use my normal one. It does it automatically. Can this be stopped. Also may icloud emails don't get to the recipient why?
Hi Sylver123,
Thanks for posting, please use the 'contact the mods' link in my forum profile to send in your details and we'll get this issue with your email looked into further. You can find the link by clicking on my username.
Thanks
Neil
BTCare Community Mod
If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)
If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’. -
How do I set a new account as default in safari when I send emails from a web page
how do I set a new account as default in safari when I send emails from a web page
thanks in advanceIn the Composing pane of Mail's preferences window, look for the pop-up menu labeled "Send new messages from." Select the desired account there.
Note, though, that this won't change the behavior when replying to a message... in that case, the reply will be sent from the account that received the message, unless you specify differently at that time. -
Send e-mail from server side script
I'm currently implementing a web-site that will contain
a form for user input. The input from the form then needs
to be sent to an e-mail address. (Always the same e-mail address).
Rather than use the HTML "mailto:" command, I wish to send the
data from the form to a JSP page, then send the data from the JSP
page to the e-mail address.
I'm new to JSP, so any help on this subject would be much appreciated.Well first of all u have to user javamail api, when u dowload this from sun site there u would find an example on how to use the api. Either u can use it in the JSP or a Bean .
-
Hello:
I have a Mac running OS 10.8.5 and I use Acrobat Pro and Acrobat Reader. Today for some reason, any time I try and access a pdf file from a web page, it won't open. I get a blank window. PDF files already on my computer open fine and I can create PDF files from Word docs, but I can't download or view any pdf file from any web page. Strangely, PDF files on web pages open just fine on my iPhone.
I checked that both my copy of Acrobat Pro and Acrobat Reader are up-to-date. They are.
I checked that my copy of Firefox is up-to-date. It is. And nothing changed with Firefox within the last 24 hours.
I am a humble computer end-user. I am baffled as to why this would suddenly not work. I have not changed any settings, etc. Any help or suggestions would be greatly appreciated.Thank you.
I checked your instructions you sent and as far as I can tell all of my settings, etc for Firefox (plugin updates and preferences) are correct but I am having the same problem.
However, everything works in Safari. I don't have time to attempt to diagnose why Firefox no longer works. I will just switch to Safari.
Many thanks.
Charles
Charles Deister
(503) 949-5762
[email protected]<applewebdata://81CB4171-226F-49DF-BD59-A38A7360B3FB/[email protected]>
PO Box 5032
Salem, OR 97304
http://www.pilotstrat.com<http://www.pilotstrat.com/>
This transmission (including any attachments) may contain confidential information, privileged material, or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful. -
Is there any way to read XML directly from a Web Page ??
i have a url, which on sending request, shows XML in browser.
Now i need to read this XML in browser and then manipulate it according to my need and display it on another page.
actually the process is. :
1) i have to first retrieve an xml from other site. (XML will only be shown in browser)
2.)then i have to read the Xml and show it in according to my requirements.
Is there any way to read XML directly from a Web Page ??
is their logic to accomplish this.
e.g in Servlet i can do somewhat like this :
String wholeXml=Somemethod(url);
Please Advicethe average Java XML parser will accept an InputStream, so just open an URLConnection to the webpage, get the inputstream from it and feed that inputstream to the XML parser. If the URL has valid XML data, it will get parsed without problems.
-
Best Practices Question: How to send error message to SSHR web page.
Best Practices Question: How to send error message to SSHR web page from custom PL\SQL procedure called by SSHR workflow.
For the Manager Self-Service application we’ve copied various workflows which were modified to meet business needs. Part of this exercise was creating custom PL\SQL Package Procedures that would gather details on the WF using them on custom notification sent by the WF.
What I’m looking for is if/when the PL\SQL procedure errors, how does one send an failure message back and display it on the SS Page?
Writing information into a log or table at the database level works for trouble-shooting, but we’re looking for something that will provide the end-user with an intelligent message that the workflow has failed.
Thanks ahead of time for your responses.
RichWe have implemented the same kind of requirement long back.
We have defined our PL/SQL procedures with two OUT parameters
1) Result Type (S:Success, E:Error)
2) Result Message
In the PL/SQL procedure we always use below construct when we want to raise any message
hr_utility.set_message(APPL_NO, 'FND_MESSAGE_NAME');
hr_utility.raise_error;
In Exception block we write below( in successful case we just set the p_result_flag := 'S';)
EXCEPTION
WHEN APP_EXCEPTION.APPLICATION_EXCEPTION THEN
p_result_flag := 'E';
p_result_message := hr_utility.get_message;
WHEN OTHERS THEN
p_result_flag := 'E';
p_result_message := hr_utility.get_message;
fnd_message.set_name('PER','FFU10_GENERAL_ORACLE_ERROR');
fnd_message.set_token('2',substr(sqlerrm,1,200));
fnd_msg_pub.add;
p_result_message := fnd_msg_pub.get_detail;
After executing the PL/SQL in java
We have written some thing similar to
orclStmt.execute();
OAExceptionUtils.checkErrors (txn);
String resultFlag = orclStmt.getString(provide the resultflag bind no);
if ("E".equalsIgnoreCase(resultFlag)){
String resultMessage = orclStmt.getString(provide the resultMessage bind no);
orclStmt.close();
throw new OAException(resultMessage, OAException.ERROR);
It safely shows the message to the user with all the data in the page.
We have been using this construct for a long time for all our projects. They are all working as expected.
Regards,
Peddi. -
when I copy say something from a web page how then can I paste it and where to ie pages/messages etc on my ipad
You can paste it into any word processing program you have, evernotes as stated, the notes app, even into e-mail if you want.
-
Controlling shockwave content (dcr) from a web page using javascript
Hi,
Is it possible to control shockwave content (dcr; object="application/x-director") from a web page using javascript?
I believe this is possible using 'FSCommand' in Flash...
I'd like to use HTML to do something like:
- html_object[1].go(10);
to send playback to frame 10.
Thanks.
MarkSean,
Thanks - this is exactly what I was looking for.
'Shockingly' difficult ( pun intended :-)
Someone really put in some effort on this.
Very creative solution, putting a flash ( swf ) component in a director project and communicating indirectly through the flash element.
Apparently, Javascript can communicate with the SWF file & the SWF file can communicate with the DCR file, but it is not possible to have Javascript communicate directly with the DCR. Too bad.
After looking over this example I think I'll rethink my project.
Thanks again.
Mark -
Recently when I try to print from a web page or e-mail, it will only print the left side of the page. My printer is a Photosmart Plus B209a.
This article should help resolve your partial pages:
http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01892627&cc=us&dlc=en&lc=en
Give the steps listed under your operating system a try and let us know if it helps.
Best of Luck!
You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too. -
Couldn't send e-mails from Mail, but could from Mailbox
Hello
I travel to different countries with my iPhone, and I've never had any problems sending e-mails from Mail for iOS . . . until recently.
On a recent trip to Germany, I could receive e-mails and surf the Web, but I couldn't send e-mails from Mail. I searched for a solution on the Web and tried everything I found, but nothing worked. Then I tried putting my iCloud settings in Mailbox for iOS and it worked fine. I could receive and also send, with no problems.
Any ideas about why I had the problem and why it worked with Mailbox? I'm hoping to avoid this problem in the future!
ThanksI tried your suggestion (thx!) but still cannot send email. In the Accounts Preferences pane I see this:
I have tried taking this account online by first taking all accounts offline then taking them all online but it won't go. My other gmail accounts are all online and working normally. It's just my one iCloud account that is having problems. hmm... -
how can i send e-mail from within the form and without opening any e-mail program
just one click on a button in the form the mail will be sent
i'm working on nt osI use a program called BLAT which is a command line utility to send SMTP messages.
( Use the HOST built-in ).
I tried using MAPI products but they did not work well on the web.
null -
Sending a mail from a handheld device.
Hi!
What are the standard methods to send a mail from a hand held device using J2ME? I managed to do it by setting up a Java Web Server running a servlet which sends out a mail, if you provide it with the mail body and the e-mail address. I called this servlet from the MIDlet, and it works fine from the J2MEWTK.
Also, i want to know whether this would work when we port this onto an actual device? And where would the servlet run then?
Thanks & Regards!
AkhilHey,
With MIDP it's little bit hard to make application which connects to POP3 or IMAP server because there is no support for socket connections. But if your phone support sockets, it's not hard to
make a simple e-mail client for j2me.
But i've heard that it's possible to make somekind hacked socket connection for MIDP but i'm not sure will that work on actually phones.
- fuse -
In the instructions for sending e-mails from within LR it says: "In Windows Explorer or the Finder, create a shortcut or alias to your e-mail application".
How do I create a "alias to my e-mail application"?
Pleased be so kind as to let me have step-by-step instructions.
Thanks!Richard:
Thank you for reply.
I have a problem which I did put in this Forum some time ago, but which could not be solved: when I right click a preset (as you suggested) or click on "Export" and then select "Go to Export Actions Now" in both cases Internet Explorer opens saying "Page can not be opened"
Given this problem I now have done the following:
I copied the e-mail short-cut on my desk top and placed this in the Export Actions folder (in C:/Document and settings >Application Data >Adobe >Lightromm >Export Actions).
Is this correct?
Maybe you are looking for
-
I have updated my iPad, my wife's iPad, but both our iPhones (5S) and (5C), give the following error every time we try. "Unable to verify update. iOs 8.0.1 failed verification because you are no longer connected to the internet." We are obviously con
-
Cost of replacing a failing hard drive in a macbook?
I have a 2008 plain white macbook, and I want to know how much apple would charge me to replace my hard drive.
-
Need help urgent! I have MacBook, AppleTV, Time Capsule bought last year. All movies, musics, photos stored in Itunes MacBook which sync with Apple TV using Wifi connection from Time Capsule. Problem is now my MacBook & Apple TV hard disc are full. A
-
Modification of S_ALR_87012103
Hi, Is it possible to modify "List of vendor line items" program(tcode S_ALR_87012103)? if it is,how to? maggy
-
Organize content holder by category
We have a site where our list of content holders is getting a little unwieldy. We are adding a prefix to each content holder to help aid in searching, but it could be better. Is there a way now, or is there room for a future feature that would let a