Runtime error when sending email from PCUI

Hi,
When sending email from an activity in PCUI, I get runtime error, Line 2201, error, 'Object Expected'.
Any idea?
Thanks,
AR

Hi AR,
This appears to be a javascript error. Could you give some more details about this error.
Regards,
Hemanth

Similar Messages

  • Error when sending email from a web application that runs on GlassFish

    Hello all, I hope some can give me some hints on how to fix this problem.
    I have a web application built in Java that runs on GlassFish v3.
    The application uses a mail plugin that makes use of mail.jar
    Whenever I try to use the plugin to send an email out I get an error.
    The application is programmed to send emails from a gmail account, and I believe there is a problem with the SSL version that Googlemail is expecting.
    By the way, everything works fine if I run the web app on other servers like Jetty or Apache.
    The stacktrace I get from the log when the error occurs is as follows:
    INFO: 2009-05-08 19:48:57,500 [httpWorkerThread-8080-0] ERROR errors.GrailsExceptionResolver - org.springframework.mail.MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465;
    nested exception is:
    java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
    org.codehaus.groovy.runtime.InvokerInvocationException: org.springframework.mail.MailSendException: Mail server connection failed; nested exception is javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465;
    nested exception is:
    java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:431)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:337)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
    at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:883)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:732)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:554)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:485)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:377)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
    at org.jsecurity.web.servlet.JSecurityFilter.doFilterInternal(JSecurityFilter.java:382)
    at org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:180)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218)
    at org.apache.catalina.core.StandardWrapperValve.preInvoke(StandardWrapperValve.java:460)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:139)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:186)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96)
    at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:142)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030)
    at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:242)
    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)
    at com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:633)
    at com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570)
    at com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827)
    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
    at com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
    at com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325)
    at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)
    Any help would be really appreciated... honestly I'm pretty stuck.
    Alex

    Hi Alex,
    Since I had a Gmail test servlet kicking around, I ran it on the latest V3 nightly build.
    On the first run, I encountered the following nested exceptions:
    javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465
    --> java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
        --> java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: com.sun.net.ssl.internal.ssl.DefaultSSLContextImpl)
            --> java.security.UnrecoverableKeyException: Password must not be nullThe UnrecoverableKeyException is a manifestation of [https://glassfish.dev.java.net/issues/show_bug.cgi?id=6938|https://glassfish.dev.java.net/issues/show_bug.cgi?id=6938]
    I worked around this by adding the following JVM config options to domain.xml
    <jvm-options>-Djavax.net.ssl.keyStorePassword=changeit</jvm-options>
    <jvm-options>-Djavax.net.ssl.trustStorePassword=changeit</jvm-options> (Note: the default master password is "changeit")
    These lines are placed in /domain/configs/config/java-config of domain.xml for the particular server config you're using. There's only one server config in the default domain.xml shipped with V3. Then restart the server.
    I retested the code on both port 465 and 587, with and without the above config changes. Without the change, they both fail the same way, and with the change, they both work. Let me know if this helps.
    -Peter

  • Kern-Exec Error when sending emails from 9500

    Hi There
    My first post so hopefully someone may be able to help and I'll try to help others if I can.
    Just recently I have been unbale to send emails from my Nokia 9500. I don't think I've been doing anything differently but I keep getting KERN-EXEC error reason No 3, when I try to send email messages. Strange that I'm able to receive messages ok though.
    I looked at some of the other posts and followed mobile manic's advice for other KERN-EXEC errors. I backed up the phone contents to the PC, restored the phone to default settings and then re-loaded all the backed up stuff.
    Sadly, I still get the KERN-EXEC error message when I try to send emails. It seems to conect to GPRS ok but then the message just sits in the Outbox waiting to go but never does. So when I close the program (after leaving it for a few mins) that's when I get the KERN-EXEC error message.
    Any help greatly appreciated.
    Cheers
    Sparky007

    Hi there Sparky!
    I don't suppose you tried to send an email before you restored the backup did you? Sometimes backups can back up the problem as well which is a bit annoying.
    If you can send an email ok before restoring the backup then the problem must be embedded in the backup... otherwise the only thing I could suggest is contacting a Nokia engineer to get them to have a look at it.
    Not sure what else to suggest... good luck though and let us know how you get on.

  • ACL error when sending email from Oracle 11g

    Hi,
    It returned something like "error...ACL security" when I tried to send email from Oracle 11g. Is there any security thing that I need to release in Oracle 11g? I used to send emails from Oracle 10g and didn't find any problem.
    Thanks.
    Andy

    In Database 11g Oracle introduced Network Access Control Lists (ACLs) to protect the database from users using the many internet-capable packages such as UTL_INADDR, UTL_HTTP, UTL_TCP, etc.
    Read all about it in the docs and look at the code demos here:
    http://www.morganslibrary.org/library.html
    under DBMS_NETWORK_ACL_...

  • Gettin a MAPI error when sending emails from another program

    Using Thunderbird, I used to ne able to send emails from MYOB.
    Since an update of Thunderbird on one particular machine, it no longer works. It comes up with a MAPI error. All the other computers in the network send from MYOB with no problem.
    Could someone please assist as the computer that wont send is the invoicing computer!

    Do I assume the windows XP the forum detected is or is not the operating system.
    What operating system, 32 or 64 bit?

  • Authentication error when sending email from workflow but list alters email work fine

    I have a list. When a user enables alert on this list then he/she is able to receive email from SharePoint when someone adds a new item or change item.
    But emails sent by SharePoint workflow or Nintex workflow are not being sent. Error is:
    Error 530 5.7.1 Client was not authenticated
    Why emails are not being sent by workflows?
    EDIT
    And by SharePoint workflow, I mean OOB Publishing workflow.

    Hi Frank,
    For solving your issue , you can do as the followings:
    1. Check all the email addresses are valid and they are not blocked by your SMTP admin
    2. Check firewall settings if emails are blocking by any firewall or antivirus
    3. You need to also check SPLog file if anything log there
    4. Also create simple workflow with SharePoint Designer 2013, and give proper email to check whether it is working or not
    Here is a similar article for you to take a look at:
    http://techsuite.wordpress.com/2008/12/08/workflow-history-the-email-message-cannot-be-sent-make-sure-the-outgoing-email-settings-for-the-server-are-configured-properly/
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Authentication Error while Sending Email from SMTP server.

    Authentication Error while Sending Email from SMTP server.  Can receive emails but cannot send emails from this account. 

    no email account was setup on the phone unless it was issued by your company.
    gmail is required but no server address ports to enter.
    my gmail account was setup before i took delivery of the phone but could have been done when phone was activated.
    i added cox pop3 email and had to manually enter both pop3 and smtp servers with both boxes checked on both servers.
    i doubt if it's a verizon issue.

  • TS3899 When sending email from the Mail App or through other Apps, my default From: address will change when I enter a To: address.  This sometimes leads me to send the email from the wrong outgoing email account.  It is frustrating and poor design.

    When sending email from the Mail App or through other Apps on my iPad, my default From: address will change when I enter a To: address.  This sometimes leads me to send the email from the wrong outgoing email account.  It is frustrating and poor design, especially since I had already checked the From: address.
    iPad 4 running iOS 8.1.3

    3rd party email addresses have to be deleted on every synmced mac product, although I have 1and1.co.uk and my imac updatetes the mails in that account from mac mail.
    Yahoo etc is a 2 step deleting process but good to get your emails pushed when on the go.
    LJ
    http://www.facebook.com/The.Cowboy.Party

  • How can I get a picture to go with my email signature when sending emails from my iPad? Only a square box shows up on my signature not the actual picture I iploaded in my settings.

    How can I get a picture to go with my email signature when sending emails from my iPad? Only a square box shows up on my signature not the actual picture I iploaded in my settings.

    Only Apple Account Security could help at this point. You can try calling Apple Support in Canada - you'll have to find one of the several ways, such as Skype, to call an 800 number from outside of the relevant country - and ask for Account Security and see if they can help. Or you can find a friend who speaks Chinese and ask them to help you talk to Apple Support in China. There are really no other options that I know of.
    Note, by the way, that these are user-to-user support forums. You aren't speaking with Apple when you post here.
    Regards.

  • Load x# of messages when sending email from my pop account

    Hi
    I'm getting a "load x# of messages" when sending email from any address on my pop account. No problem receiving messages from other accounts. Is there a setting that can remedy this?
    Thanks

    My z10 is going back today, for multiple reasons
    Contacts won't sync across
    Won't work properly with my car when all previous BBs did
    Lots of useful features have disappeared
    But most importantly NONE of my email accounts will send mail from it when they all did previously with the Storm2.
    A big thumbs down from me for the z10 even if it is a fancy looking phone and the browser is much better. I stuck with BB because I wanted a tool not a toy

  • Versamail error when sending email

    i have a palm t/x.  versamail works great receiving mail but when i try to send a new email or reply i get an "error 554 relay access denied".  my account is set up as an imap.  anyone have suggestions to a solution?  thanks all
    Post relates to: Palm TX

    pdadude, are you using Sprint's SMTP server? They do block a lot of outgoing servers so it's easier sometimes to just use theirs. One way to test is to sign up for a free gmail account and turn on POP or IMAP then configure that in VersaMail. See if you can send then.
     Outgoing mail server issuesDoes your Internet service provider (ISP) prevent you from sending emails because they do not recognize your Internet location (via your smartphone)?
    Your smartphone may be connected to an IP address that your ISP's email server does not recognize. The server may refuse to send your emails unless you authenticate yourself; it thinks you may be a SPAMmer.
    Simple solution: use another SMTP server furnished by your mobile service provider expressly for this purpose. With the exception of AT&T, all mobile service providers offer an SMTP server to get around problems with sending email. Plug in the new SMTP server name, a username and password and off you go.
    Contact your mobile service provider, and find out if you can use their SMTP server to send SMTP emails (we provide the details for all the common mobile service providers below to save you the call).
    Note: Keep your email service provider's server as the Incoming (POP) server; there is no need o change this.
    Does your mobile service provider prevent you from sending emails from a different server?
    Many mobile service providers do not allow users to send email from a connection other than their own (the mobile service provider's, that is). Contact your mobile service provider, and find out if you can use their connection to send SMTP emails. If you can, enter this information as the incoming server; keep your email service provider's server as the outgoing server. See the chart below.
    Does your mail server require SMTP authentication?
    Your email service provider may require a username and password to be entered when you send email. This helps ensure security and reduce spam. See the chart below.
    Here's how to add your outgoing username and password:
    In VersaMail, open the Menus.
    From the Accounts menu, select Account Setup.
    Highlight the email account you want to check,then select Edit.
    Depending on your version of VersaMail, you may have to select the Next button several times to get to the Advanced settings.
    When you see an option for ESMTP (may appear as "Use authentication (ESMTP)" or "My server requires authentication (ESMTP)"), check the box next to this option.
    Enter the outgoing username and password for ESMTP. See the chart below for this information.
    SMTP servers, usernames and passwords
    (find your carrier below) AT&TThe information below is based on former Cingular Wireless* settings, which may have changed. For the latest information, contact AT&T.
    With legacy AT&T Wireless accounts, you may have had two email accounts. One contained your former AT&T Wireless mMode username ([email protected]), and the other contained your phone number ([email protected]). If you don't already have an mMode username, contact AT&T for more information.
    Former AT&T Wireless accounts could not send emails from third-party email accounts; you needed your mMode email address to send mail. Under former AT&T Wireless settings, you would still be able to receive emails from an unrelated POP3 account, but any outgoing mails must be sent from your mMode email address. Contact AT&T for updates.
    Outgoing (SMTP) Server: cwmx.com
    User name: (none)
    Password: (none)
    *AT&T provides service for former Cingular Wireless accounts.Rogers Wireless For Rogers Wireless, you do not need to enter a user name or password, but you do need to enter the SMTP server info.
    SMTP Server: smtp.rogerswirelessdata.com
    User name: None
    Password: None
    Sprint PCS Before setting up your email account, you'll need to set your PCS Vision Email password. If you haven't already done this, go to MyPCS on the Sprint PCS website and login. Select "My Personal Information." Under "Passwords," to the right of PCS Vision User Name, select "Modify." You'll see your Sprint PCS email address; remember this address. Go back to My Personal Information. Under PCS Vision User Name, to the right of PCS Vision Password, select "Modify." Create a new password. Note: When you do this, your PCS Vision password will be reset on your smartphone. Make sure you're in an area of coverage.
    SMTP Server: smtp.sprintpcs.com
    User name: Your PCS Vision Email username (the part before the "@" in your email address)
    Password: Your PCS Vision Email password
    T-Mobile You may not need to enter an SMTP username and password. However, if you're having problems sending, you may need to contact T-Mobile and register your POP server and password. You'll be issued an SMTP username and password for sending emails on T-Mobile's SMTP server. While you're at the T-Mobile website, turn off the Alerts option, or you'll receive SMS messages containing the text of received emails.
    SMTP Server: myemail.t-mobile.com
    User name: None, or T-Mobile SMTP username (above)
    Password: None, or T-Mobile SMTP password (above)
    Verizon Wireless
    SMTP Server: smtp.vzwmail.net
    User name: [10-digit phone number]@vzwmail.net ([email protected])
    Password:Your www.vtext.com password
    Security note: If you are uncomfortable using the SMTP server of your mobile service provider, you can also setup VersaMail's SMTP authentication settings so that VersaMail will pass an SMTP username and password to your existing server to meets its security requirements. See the VersaMail portions of your user guide for more details on the options available. Please consult your ISP for the settings required for their particular SMTP server. Some ISPs and DSL providers use restricted IP-ranges for authentication so that it is never possible to authenticate to your current SMTP server when connected via your wireless account. In that case, you have no option but to use the mobile service provider's Outgoing (SMTP) server.
    Post relates to: None
    Post relates to: None

  • Broken text or unknown format when sending email from BB Z10

    I have setup POP account for my office email, when ever i tried to send email from this account reciever is getting different format and signs like between one words = is insterded (que=y) r is missing and = sign is insterded automatically at other end.
    But when i am sending from Gmail or hotmail account no issue and complaint.Only from my office email setup which i am using by POP.
    please advice what is the issue i have tried my best to solve it but nothing happens.
    Solved!
    Go to Solution.

    biscuit1000 wrote:
    I have the same problem, strangely only with my business account, which is highly embarrassing. A number of my clients were thinking about upgrading to Z10, so they are very interested to see if I find a solution.
    what is your email provider for that account?
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Name misspelled when sending email from phone.

    When I send an email from my phone (e.g. a pic or video), my name is spelled wrong.  When I email from my phone using my yahoo account it is correct.  Where do I go to fix this?  I have already checked the spelling of my name in my Contacts list.

    It does not get your name from your entry in the Contacts list.
    Go to:
    Settings -> Mail, Contacts, Calendars -> (your Yahoo! account) -> Account
    Check the spelling in the "Name" entry.
    Good luck!

  • When sending email from my ipad, the sender shows as Apple Inc??

    When sending email using my iPad, the sender shows up as Apple Inc. instead of my email address. How can I fix this?

    What does the Description say for the iCloud account on your iPad? (Click on "Settings/iCloud/Account")

  • How can I request a return receipt when sending email from Leopard Mail?

    Has anyone found a way to request return receipts when sending email with Leopard Mail?

    see this [link|http://discussions.apple.com/thread.jspa?messageID=7244096&#7244096].
    However,
    this is only possible if the email client of the e-mail receiver supports this feature and it is turned on. if it doesn't support it or it supports it but the feature is turned off there is absolutely nothing you can do.

Maybe you are looking for

  • How do I recover my USB files?

    I attempted to eject my USB drive and the computer said it was not done correctly. I attempted ejecting it again and it worked so I took it out. Upon removeal it dumped some random files from the USB onto my desktop. When I tried to plug it back in a

  • Can't seem to change my email

    I am trying to change my mail email in my account. The current email is no longer available to me. I've tried setting up the new email I get a message that says "Your account changes couldn't be saved." And then I get a new screen that says "FOR YOUR

  • Streaming audio podcast randomly unpauses when paused

    Often when I listen to streaming audio podcasts on iTunes, if I have to pause it for any reason, it will unpause itself after a few seconds and resume playing. This can be irritating, because usually when I'm pausing it's because I need to step away,

  • Local Javascript API and AIR

    I'm having a hard time describing this problem, but I'll try... Is there anything I can do to allow Adobe AIR to load a JavaScript API to interact with JW Player (longtailvideo.com)?  The API already exists, and I can port my AIR code over to an HTML

  • Video starts and stops constantly

    I have a decent DSL speed and still happens, I.e., just downloaded a TV episode from iTunes and spent half the time hitting "play" over and over.  Hope someone can help. Ipad2