Unknown exception in sending mail

Hi,
I have written a jsp send mail application, but it is giving error that NoSuchProviderException. What to do? Plz help. I m sending the code as below:
<%@ page import="java.util.*, javax.mail.*,javax.mail.internet.*" %>
<html>
<head>
<title>E-Mail Us</title>
</head>
<body bgcolor="white" text="#003399" >
<%
if(request.getMethod().equals("POST") )
boolean status = true;
String mailServer ="SMTP_HOST";
String fnm = request.getParameter("fnm");
String lnm = request.getParameter("lnm");
String facility = request.getParameter("facility");
String subject = request.getParameter("select");
String fromEmail = "[email protected]";
String toEmail = "[email protected]";
String bccEmail = "[email protected]";
String contact =request.getParameter("select2");
String way =request.getParameter("way");
String messageEnter = request.getParameter("message");
try
Properties props = new Properties();
props.put("mail.smtp.host", mailServer);
props.put("mail.smtp.auth", "true");
Session s = Session.getInstance(props,null);
MimeMessage message = new MimeMessage(s);
InternetAddress from = new InternetAddress(fromEmail);
message.setFrom(from);
InternetAddress to = new InternetAddress(toEmail);
InternetAddress bcc = new InternetAddress(bccEmail);
message.addRecipient(Message.RecipientType.TO, to);
message.addRecipient(Message.RecipientType.BCC, bcc);
message.setSubject(subject);
message.setSentDate(new Date());
message.setText(messageEnter);
message.setText(way);
message.setText(contact);
message.setText(facility);
message.setText(fnm);
message.setText(lnm);
Transport transport = s.getTransport(mailServer);
transport.connect(mailServer, "USER", "PASSWORD");
transport.sendMessage(message, message.getAllRecipients());
transport.close();
catch(NullPointerException n)
System.out.println(n.getMessage() );
out.println(n.getMessage());
out.println("<br><br><br><br><center><b>"+" ERROR!!!"+"</b></center>");//you need to enter a message"+"</b></center>");
out.println("<br><br><center><b>"+"You need to Enter a message"+"</b></center>");
status = false;
catch (Exception e)
System.out.println(e.getMessage() );
out.println("<br><br><br><br><center><b>"+" ERROR!!!"+"</b></center>");
out.println("<br><br><center><b>"+"Your Message to " + toEmail +" and "+ bccEmail+ " failed, reason is: " + e);
status = false;
if (status == true)
out.println("<br><br><center><b>"+"Your message to " + toEmail +" and "+ bccEmail+ " was sent successfully!"+"</b></center>");
else
%>
<center>
<h1>Contact Us</h1>
<form method="post" name="mail" action="mail.jsp">
<table border="0">
<tr>
<td><b>First Name :</b></td>
<td><input type="text" name="fnm" size=24></td>
</tr>
<tr>
<td><b>Last Name :</b></td>
<td><input type="text" name="lnm" size=24></td>
</tr>
<tr>
<td><b>Facility :</b></td>
<td><input type="text" name="facility" size=24></td>
</tr>
<tr>
<td><b>Subject :</b></td>
<td> <select name="select">
<option>-------------------------------</option>
<option>Missing File</option>
<option>Correction Issue</option>
<option>Refer Us</option>
<option>Miscellaneous</option>
</select></td>
</tr>
<p>
<tr>
<td><b>Comments :</b></td>
<td><textarea name="message" rows = "10" cols="50"></textarea></td>
</tr>
<tr>
<td><b>Best way to contact :</b></td>
<td>
<select name="select2">
<option>--------------</option>
<option>Phone</option>
<option>Email</option>
<option>Fax</option>
</select>
<input type="text" name="way" size=24></td>
</tr>
</table>
<p>
<font face="Helvetica"><input type="submit"
value="Submit" name="Command">
</font>
</form></center>
<%
%>
</body>
</html>unk

