Sending a mail when submitting a form
i am developing an application wherein i am using a html form to gather some information from a user and on subimition of the form .the data need to be directly sent to a particular email address with using outlook express (i.e. through some coding to send the data directly to the address)
so i need to implement the above mentioned process by some means
i will be great full somebody help in this regard
Hi,
There are API in Java for Mail called as Java Mail API.
You need to search how you can use them in servlet.
Ajay.
Similar Messages
-
State service error when submitting InfoPath form to Library
I have a problem and looks like Google couldn't help me.. I really hope someone here will be able to.
I have a Form Library using a custom form. When submitting the form to the library, users are getting this error. I don't get the error with my own user, only difference is I have full access to the farm and content using web app policy.
ULS logs give me few informations
SharePoint Server
State Service
bm1k
Medium
StateSqlSession.GetItemBytesInternal() Locked row in database for key ba18f90ee2e844468b08e90ad96dff2c_05967b71a21948d39b7d4d3ada9b27c9 for 4 seconds
SharePoint Server
State Service
bm0t
Unexpected
StateManager.GetState() Locked data (05967b71-a219-48d3-9b7d-4d3ada9b27c9)
InfoPath Forms Services
Runtime - State Service
b5st
Medium
MOSS StateService threw an exception: A Microsoft SharePoint Server State Service error occurred while processing your request. For more information, contact your server farm administrator.
I deleted the State Service and recreated it twice, once with PowerShell and then with the Farm Configuration wizard. Restarted the server. Problem might come from InfoPath Forms Services tho but I don't what else I can do.
Does anyone have any clue??
JP Berube | MCTS SharePoint 2010 Configuration and Application DevelopmentHi,
We had the same problem with InfoPath.
After analysis of servers,it turns out that
the anonymous user authentication has been enabled on
the web application server
via IIS and not via SharePoint
(unsupported configuration), causing
side-effects on some queries which
calls to forms.
We disabled anonymous access.This desactivation
causes the functioning of forms again.
Rachid. -
Error"There was an internal error when submitting the form" URM Disposition
Hello
I get the following error - "*There was an internal error when submitting the form*" - when i allocate a Retention Disposition to a Retention Category.
Any Ideas how this can be solved?
Thank youNot based on the minimal information provided.
Error messages in 11g, from a UI standpoint, are severely deficient. How about looking in the content server logs and posting some more information? -
"Send e-mail when ownership is assigned" SharePoint 2013 task list
I've found that the option to "Send e-mail when ownership is assigned" isn't available in SharePoint 2013 (enterprise) task lists. I've found that this functionality is now included the 'issue tracking' list template.
I'm unsure why this very useful feature has been removed from the task list template. I’ve tried adding the task content type to an issue list; this works fine and the notification is sent. However, the new ‘task aggregation’ feature
in mysite only picks up items in an task list, so those items stored in issue lists get ignored. Fairly frustrating.
I wonder whether anyone from MS can fill me in on when this feature has been removed?Here's a way to enable it by PowerShell:
http://bernado-nguyen-hoan.com/2013/04/26/enable-email-notifications-for-tasks-list-in-sharepoint-2013/
Although this works, are we now expected to teach users who create Tasks and want to automatically notify all involved via e-mail Powershell skills? MS really needs to take a second look at this faux pas and bring the "Send
e-mail when ownership is assigned" option back. -
CCMS not sending e-mail when system is down
I have installed solution manager 4.0 and configured it as a CEN to handle all CCMS alerts from our SAP systems (ECC5.0, BW, etc), these systems all have CCMS agents install and configured. The configurations work no problem. We get automatically notifications on a lots of events -- such as shortdumps, responses time, system log errors, etc. However, we never get e-mail notifications on following two situations:
1. System down -- when one system is down, we can see it availability is going to 0% on solution manager but we did not get e-mail, I am using MTE class "Availability_SysPercent_ABAP", it should send e-mail when it below 60%. But it never did even it's 0%. Also tried several other MTEs, but none of them work. Is this because when system is down, CCMS not work any more or something else?
2. Job cancel -- I am not what MTE class to use in order to send e-mail when some jobs are cancelled.
Any help are greatly appreciated.
Yujun RanI don't know if this is correct but my Execution is "Any server" and it works.
I assume you copied the same method for your central AR method. The person earlier who mentioned clients may have something. I don't use the CCMS_OnAlert_Email_V2 method so I'm not sure but I think the parameters need to have a user in 000 with an e-mail address in the user master in order to send. I don't think this is any different for the Central AR method which works for you so probably not the problem but double-check. I use the CCMS_Send_Alert_to_ALM_V2 method so my config will be a little different.
Is SAP_CCMS_MONI_BATCH_DP scheduled in CEN? Mine is in the working client but again, not sure if it matters.
Does the AR method you have assigned show up in RZ20>>Change mode>>View>>Method allocation?
Is the send job in SAPCONNECT scheduled, I believe it behaves differently with local and central AR's.
Message was edited by:
David Hill -
How to allow users to include a photo when submitting a form
Using Adobe Livecycle Designer ES Version 8.2.1.3144.1.471865
Would anyone out there know how to add the functionality of allowing users who are filling out a form to include a photo when submitting the form?
Thanks in advance for any help.
Regards,
LolaHi,
If you drag an imageField onto the page, when the user clicks on this at runtime, they will be prompted to select an image file.
There is an example of that in this form: http://assure.ly/j1KdNq.
There are more image field examples on our site, but I don't think any of them are set up for the user to select an image. http://assure.ly/ozrNSO.
Hope that helps,
Niall -
Java.lang.IllegalStateException when submitting a form.
Hi there,
I'm pretty new with jsp pages & tomcat, please check the following code :
<form action="validInput" method="POST">
<input name="cpyName" />
<input type="submit" value="submit" />
</form>when submitting the form I get the following error :
method HTTP POST is not supported by this URL
If I switch the form method to GET, I get the following error :
java.lang.IllegalStateException
org.apache.coyote.tomcat5.CoyoteResponseFacade.sendError(CoyoteResponseFacade.java:325)
javax.servlet.http.HttpServlet.doPost(HttpServlet.java:346)
vra.Servlet2.doPost(Servlet2.java:24)
vra.Servlet2.doGet(Servlet2.java:17)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Thanks to help.Please go through this resolved post:
[http://forums.sun.com/thread.jspa?forumID=45&threadID=506192|http://forums.sun.com/thread.jspa?forumID=45&threadID=506192]
Edited by: J4Java on Apr 29, 2009 2:54 AM -
Change enctype when submitting a form
Hi,
Can anyone please let me know if its possible to change the enctype when submitting a form. I am trying to change the enctype to "multipart/form-data" when upload is clicked, else i want it to be the default.....
function OnSubmitForm(myform)
alert('document.pressed : ' + document.pressed );
if(document.pressed == 'Upload')
myform.enctype="multipart/form-data";
alert('enctype: ' + myform.enctype);
else
alert('enctype: ' + myform.enctype);
return true;
}The JavaScript property is encoding (not enctype). The JavaScript encoding form property corresponds to the html enctype form attribute. So the code should be:
function OnSubmitForm(myform)
alert('document.pressed : ' + document.pressed );
if(document.pressed == 'Upload')
myform.encoding="multipart/form-data";
alert('enctype: ' + myform.encoding);
else
alert('enctype: ' + myform.encoding);
return true;
} -
Unkown failure when submitting a form to PHP web page
Hello.
I've been having a following issue when using Adobe Reader X version 10.1.3.23 and the newest version.
An error occurred during submit process. Unkown failure.
This happens when the document is receiving data from web page.
Following javascript is behind the submit button:
this.submitForm({
cURL: "http://path.to.url/index.php",
cSubmitAs: "XFDF" // the default, not needed here
In the web page there is a script that processes the data and after that it sends pdf document to the user that has submitted the form:
header('Content-type: application/pdf');
header('Content-Disposition: attachment; filename="confirmation.pdf"');
readfile('confirmation.pdf');
The problem only occurs on some computers i've tried this form. I have no idea why this is happening. Any ideas?The submit button is in the PDF file.
http://s29.postimg.org/v5y4hmyg7/error.png -
Need to send Automated mail when releasing the Hold
Hi Team,
I have requirement to send the mail to customers when releasing the Hold Manually in OM.
Kindly let me which event will trigger when releasing the hold manually.(Action -> Release Holds)
Thanks
Suresh.S.hi,Suresh
There may be a way for your requirement.
Achieved with form personliaze as follows(Not test):
trigger event: post-query
1.Check the holds which retrived at 2 is released or not.
If released then send mail.
2.Get current holds again.
At the first time, 1 will not perform anything because of holds has not be got yet.
Afterwards 1 will perform normally when release hold. (Action -> Release Holds)
Regards,
Leno
Edited by: Leno Sun on 2013/05/10 0:36 -
Change subject line of email when submitting a form using Acrobat X Pro
I have created an interactive PDF in Acrobat X PRO with a submit a form button. Everything works fine all the way through distribution except that I need the Subject Line of the submitted form when attached to an email to read "Form Returned: File Name" rather than "Submitting Completed Form". All of my past forms had the "Form Returned: File Name" subject line automatically...did something change and is it possible to change the subject line? Any help would be much appreciated.
Thank you for your reply. I had actually come across that form on multiple occasions during my research. Looks like I need the doc.mailDoc() function, but there isn't an example of the code. Looking in other places I have tried a few things unsuccessfully. I did find this, which I thought would be even better than Form Returned: File Name in the subject line...actually taking information from fields in the form:
// Build the subject line text from several fields form fields
var subj_text = getField("text1").valueAsString;
subj_text += getField("text2").valueAsString;
subj_text += getField("text3").valueAsString;
// Send the email
mailDoc({
cTo: "[email protected]",
cSubject: subj_text,
cMsg: "Body of email message goes here."
I entered the script(adding in my own information for the email, body and subject line) by adding an action to the button to run the java script but it did not work. Any ideas?? -
Intent_driven Interaction: Sending E-Mail when the Service Request is saved
Hi,
I would like to send automatically an E-mail when the Service Request is saved. I created a new policy within context "Intent Driven Interaction" . I chose the IC event "OrderSaved" and the relevant Business Roles. In my rule I chose the condition "If current Event equals Order was saved" and the action "Send out going E-Mail Using Mail Form". I created an interaction profile that is assigned to the Service Manager Profile "IDI Default".
It does not work. Any idea ? Is there a way to test this type of rule ?
Thanks a lot !!!Thanks a lot for your fast response, unfortunately this is not what i was looking for.
Kind regards
Hannes
If your question is solved, please mark as answered.
Edited by: Hannes Wegehenkel on Sep 22, 2010 2:38 PM -
Need to send a mail when job window time is over
Hi ,
select * from v$version;
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production
TNS for Linux: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
========
I have created a job using dbms_scheduler.create_job with a 1 hour window ( created using dbms_scheduler.create_window ) .
My job triggers a stored procedure . Now I have a send_mail code at the end of the stored procedure which sends a mail with plsql log as an attachment . When my job runs more than 1 hour the stored proc is getting stopped and not triggering the mail though I put the same code in exception block ( exception when others ) .
CREATE OR REPLACE PROCEDURE my_sp
AS
BEGIN
-- some code ---
begin
-- send mail --
end
EXCEPTION
WHEN OTHERS
THEN
send mail ( Can I get this piece when window time is over )
END;
Is there any other way I can run the last piece of the proc (send_mail) .
Thanks ,
MaheshMahesh wrote:
Folllowing below note .
http://download.oracle.com/docs/cd/E14072_01/server.112/e10595/scheduse008.htm
but need to attach a file .
SQL> desc utl_mail
PROCEDURE SEND
Argument Name Type In/Out Default?
SENDER VARCHAR2 IN
RECIPIENTS VARCHAR2 IN
CC VARCHAR2 IN DEFAULT
BCC VARCHAR2 IN DEFAULT
SUBJECT VARCHAR2 IN DEFAULT
MESSAGE VARCHAR2 IN DEFAULT
MIME_TYPE VARCHAR2 IN DEFAULT
PRIORITY BINARY_INTEGER IN DEFAULT
REPLYTO VARCHAR2 IN DEFAULT
PROCEDURE SEND_ATTACH_RAW
Argument Name Type In/Out Default?
SENDER VARCHAR2 IN
RECIPIENTS VARCHAR2 IN
CC VARCHAR2 IN DEFAULT
BCC VARCHAR2 IN DEFAULT
SUBJECT VARCHAR2 IN DEFAULT
MESSAGE VARCHAR2 IN DEFAULT
MIME_TYPE VARCHAR2 IN DEFAULT
PRIORITY BINARY_INTEGER IN DEFAULT
ATTACHMENT RAW IN
ATT_INLINE BOOLEAN IN DEFAULT
ATT_MIME_TYPE VARCHAR2 IN DEFAULT
ATT_FILENAME VARCHAR2 IN DEFAULT
REPLYTO VARCHAR2 IN DEFAULT
PROCEDURE SEND_ATTACH_VARCHAR2
Argument Name Type In/Out Default?
SENDER VARCHAR2 IN
RECIPIENTS VARCHAR2 IN
CC VARCHAR2 IN DEFAULT
BCC VARCHAR2 IN DEFAULT
SUBJECT VARCHAR2 IN DEFAULT
MESSAGE VARCHAR2 IN DEFAULT
MIME_TYPE VARCHAR2 IN DEFAULT
PRIORITY BINARY_INTEGER IN DEFAULT
ATTACHMENT VARCHAR2 IN
ATT_INLINE BOOLEAN IN DEFAULT
ATT_MIME_TYPE VARCHAR2 IN DEFAULT
ATT_FILENAME VARCHAR2 IN DEFAULT
REPLYTO VARCHAR2 IN DEFAULT -
WL 8.1 BEA-101083 error when submitting a form using javascript (IE only)
Hello,
I have a JSP page that is submitting a form with javascript document.form.submit()
after checking the validity of form element values, but I randomly get a BEA-101083
error. The jsp page has worked fine for several year in IPlanet, and Sun One
7 application server, but when ported over to WebLogic 8.1 SP2 the error manifests
itself. Basically, when user submits the form, the next page is displayed with
null values, and soon after the following stack trace appears in the server log.
This error only occurs when the client browser is IE, Netscape works fine.
Thanks,
-Colin
<WLS Kernel>> <> <BEA-101083> <Connection failure.
java.io.IOException: A complete message could not be read on socket: 'weblogic.servlet.internal.MuxableSocketHTTP@9bb9300
- idle tim
eout: '30000' ms, socket timeout: '30000' ms', in the configured timeout period
of '60' secs
at weblogic.socket.SocketMuxer$TimeoutTrigger.trigger(Lweblogic.time.common.Schedulable;)V(SocketMuxer.java:775)
at weblogic.time.common.internal.ScheduledTrigger.run()Ljava.lang.Object;(ScheduledTrigger.java:243)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.Privil
egedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.a
cl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:118)
at weblogic.time.common.internal.ScheduledTrigger.executeLocally()V(ScheduledTrigger.java:229)
at weblogic.time.common.internal.ScheduledTrigger.execute(Lweblogic.kernel.ExecuteThread;)V(ScheduledTrigger.java:223)
at weblogic.time.server.ScheduledTrigger.execute(Lweblogic.kernel.ExecuteThread;)V(ScheduledTrigger.java:50)
at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:170)
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)Checkboxes only submit a value when they are "on"
They submit nothing if they are not selected.
The problem comes - do you interpret no checkbox values as "clear all values" or "leave the values alone"? Struts assumes the latter.
Your form is probably being kept in session?
Try implementing the reset() method of your action form and set its property to be equivalent to no checkboxes selected. -
How to send e-mail when a trigger condition is verified?
Hi,
I want to implement a trigger to send an e-mail when the condition of the tigger is verified.
Thanks in advance.
Paulo.i'm using the sample code you can find at http://otn.oracle.com/sample_code/tech/pl_sql/htdocs/Utl_Smtp_Sample.html to implement the mail function.
Check out you gateway configuration cause i had some problems with it at the beginning
my trigger goes like this (i use it to receive a mail everytime i have a exception in one of my processes):
create or replace trigger TRG_error_handle
after insert on errores
for each row
begin
demo_mail.mail(sender => "sendername", recipients => "your emailadress",
subject => 'Error en reporte ' || :new.proceso,
message => 'Ha ingresado un error de aplicación a las ' ||
to_char(:new.fecha, 'hh24:mi:ss') || ' del ' ||
to_char(:new.fecha, 'dd/mm/yyyy') || chr(13) ||
' Proceso: ' || :new.proceso || chr(13) ||
' Mensaje de error: ' || :new.err_desc);
end if;
end TRG_error_handle;
Good luck.-
Maybe you are looking for
-
Unable to view next page of report in Crystal Viewer using JAVA
Post Author: sartu CA Forum: JAVA We have been able to successfully deploy a report through Crystal viewer XI /Java /Sun Solaris, report works fine, able to suppress group tree, but unable to veiw 2nd page of report. The suppression of the group t
-
Numbering photos in iPhoto for Toast6Lite
In creating a Slideshow I change the order of some photos in an Album to better tell the story. Then I have changed the titles, in the new order, to 001, 002, etc. in the 'Information' section. But when I move these photos into ToastLite or to the De
-
Transport Structure CO-PA (Characteristic modified)
I have some characteristics and value fields. I changed one characteristic because it was defined with verification table and it must without verification. Before I did transport all the structure to the system of integration. When I transport the s
-
I am trying to find a support matirx for Windows client support in 4.9 I see where the newest release supports WIndows 8 and IE10. I do not see support for Windows embedded. Is this supported?
-
i have a table named per_all...column names are a,b,c,d..a&b are of varchar type and c&d are of check box type i have to insert values in these four fields using cursor...Please give me the solution... I am new in this technology.