Hi,
Have you configured the SMTP server settings in the various config files for the new version that you are using? Your log seems to suggest that it is still set to 'mail' which I think is the default.
I think the minimum you need to do is Essbase, Financial Reporting and Workspace, files as detailed below (paths may vary depending upon platform, windows & tomcat provided below even though it sounds like you've done this before).
Essbase: C:\Hyperion\AnalyticAdministrationServices\server\ OlapAdmin.properties
Financial Reporting: C:\Hyperion\BIPlus\lib\ fr_global.properties
Workspace: log in and select Navigate > Administer > Notifications
You may also need to restart the related services.
Hope this helps
Stuart Game
www.analitica.co.uk

Similar Messages

  • Geting exception whiel sending mail from OIM

    Hi,
    Currently we are using Exchange 2010 and our OIM version is 9.1.0. We have written custom code for Exchange provisioning. We have migrated the admin account, through which OIM sends out mail, to Exchange 2010. We are trying to create new OIM user in IDM. We have a custom code which sends out mail to supervisor when a new contractor is created in IDM. Whiel sending mail from that admin account to supervsior we get this below error:
    ERROR,08 Nov 2012 00:03:28,026,[XELLERATE.REQUESTS],Class/Method: tcEmailNotificationUtil/sendEmail encounter some problems: Sending failed;
    nested exception is:
    class javax.mail.MessagingException: xxx x.x.x Client was not authenticated
    javax.mail.SendFailedException: Sending failed;
    nested exception is:
    class javax.mail.MessagingException: xxx x.x.x Client was not authenticated
    at javax.mail.Transport.send0(Transport.java:218)
    at javax.mail.Transport.send(Transport.java:80)
    at com.thortech.xl.dataobj.util.tcEmailNotificationUtil.sendEmail(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    Please help us on this. Is firewall a issue as exchange server is installed on some other remote server?
    Thanks.
    Edited by: user11957197 on 8 Nov, 2012 1:15 AM

    I resolved this issue by using tcEmailNotificationUtil instead of other API
    In the Adapter's Java Code, I read values from "Email Server" IT Resource and my custom Email Template definition...by using tcITResourceOperationsIntf and tcEmailDefinitionOperationsIntf)
    Then by using OOTB class found in mail.jar and xlDataObjects.jar, I sent the mail..
    By using OOTB class found in mail.jar and xlDataObjects.jar, I sent the mail..
    import com.thortech.xl.dataobj.util.tcEmailNotificationUtil;
    tcEmailNotificationUtil emailNotificationUtil = new tcEmailNotificationUtil(dataProvider);
    emailNotificationUtil.constructEmail(emailTemplateName);
    emailNotificationUtil.sendEmail(toEmailAddress);

  • Getting exceptions while sending mail using javamail api

    Hi to all
    I am developing an application of sending a mail using JavaMail api. My program is below:
    quote:
    import javax.mail.*;
    import javax.mail.internet.*;
    import java.util.*;
    public class sms
    public static void main(String args[])
    try
    String strstrsmtserver="smtp.bol.net.in";
    String strto="[email protected]";
    String strfrom="[email protected]";
    String strsubject="Hello";
    String bodytext="This is my first java mail program";
    sms s=new sms();
    s.send(strstrsmtserver,strto,strfrom,strsubject,bodytext);
    catch(Exception e)
    System.out.println("usage:java sms"+"strstrsmtpserver tosddress fromaddress subjecttext bodyText");
    System.exit(0);
    public void send(String strsmtpserver,String strto,String strfrom ,String strsubject,String bodytext)
    try
    java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    Properties p=new Properties(System.getProperties());
    if(strsmtpserver!=null)
    p.put("mail.transport.protocol","smtp");
    p.put("mail.smtp.host","[email protected]");
    p.put("mail.smtp.port","25");
    Session session=Session.getDefaultInstance(p);
    Message msg=new MimeMessage(session);
    Transport trans = session.getTransport("smtp");
    trans.connect("smtp.bol.net.in","[email protected]","1234563757");
    msg.setFrom(new InternetAddress(strfrom));
    msg.setRecipients(Message.RecipientType.TO,InternetAddress.parse(strto,false));
    msg.setSubject(strsubject);
    msg.setText(bodytext);
    msg.setHeader("X-Mailer","mtnlmail");
    msg.setSentDate(new Date());
    Transport.send(msg);
    System.out.println("Message sent OK.");
    catch(Exception ex)
    System.out.println("here is error");
    ex.printStackTrace();
    It compiles fine but showing exceptions at run time.Please help me to remove these exceptions.I am new to this JavaMail and it is my first program of javamail.Please also tell me how to use smtp server.I am using MTNL 's internet connection having smtp.bol.net.in server.
    exceptions are:
    Here is exception
    quote:
    Javax.mail.MessagingException:Could not connect to SMTP host : smtp.bol.net.in, port :25;
    Nested exception is :
    Java.net.ConnectException:Connection refused: connect
    At com.sun.mail.smtp.SMTPTransport.openServer<SMTPTransport.java:1227>
    At com.sun.mail.smtp.SMTPTransport.protocolConnect<SMTPTransport.java:322>
    At javax.mail.Service .connect(Service.java:236>
    At javax.mail.Service.connect<Service.java:137>
    At sms.send<sms.java:77>
    At sms.main<sms.java:24>

    Did you find the JavaMail FAQ?
    You should talk to your ISP to get the details for connecting to your server.
    In this case I suspect your server wants you to make the connection on the
    secure port. The FAQ has examples of how to do this for GMail and Yahoo
    mail, which work similarly. By changing the host name, these same examples
    will likely work for you.

  • Exception in Sending Mails - Must issue a STARTTLS

    Sending Mails to Multiple Users
    I m getting this error, can somebody tell me what could be the possible error here:
    530 5.7.0 Must issue a STARTTLS command first k39sm4421196wah
    com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first k39sm4421196wah
    at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388)
    at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959)
    at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583)
    at MailSender.sendMessageTo(MailSender.java:46)
    at Mailer.sendMessages(Mailer.java:19)
    at Mailer.main(Mailer.java:33)
    Exception in thread "main" com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first k39sm44211
    96wah
    at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388)
    at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959)
    at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583)
    at MailSender.sendMessageTo(MailSender.java:46)
    at Mailer.sendMessages(Mailer.java:19)
    at Mailer.main(Mailer.java:33)

    Your server wants you to issue a STARTTLS command to switch the
    socket to a secure connection. You can allow JavaMail to do that by
    setting the "mail.smtp.starttls.enable" property to "true" when you create
    the Session. See the SSLNOTES.txt file included with JavaMail and the
    com.sun.mail.smtp package javadocs.

  • Getting exception in sending mail

    hi i got the exception as
    javax.mail.MessagingException: 530 5.7.0 Must issue a STARTTLS command first m78sm938871pye
    eventhoug i tryed all the suggestion specified in the forum. But still i got this problem can any one send the sulution for me its urgent for me
    Thanks In Advance
    [email protected]

    Here i send the code but it gives starttls exception can any one help me to solve this
    import javax.mail.*;
    import javax.mail.internet.*;
    import java.util.*;
    import java.io.*;
    public class SendMailUsingAuthentication
    private static final String SMTP_HOST_NAME = "smtp.gmail.com";
    private static final String SMTP_AUTH_USER = "vsrmca06";
    private static final String SMTP_AUTH_PWD = "xxxxx";
    private static final String emailMsgTxt = "Online Order Confirmation Message. Also include the Tracking Number.";
    private static final String emailSubjectTxt = "Order Confirmation Subject";
    private static final String emailFromAddress = "[email protected]";
    // Add List of Email address to who email needs to be sent to
    private static final String[] emailList = {"[email protected]"};
    public static void main(String args[]) throws Exception
    SendMailUsingAuthentication smtpMailSender = new SendMailUsingAuthentication();
    smtpMailSender.postMail( emailList, emailSubjectTxt, emailMsgTxt, emailFromAddress);
    System.out.println("Sucessfully Sent mail to All Users");
    public void postMail( String recipients[ ], String subject,
    String message , String from) throws MessagingException
    boolean debug = true;
    //Set the host smtp address
    java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    Properties props = new Properties();
    props.put("mail.transport.protocol", "smtp");
    props.put("mail.smtp.starttls","true");
    props.put("mail.smtp.port",465);
    props.put("mail.smtp.host", SMTP_HOST_NAME);
    props.put("mail.smtp.auth", "true");
    Authenticator auth = new SMTPAuthenticator();
    Session session = Session.getDefaultInstance(props, auth);
    session.setDebug(debug);
    // create a message
    Message msg = new MimeMessage(session);
    // set the from and to address
    InternetAddress addressFrom = new InternetAddress(from);
    msg.setFrom(addressFrom);
    InternetAddress[] addressTo = new InternetAddress[recipients.length];
    for (int i = 0; i < recipients.length; i++)
    addressTo[i] = new InternetAddress(recipients);
    msg.setRecipients(Message.RecipientType.TO, addressTo);
    // Setting the Subject and Content Type
    msg.setSubject(subject);
    msg.setContent(message, "text/plain");
    Transport.send(msg);
    * SimpleAuthenticator is used to do simple authentication
    * when the SMTP server requires it.
    private class SMTPAuthenticator extends javax.mail.Authenticator
    public PasswordAuthentication getPasswordAuthentication()
    String username = SMTP_AUTH_USER;
    String password = SMTP_AUTH_PWD;
    return new PasswordAuthentication(username, password);

  • Exception while sending mail using javamail

    below i am using the code to send a mail to [email protected]
    but it is giving exception
    "class com.sun.mail.smtp.SMTPSendFailedException: 554 <[email protected]>: Recipient address rejected: Relay access denied"
    please can any body help me to solve this problem
    Properties props = new Properties();
    props.put("mail.smtp.host", "xxxxxxxxxxxxx");
    Session s = Session.getInstance(props,null);
    MimeMessage message = new MimeMessage(s);
    InternetAddress from = new InternetAddress("[email protected]");
    message.setFrom(from);
    InternetAddress to = new InternetAddress("[email protected]");
    message.addRecipient(Message.RecipientType.TO, to);
    message.setSubject("Test from JavaMail.");
    message.setText("Hello from JavaMail!");
    Transport.send(message);

    I was getting the same error as the others, and I added authentication, but it still gives me the error.
    All "AutomailingUtility" constants are strings
    public class SMTPSender {
    private Session session;
    public SMTPSender() {
    Properties props = new Properties();
    props.setProperty("mail.smtp.host", AutomailingUtility.HOST);
    props.put("mail.smtp.auth", AutomailingUtility.AUTH);
    Authenticator auth = new MyAuthenticator(AutomailingUtility.USERNAME, AutomailingUtility.PASSWORD);
    session = Session.getInstance(props, auth);
    public void sendMessage(String toUser, String message, String subject) {
    try {
    Message msg = new MimeMessage(session);
    msg.setSubject(subject);
    msg.setSentDate(new Date());
    InternetAddress ia = new InternetAddress(AutomailingUtility.FROM_ADDRESS);
    msg.setFrom(ia);
    msg.setRecipients(Message.RecipientType.TO, InternetAddress.parse(toUser));
    msg.setText(message);
    Transport.send(msg);
    } catch (AddressException e) {
    e.printStackTrace();
    } catch (MessagingException e) {
    e.printStackTrace();
    any ideas?

  • Exception when sending mail to client on a different mail server

    Hi,
    When i try to send a mail to a client on a different mail server from mine I am getting the following exception.
    javax.mail.SendFailedException: Sending failed;
    nested exception is:
         class javax.mail.SendFailedException: Invalid Addresses;
    nested exception is:
         class javax.mail.SendFailedException: 550 not local host yahoo.com, not a gateway
    It works perfectly fine when i send a mail to a client on my mail server. I am stuck up at this point - PLEASE HELP, any help greatly appreciated.
    Thank you,
    npaila

    Most of these are, of course, anti-Spam measures implemented by the various SMTP hosts, to prevent spammers from using their servers to spread the stuff (what you're doing is exactly what Spammers do as well).
    In general, most properly configured SMTP servers will only accept messages if:
    (a) Your IP address (as seen by that SMTP server) maps back to a proper host name, AND
    (b) The recipient of the message is "local" as determined by that SMTP server, AND
    (c) In many cases, the SMTP server will also cross-check your HELO/EHLO address and the MAIL FROM: value.
    It may take a few attempts to get all this right.

  • Exception while sending Mail

    Hi I am getting javax.mail.sendFailedException: InvalidAddreses
    nested exception is class com.sun.mail.smtp.SMTPAddressFailedException:553 sorry that domain isn't in my list of allowed rcpthosts<#5.7.1>
    Here my Program:
    package com.fortune2win.mail;
    import java.util.*;
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.*;
    // Send a simple, single part, text/plain e-mail
    public class SendMail {
    public void sendMail(String TO,String secCode, String UserNumber){
                                                                          // SUBSTITUTE YOUR EMAIL ADDRESSES HERE!!!
    String from = "[email protected]";
                                                                          // SUBSTITUTE YOUR ISP'S MAIL SERVER HERE!!!
    String host = "207.234.145.236";
                                                                          // Create properties, get Session
    Properties props = new Properties();
              props.put("mail.transport.protocol","smtp");
                                                                          // If using static Transport.send(),
                                                                          // need to specify which host to send it to
    props.put("mail.smtp.host", host);
                                                                               // To see what is going on behind the scene
    props.put("mail.debug", "true");
    Session session = Session.getDefaultInstance(props);
    try {
                                                                               // Instantiatee a message
    Message msg = new MimeMessage(session);
                                                                               //Set message attributes
    InternetAddress addressFrom = new InternetAddress(from);
              msg.setFrom(addressFrom);
                   InternetAddress[] address = {new InternetAddress(TO)};
                   msg.setRecipients(Message.RecipientType.TO,address);
    msg.setSubject("F2W Player's Intimation");
                                                                               // Set message content
    msg.setText("Thank You for playing F2W online game.\n \n"+
    "CONGRATULATIONS\n \n "+
    "Your Number:" UserNumber""+"is a valid entry. \n"+
    "Your Security Code:"+""+secCode+""+"\n" +
    "You are entitled to claim the prize only if you produce a print of this mail."+
    "\n Click www.fortune2win.com/home_index.jsp for prizedetails.\n");
                                                                               //Send the message
    Transport.send(msg);
    catch (MessagingException mex) {
                                                                               // Prints all nested (chained) exceptions as well
    mex.printStackTrace();
                                                                                    //End of class
    Plz it urgent...Help me

    Hi thanks for the reply.
    But the TO addreass I specified in the argumentlist. that is outside the program.
    But the mails are going to with in the same host that is under given host address(XXX.XXX.XXX.XXX) .
    Wht I mean is..mails are going with in my company...but outside mails are not going...like yahoo/gmail..etc..
    plz help .
    TO address i am taking from Form textbox
    Regards
    Varma

  • Exception in Sender mail module

    Hello
    We have developed a mail module but we´re facing some problems. The module only process the first mail message. After the second "run", it throws the exception:
    exception caught during processing mail message[1]; com.sap.aii.af.mp.processor.ModuleProcessorException: Error during processing local bean: localejbs/MyModule caused by: com.sap.engine.services.ejb.exceptions.BaseEJBException: Exception in method process.
    The module starts working again only by restarting java stack on scmicm. Even if I stop and start the Communication Channel on Rwb, it doesnt work.
    Any ideas?
    Thanks!

    Actually I just noticed I´m using DocumentBuilderFactory.newInstance() static class.
    I checked the traces and the error is exactly on that line.
    But I dont know how to deal with it.

  • Using "send mail as" with google sync

    I recently migrated from an Android Phone to the Iphone 4s. I set my mail, contacts, and calenders up to sync through google sync. It is working well except the "send mail as" feature. I run 2 different email addresses through my gmail. I have my personal gmail address and my business domain address I use for work. On my android phone when I am composing an email on my phone I have the ability to choose wether I am sending the mail from my business or personal email. I have found this feature extremely useful.
    I got very excited after I read that you can enable "send mail as" on google sync with ios. I went to google sync site on my safari browser and enabled the feature. I then synced the phone again. I don't know what I am missing but I do not see an option in the mail app to change the address I am sending from? Is there something else I need to enable or I am missing a simple menu that is hidden? Any help would be appreciated. Thank You

    @Allan Sampson -
    Quote -
    You're welcome.
    Any problem with a 3rd party app is the responsibility of the app developer. In this case, that is Google with their Google sync program for the iPhone, so take it up with Google.
    End Quote -
    Very helpful.  Please stop spreading your FUD* you elitest know-it-all.
    This is NOT a google issue. It's an APPLE issue.  APPLE'S iOS Mail App does not properly support IMAP, the very popular, very standardized protocol with which gmail (and countless other mail services) communicates with any 3rd party.  (for clarity theres' also POP3 but doesn't matter here).
    Let's look at a few simple observations, k? 
    Sender aliasing with gmail (once configured in your gmail account) works with
    Thunderbird - a real IMAP client -and I think even with Outlook, arguably useless as a mail client by many yardsticks.
    It works in Thunderbird on Windows.
    it works in Thunderbird on a Mac.
    It works in Apple Mail.app, on a Mac.
    It works in the gmail app on iOS.
    Are you getting the sense there's a pattern here??  I am!
    It works EVERYWHERE there's a decent mail client to support it...
    But it doesn't work in APPLE'S MAIL on iOS.**
    Hmmmmm...
    Oh, ok.. you're right.  Must be a gmail thing...
    oh wait, didn't work when I set up my business email server either...  hmmm.
    Nahh.  You're right.  Still must be gmail's fault...
    </sarcasm>
    * Fear, Uncertainty, Doubt.
    ** It could probably work in ANOTHER imap client on iOS but we'll never know what such a thing looks like because AAPL won't allow it (!!?)  It could even work in Apple's client if they'd bring it up to circa 1998 standards..

  • IOS4 and sending mail

    I just upgraded to iOS4 on my 3GS. Everything looks good, except for sending mail. If I try to compose a new message, nothing happens. If I try to reply (clicking the curvy arrow), I get asked if I want to reply to or forward the message, but regardless of how I reply, nothing happens -- I get sent back to the original message. Does anyone have any suggestions? Thanks!

    I upgraded my 3Gs to OS4 last night and now I can't get connected to my email sending or receiving. I have tried rebooting and turning the phone off. Am I missing the obvious?

  • While trying to send mail getting NUll Pointer exception

    Hi,
    I am trying to send email through email notification but instance doesn't through any fault but on opmn log it sends null pointer exception and doesn't send any mail. But some other flow using same SMTP server are able to send mail.
    Exceptions:
    07/11/14 16:46:25 java.lang.NullPointerException
    07/11/14 16:46:25      at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:363)
    07/11/14 16:46:25      at oracle.tip.pc.services.notification.email.EmailDriver.sendMessage(EmailDriver.java:207)
    07/11/14 16:46:25      at oracle.tip.pc.services.notification.email.EmailDriver.send(EmailDriver.java:185)
    07/11/14 16:46:25      at oracle.tip.pc.services.notification.DefaultNotificationServiceImpl.sendEmailNotification(DefaultNotificationServiceImpl.java:251)
    07/11/14 16:46:25      at oracle.tip.pc.services.notification.NotificationServiceImpl.sendEmailNotification(NotificationServiceImpl.java:271)
    07/11/14 16:46:25      at oracle.bpel.services.notification.queue.sender.MDBConsumer.deliverNotification(MDBConsumer.java:256)
    07/11/14 16:46:25      at oracle.bpel.services.notification.queue.sender.MDBConsumer.onMessage(MDBConsumer.java:137)
    07/11/14 16:46:25      at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
    07/11/14 16:46:25      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    07/11/14 16:46:25      at java.lang.reflect.Method.invoke(Method.java:585)
    07/11/14 16:46:25      at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    07/11/14 16:46:25      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    07/11/14 16:46:25      at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    07/11/14 16:46:25      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    07/11/14 16:46:25      at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
    07/11/14 16:46:25      at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    07/11/14 16:46:25      at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    07/11/14 16:46:25      at com.evermind.server.ejb.MessageDrivenConsumer.onMessage(MessageDrivenConsumer.java:347)
    07/11/14 16:46:25      at com.evermind.server.ejb.MessageDrivenConsumer.processMessages(MessageDrivenConsumer.java:233)
    07/11/14 16:46:25      at com.evermind.server.ejb.MessageDrivenConsumer.run(MessageDrivenConsumer.java:169)
    07/11/14 16:46:25      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    07/11/14 16:46:25      at java.lang.Thread.run(Thread.java:595)
    Any Idea?

    Hi,
    I am also trying E-mail Activity but I am not able to receive the e-mail.
    I have set the following in the ns_emails.xml
    <EmailAccount>
    <Name>Default</Name>
    <GeneralSettings>
    <FromName>Oracle BPM</FromName>
    <FromAddress>[email protected]</FromAddress>
    </GeneralSettings>
    <OutgoingServerSettings>
    <SMTPHost>Server' IPADRESS</SMTPHost>
    <SMTPPort>25</SMTPPort>
    </OutgoingServerSettings>
    <IncomingServerSettings>
    <SMTPHost>Server' IPADRESS</SMTPHost>
    <SMTPPort>25</SMTPPort>
    </IncomingServerSettings>
    In this "[email protected]" is the user configured and "Server' IPADRESS" is the IPADDRESS of the SMTP server.
    Moreover I have also have SMTP server as the incoming server.
    Now I have a simple BPEL PROCESS having Email Activity of sending a mail.
    The "To" section has "[email protected]".
    I am not able to recive the mail and I have also cheked the SMTP server there is no mail there but BPEL Process runs fine.
    I also have one Script which can send mail to the user Ihave mentioned and it works fine.So server setting seems to be fine.Are there any other setting required.
    If you are able to send the mail then can you give me your inputs on this issue.
    Regards
    Lalit

  • Cannot send mail with no Host specified exception in ALBPM 6.0.4

    Hi,
    I try to send mail by using:
    send mail
    using
              from="[email protected]",
              recipient = "[email protected]",
              subject = "credit check",
              message = "you credit card is OK."
    But as I debug it, an exception thrown:
    Caused by: java.io.IOException: No host specified
         at fuego.io.SMTPClient.sendMail(SMTPClient.java:209)
         at fuego.io.SMTPClient.sendMail(SMTPClient.java:156)
         at fuego.components.OutgoingServerDebug.send(OutgoingServerDebug.java:37)
         at fuego.components.Mail.send(Mail.java:1210)
         at fuego.components.Mail.send(Mail.java:639)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
         at fuego.lang.ObjectTypeDescription.invokeMethod(ObjectTypeDescription.java:1463)
         ... 24 more
    I have already set the mail server in the engine preference, and test successfully. Could you help me ? Thanks.
    Best Regards,
    Bill

    try....use
    mail outgoing server, add one external resource type "Mail Outgoing Service" imput informations and
    use this code
         Mail reminderEmail;
              reminderEmail = Mail();
              reminderEmail.subject = "xxxx";
              reminderEmail.from = "[email protected]";
              reminderEmail.recipient= "[email protected]";
              reminderEmail.message = "xxxxx"
              MailSender sender;
              sender = MailSender(mail : reminderEmail);
              sender.send(implname : "mail");
    mail --> is name external resource
    Edited by: Marcelogim on Oct 24, 2008 5:53 AM

  • Sender Mail Adapter Error: exception caught during processing mail message;

    HI , I am configuring mail to file scenario. Need to read mail content (no need to capture From,TO or Subject details) and create a file with the content in the mail.
    Need to read mails from microsoft outlook. Exchange server has been configured for POP3 protocol.
    Following are the details provoding in sender mail adapter:
    URL: provided url in the format: pop://<server name>
    Authentication method: plain
    provided user credinetions to access mails.
    poll interval - 1min
    content encoding none.
    processing parameters : quality of service-exactly once
    Since there is no need to capture From,TO or Subject details, didn't select the option - use mail package.
    Verified for unread mails in the mail box and made sure that there are few unread mails.
    Also, created data types and other components in IR and completed mapping.
    But after starting sender mail communication channel, getting error "exception caught during processing mail message; java.lang.NullPointerException" in RWB-adapter-communication channel monitoring.
    please let me know what needs to be done to resolve this error.
    Thanks.

    HI Stefan, i tried, but still it is giving same error. Yes, i am able to access outlook mail with the user credentials given in the communication channel to access exchange server.
    I am using message protocol: xipayload . Also since i dont have to capture TO,from,subject details., created data type just with one element of type string, not in the standard format .Does this makes any difference.

  • Exception in XI sender mail adapter

    Hi,
    XI sender mail adapter raised the following exception when it was fetching emails from a mailbox on a MS mail server while these mails were sent from a unix system.
    Adapter-Error: exception caught during processing mail message [1]com.sap.aii.messaging.lang.com.sap.aii.messaging.lang.BinaryIndexOutOfBoundsException: Binary index out of range: -3
    However if I sent the same attachment to the same mailbox from yahoo the XI sender mail adapter can process it correctly.
    I would appreciate if somebody could share his/her expertise or experience regarding this issue.
    Many thanks.
    Zhongliang

    I dont think this has got something to do with Unix or Windows system. As per the exceptions is considered, it says that, index out of range, which can occure in cases, by the time it was about to process the next mail, it could have been deleted or moved to some other folder..
    VJ

Maybe you are looking for

  • Problem loading content from iTunes library and Netflix

    Everytime I try watching a TV episode, movie, or Netflix show, I get an error sign with loading the content.  It's not restricted to Netflix and also includeds recently purchased and saved items through iTunes library.  What can I do to resolve this

  • Printing subtotal in XML report

    Hi, how can I display subtotals for each customer if we have 3 customers. Here each customer has more than one row. How can I set this in RTF for XML report. jyothi

  • Adding '...' to list truncated data

    hi, i was hoping that someone could help me find a way to add a '...' to data displayed in a list when the data is truncated due to size width restrictions in the list. thanks

  • Deploy a war file

    hi, can some one please guide me through deploying a war file to application server8.1 , by suggesting perhaps atutorial or link , thanks inadvance

  • Has anyone NOT gotten their iPhone?

    UPS just dropped mine off. I wanted to know if anyone who pre-ordered through AT&T or apple and went to their store and was unable to get one? Or it didn't get delievered today? The day isn't over yet but just wanted to know how smoothly the ordering