Mail login in error

Hi all,
I am new to to the e-mail sdk and i am trying to login using :
declare
     c_user CONSTANT VARCHAR2(80) := '[email protected]';
c_password CONSTANT VARCHAR2(80) := 'we1come';
c_ldaphost CONSTANT VARCHAR2(80) := '10.2.1.251';
c_ldapport CONSTANT NUMBER := 389;
session_id NUMBER;
my_folders MAIL_FOLDER_LIST;
inbox_obj MAIL_FOLDER_OBJ;
message_list MAIL_MESSAGE_LIST;
msg_subject VARCHAR2(255);
msg_from VARCHAR2(255);
msg_sent_date VARCHAR2(20);
BEGIN
--login
     mail_session.login(c_user, c_password, c_ldaphost, session_id, c_ldapport);
end;
and I get the message
error 20211: LDAP login error;
ora 6512 : at ES_MAIL.MAIL_SESSION
ora 6512 at line 21
Do I have the correct value formats in my variables at all?
Thanks

Hi,
You should use OID username.
for eg, if your domain name is mydomain and username is xxx.
then c_user should be xxx not [email protected]
and also better avoid . (dot) and other special characters when you create
user name.
eg
mail_session.login('xxx', c_password, c_ldaphost, session_id, c_ldapport);
Make sure that you have created OID and mail user account for this user.
Bala.

Similar Messages

  • How do I get connected to a server on my network via an IP address?  When I try to open in a URL and login as a registered user with proper login it errors out saying there was a problem with connecting to the server?

    I am new to Mac...How do I get connected to a server on my network via a hyper link IP address path?  When I try to open in a URL and login as a registered user with proper login it errors out saying there was a problem with connecting to the server?

    Some of the following is going to use some technical terms — this area is inherently somewhat technical. 
    If you don't understand some part of the following reply, please ask.
    Is this your own OS X Server system on your own network, or is this some other server within some larger organization? 
    You're posting this in the OS X Server forum, which is a software package that allows OS X systems to provide web-based and many other services; to become servers.
    If it's your OS X Server on your network, then the network and DNS configurations are suspect, or the server is somehow malfunctioning or misconfigured.   This is unfortunately fairly common, as some folks do try to avoid setting up DNS services.
    If it's a larger organization and somebody else is managing the server and the network, then you'll probably need to contact the IT folks for assistance; to learn the network setup and DNS requirements, and if there's a problem with the server itself.
    The basic web URL "hyper link IP address path" — without using DNS — usually looks something the following, where you'll need to replace 10.20.30.40 with the IP address of your server:
    http://10.20.30.40
    UptimeJeff has posted a URL that specifies the AFP file system; an OS X file share.  That's used if you're connecting to an Apple storage service somewhere on your network.  You might alternatively need to specify smb://10.20.30.40 or such, if it's a Windows file server.  (There can be additional requirements for connecting to Windows Server systems, too.)
    If there's local IT staff available here, please contact them for assistance.  If these are your own local systems and your own local OS X Server system, then some information on the server will be needed.  (If you're on a NAT'd network, you'll also need to get DNS services configured and working on your local OS X Server system and your network — you'll not be able to skip this step and reference ISP DNS servers here — or things can and usually will get weird.)

  • The Imap command UID copy (to deleted messages) failed for the mailbox "bulk mail" with server error UID copy mailbox in use.  PLease try again later

    The Imap command UID copy (to deleted messages) failed for the mailbox "bulk mail" with server error UID copy mailbox in use.  PLease try again later

    What program are you using?  And what version?

  • An error occured while sending mail: SMTP server error.  The server responded: (null)

    I'm getting this set of error messages intermittantly:
    <P>
    An error occured while sending mail: smtp server error
    the server responded: (null) contact email admin
    for assistance
    other message
    an error occured while sending mail: smtp server error
    the server responded: intermail,
    end with quote.quote contact email admin
    for assistance
    <P>
    This problem may occur at low-use times when Messaging is installed with the
    Trend virus protection software on the same system.
    <P>
    Change the version of the Trend software from 3.0 to the older 2.62 version.

    It's possible that your provider has made a change.
    I think STARTTLS usually is used with port 587, instead of the standard SSL port 465.
    Could you look up your provider's current SMTP settings to see whether your "Outgoing Server" settings need to be updated? If it's difficult to translate between your provider's help page and Thunderbird's dialog controls, you could provide a link to your provider's help page.

  • After creating a contained database, getting a login failure error while trying to connect to it.

    After creating a contained database and a user with passowrd under the same database, I tried connecting to the contained database. I entered the server name, login credentials and went to the connection properties tab to select the contained database using
    <browse server> option under "connect to database". Here I get the login failure error.
    TITLE: Browse Server for Database
    Failed to connect to server <servername>\<login>. (Microsoft.SqlServer.ConnectionInfo)
    But when I manually enter the Database name instead of selecting from the <browse server> option the connection gets through.
    Is this a Bug ? Has anyone else faced this error?

    Hello,
    Is this a Bug ? Has anyone else faced this error?
    It's not a bug, it's working as intended. Contained users don't have instance level permissions and cannot "login" to the instance (which is what the "browse" button is attempting). In order for it to work, the database name must be in the connection string
    (which with the browse button, it will not be).
    Welcome to contained users, they aren't for everyone.
    Sean Gallardy | Blog | Microsoft Certified Master

  • Mail to file error

    hi,
    iam getting error from mail to file
    error occured: exception caught during processing mail message; java.io.IOException: invalid IMAP status response; not finding * STATUS, but 00J8 NO The requested item could not be found.
    how to solve it
    thanks and regards
    vijender

    Hi Ashwin,
    The reasons could be
    1. Cache Refresh problem
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1a69ea11-0d01-0010-fa80-b47a79301290
    2. Inactive agreements - activate it again after some dummy changes
    Regards,
    Prateek

  • Javax.mail.MessagingException: 451 Error while writing spool file??

    Hi all friends,
    Can any one plz tell me why Iam getting below error when Iam trying to send mail with attachment.Iam using Java Mail API.
    javax.mail.MessagingException: 451 Error while writing spool file
    Plz tell me what are the reasons behind it.
    Regards
    Bikash

    The problem here is that the SMTP server was unable to write its spool file.
    The error is probably on the OS side of things and has nothing to do with email except that the lack of the system resource is causing email to fail.
    Have the server admin take a look at his error log to find out why the the user that smtp is running as could not write the file.

  • Mail For Exchange Error -15006

    10 days ago we updated our microsoft exchange server 2003 to exchange 2007 sp2. All went fine. Almost all 300 cellphones synchronised over the internet without any problem except for two phones. One Nokia E61 and one Nokia E51. From blank i can only synchronise once. When i start synchronising for a second time i get the message "Error in exchange server" (translated)
    I upgraded to the latest firmware and the latest mail for exchange version without solving the problem. Changing the account on the phone also did not solve the problem. So the conclusion is that the problem is not in the account.
    In the adminlog of the nokia suite, which i installed to troubleshoot the problem, there is a Mail For Exchange Error -15006.
    Anyone have an idea?
    Thanks in advance.
    Willem Kraaijenhof

    It could be a servicepack issue. Read this:
    http://europe.nokia.com/find-products/nokia-for-business/software/email-and-instant-messaging/mail-f...
    ‡Thank you for hitting the Blue/Green Star button‡
    N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009

  • [svn] 1978: Bug: vendors. properties file which is used in vendor specific login commands was not being read properly and as a result some login related error messages were not being displayed correctly .

    Revision: 1978
    Author: [email protected]
    Date: 2008-06-06 08:05:34 -0700 (Fri, 06 Jun 2008)
    Log Message:
    Bug: vendors.properties file which is used in vendor specific login commands was not being read properly and as a result some login related error messages were not being displayed correctly.
    QA: Yes - we need automated tests to make sure that errors.properties and vendors.properties in BlazeDS/LCDS are loaded properly.
    Doc: No
    Modified Paths:
    blazeds/branches/3.0.x/modules/common/src/java/flex/messaging/util/PropertyStringResource Loader.java
    blazeds/branches/3.0.x/modules/opt/src/jrun/flex/messaging/security/JRunLoginCommand.java
    blazeds/branches/3.0.x/modules/opt/src/tomcat/flex/messaging/security/TomcatLoginCommand. java

    I have a lot of grief with this version of Windows Media Player.
    It is very buggy and frustrating to use.
    I have my Music library on a QNAP NAS, which is as reliable as they come.
    System notifications make it not save changes.  It also does not do a good job of interpreting albums and artists from folders.  Changes to track names are not saved, nor are tracks moved to other albums, renamed albums, changes to genre, artist
    or date.  It separates and merges albums/tracks without sense or reason.  Some changes I've made up to 4 times, then closed WMP and re-started my machine to check if it has/hasn't saved the changes.  Often it has not.
    This is the first time I've used WMP in this capacity, and I do not recommend it.
    New service pack please.

  • Get 200+mail daily -upon deleting, mail quits with error message.

    New Mac user.Three problems:
    First, I'm receiving approx. 200+ e-mail ads daily.
    Second, upon attempting to delete these simultaneously, mail quits w/ error message indicating the application has encountered an unexpected error.
    When I delete them individually, I'm able to delete around 3 or 4 before the same thing happens.
    And last but not least:
    When I re-open the mail, any ads I hoped were deleted show back up as new. Any help would be appreciated.
    iMac   Mac OS X (10.2.x)   320MB, 333MHZ

    My Yahoo email account worked just fine on my iPhone 4S  for the last 2 months. Then this morning I started receiving the apple.imap.mail,yahoo error.  I tried all of the steps above in solving the yahoo email issue including numerous hard re-sets and deletions of my yahoo account settings without any success. So I gave up trying to use the default Yahoo setup option.  I added my Yahoo account back as an "other" type email account and then had the option to choose to set it up as a "POP" account instead of an IMAP type. I then just used the server settings recommended from Yahoo Help for a Yahoo Plus Email POP (or just google yahoo plus email pop settings). This works and I am back in business.
    I'm not sure if this will work for yahoo mail classic accounts.
    Frustrating that this issue seems to have been going on for quite awhile and Apple still as not made any acknowledgement of this issue or proposed a fix for those of us that can not resolve the issue with a reset.

  • Swing : login with error checking

    Hi all,
    I am trying to write a login with error checking on the password. If password validation fail. It will remain there. If it passes it will go to the application. any samples and sites please.
    thanks
    andrew

    CardLayout would be good for this sort of thing - allows you to lay panels on top of one another and then switch the display accordingly.
    Thus, when your app starts up you show the login screen and then once a user successfully logs on you switch to the main application screen.
    I put a basic example on another thread earlier:
    http://forum.java.sun.com/thread.jsp?thread=341205&forum=421&message=1404092

  • Post-Install Error on EBS 12 - Login Page Error RW-50016 on Linux

    Hi All,
    Post-Install Error on EBS 12 - Login Page Error RW-50016 on Linux
    Thanks in advance.

    set hostnme correctly

  • Add another mail login page besides the default mail login page

    I want to add another mail login page besides the default mail login page(http://mail.mine.com). This should be accessed as:http://mail.mine.com/soo.htm.
    I will keep the default page available too.
    Is this possible? where to put this new page? How to config this?
    Thanks!!!

    If it works, then you have found it.
    I make no claims to be a javascript programmer, nor do I claim to program html code.
    If it doesn't work, you may need to remember that Messaging Express isn't really a web server, it's only a piece of one. . .

  • Mail for exchange error

    Few users have got a problem with m4e (E70), phones stopped synchronizing week or more ago.
    Problem is weird, everything works fine until on one day, new mails wont sync anymore. Tried removing and re-creating the profile, re-installing the m4e, resetting phone to factory defaults, and yes phone starts synchronizing, until we get to that weird day: it stops, and newer mails after that spesific time are not synchronized. Calendar syncronizing seems to work fine even after that time/date.
    We have many users using the mail for exchange, and everything works fine for most of them. There are only few users who have this problem and all of them have a different date, when this starts to happen.
    For those users m4e logs some errors:
    - Mail for exchange error -15005 (this error usually seems to happen before synchronizing stops)
    - Location of the message store changed. Doing full resync.
    - Failed to decode server response.
    - Mail for exchange error -15000
    - HTTP Client Stack Error: Disconnect - Kerrdisconnected
    etc.
    Is there any place I could find descriptions for these mysterious error codes. I have been trying to "google", but still can't find a solution for this problem.
    Help, anyone? Thanks in advance.Message Edited by cjet on 27-Aug-200711:10 AM

    Hi
    My E70 has just started to behave in the same way - one day it was working, then it stopped and hasn't worked since. The following is an extract from the log:
    07/02/2008 15:12:16 start Email sync
    07/02/2008 15:12:17 failed to decode server response
    07/02/2008 15:12:17 client->server adds=0 changes=0 deletes=0 fails=0
    07/02/2008 15:12:17 server->client adds=0 changes=0 deletes=0 fails=0
    07/02/2008 15:12:17 end Email sync
    07/02/2008 15:12:17 KEASErrSvrSyncFailed - Unable to Process Sync Response.
    Others in my company with E70's are not havng a problem. I have re-loaded the FW and M4E, but it still fails to sync e:mail.
    Any ideas?

  • Mail for Exchange Error 36, E51, m4E, SBS2003

    I've had no luck locating what needs to be enabled in terms of SBS2003, service ports and have searched everywhere for Mail For Exchange Error 36, but no good leads as yet.
    If anyone can help, I'd be grateful.
    Herewith the logs from my E51, since around 3am last night
    25/02/2009 2:42:18 Mail for Exch. Build : 2.07.000
    25/02/2009 2:42:18 Device Software Version: 200.34.36
    24-04
    25/02/2009 2:42:18 Device Model: E51
    25/02/2009 2:42:18 Serial Number: XXXXXXXXXXXXXXX
    25/02/2009 2:42:18 Mail For Exchange Error 36
    25/02/2009 3:07:31 Mail For Exchange Error 36
    25/02/2009 3:37:31 Mail For Exchange Error 36
    25/02/2009 4:07:31 Mail For Exchange Error 36
    25/02/2009 4:37:31 Mail For Exchange Error 36
    25/02/2009 5:07:31 Mail For Exchange Error 36
    25/02/2009 5:37:31 Mail For Exchange Error 36
    25/02/2009 6:07:31 Mail For Exchange Error 36
    25/02/2009 6:37:31 Mail For Exchange Error 36
    25/02/2009 7:07:31 Mail For Exchange Error 36
    25/02/2009 7:37:31 Mail For Exchange Error 36
    25/02/2009 8:00:00 AUDT Timer expired
    25/02/2009 8:00:00 PeakTime active
    25/02/2009 8:00:00 PING Command Requested
    25/02/2009 8:00:03 Exception during Ping.
    25/02/2009 8:00:03 New heartbeat = 4.
    25/02/2009 8:00:03 Mail For Exchange Error 36
    25/02/2009 8:00:03 Error occurred during Ping.
    25/02/2009 8:00:03 Error occurred during Ping. Setting Status to Waiting For Reconnect
    25/02/2009 8:05:00 PING Command Requested
    25/02/2009 8:05:03 Exception during Ping.
    25/02/2009 8:05:03 New heartbeat = 3.
    25/02/2009 8:05:03 Mail For Exchange Error 36
    25/02/2009 8:05:03 Error occurred during Ping.
    25/02/2009 8:05:03 Error occurred during Ping. Setting Status to Waiting For Reconnect
    25/02/2009 8:10:00 PING Command Requested
    25/02/2009 8:10:03 Exception during Ping.
    25/02/2009 8:10:03 New heartbeat = 2.
    25/02/2009 8:10:03 Mail For Exchange Error 36
    25/02/2009 8:10:03 Error occurred during Ping.
    25/02/2009 8:10:03 Error occurred during Ping. Setting Status to Waiting For Reconnect
    25/02/2009 8:15:00 PING Command Requested
    25/02/2009 8:15:03 Exception during Ping.
    25/02/2009 8:15:03 New heartbeat = 1.
    25/02/2009 8:15:03 Mail For Exchange Error 36
    25/02/2009 8:15:03 Error occurred during Ping.
    25/02/2009 8:15:03 Error occurred during Ping. Setting Status to Waiting For Reconnect
    25/02/2009 8:20:00 PING Command Requested
    25/02/2009 8:20:03 Exception during Ping.
    25/02/2009 8:20:03 New heartbeat = 1.
    25/02/2009 8:20:03 Mail For Exchange Error 36
    25/02/2009 8:20:03 Error occurred during Ping.
    25/02/2009 8:20:03 Error occurred during Ping. Setting Status to Waiting For Reconnect
    25/02/2009 8:25:00 PING Command Requested
    25/02/2009 8:25:03 Exception during Ping.
    25/02/2009 8:25:03 New heartbeat = 1.
    25/02/2009 8:25:03 Mail For Exchange Error 36
    25/02/2009 8:25:03 Error occurred during Ping.
    25/02/2009 8:25:03 Error occurred during Ping. Setting Status to Waiting For Reconnect
    25/02/2009 8:30:00 PING Command Requested
    25/02/2009 8:30:03 Exception during Ping.
    25/02/2009 8:30:03 New heartbeat = 1.
    25/02/2009 8:30:03 Mail For Exchange Error 36
    25/02/2009 8:30:03 Error occurred during Ping.
    25/02/2009 8:30:03 Error occurred during Ping. Setting Status to Waiting For Reconnect
    25/02/2009 8:35:00 PING Command Requested
    25/02/2009 8:35:03 Exception during Ping.
    25/02/2009 8:35:03 New heartbeat = 1.
    25/02/2009 8:35:03 Mail For Exchange Error 36
    25/02/2009 8:35:03 Error occurred during Ping.
    25/02/2009 8:35:03 Error occurred during Ping. Setting Status to Waiting For Reconnect
    25/02/2009 8:40:00 PING Command Requested
    25/02/2009 8:40:03 Exception during Ping.
    25/02/2009 8:40:03 New heartbeat = 1.
    25/02/2009 8:40:03 Mail For Exchange Error 36
    25/02/2009 8:40:03 Error occurred during Ping.
    25/02/2009 8:40:03 Error occurred during Ping. Setting Status to Waiting For Reconnect
    25/02/2009 8:45:00 PING Command Requested
    25/02/2009 8:45:03 Exception during Ping.
    25/02/2009 8:45:03 New heartbeat = 1.
    25/02/2009 8:45:03 Mail For Exchange Error 36
    25/02/2009 8:45:03 Error occurred during Ping.
    25/02/2009 8:45:03 Error occurred during Ping. Setting Status to Waiting For Reconnect
    25/02/2009 8:50:00 PING Command Requested
    25/02/2009 8:50:04 Exception during Ping.
    25/02/2009 8:50:04 New heartbeat = 1.
    25/02/2009 8:50:04 Mail For Exchange Error 36
    25/02/2009 8:50:04 Error occurred during Ping.
    25/02/2009 8:50:04 Error occurred during Ping. Setting Status to Waiting For Reconnect
    25/02/2009 8:55:00 PING Command Requested
    25/02/2009 8:55:03 Exception during Ping.
    25/02/2009 8:55:03 New heartbeat = 1.
    25/02/2009 8:55:03 Mail For Exchange Error 36
    25/02/2009 8:55:03 Error occurred during Ping.
    25/02/2009 8:55:03 Error occurred during Ping. Setting Status to Waiting For Reconnect
    25/02/2009 9:00:00 PING Command Requested
    25/02/2009 9:00:03 Exception during Ping.
    25/02/2009 9:00:03 New heartbeat = 1.
    25/02/2009 9:00:03 Mail For Exchange Error 36
    25/02/2009 9:00:03 Error occurred during Ping.
    25/02/2009 9:00:03 Error occurred during Ping. Setting Status to Waiting For Reconnect
    25/02/2009 9:05:00 PING Command Requested
    25/02/2009 9:05:03 Exception during Ping.
    25/02/2009 9:05:03 New heartbeat = 1.
    25/02/2009 9:05:03 Mail For Exchange Error 36
    25/02/2009 9:05:03 Error occurred during Ping.
    25/02/2009 9:05:03 Error occurred during Ping. Setting Status to Waiting For Reconnect
    25/02/2009 9:10:00 PING Command Requested
    25/02/2009 9:10:03 Exception during Ping.
    25/02/2009 9:10:03 New heartbeat = 1.
    25/02/2009 9:10:03 Mail For Exchange Error 36
    25/02/2009 9:10:03 Error occurred during Ping.
    25/02/2009 9:10:03 Error occurred during Ping. Setting Status to Waiting For Reconnect
    25/02/2009 9:15:00 PING Command Requested
    25/02/2009 9:15:03 Exception during Ping.
    25/02/2009 9:15:03 New heartbeat = 1.
    25/02/2009 9:15:03 Mail For Exchange Error 36
    25/02/2009 9:15:03 Error occurred during Ping.
    25/02/2009 9:15:03 Error occurred during Ping. Setting Status to Waiting For Reconnect
    25/02/2009 9:20:00 PING Command Requested
    25/02/2009 9:20:03 Exception during Ping.
    25/02/2009 9:20:03 New heartbeat = 1.
    25/02/2009 9:20:03 Mail For Exchange Error 36
    25/02/2009 9:20:03 Error occurred during Ping.
    25/02/2009 9:20:03 Error occurred during Ping. Setting Status to Waiting For Reconnect
    Again, any help or leads, gratefully appreciated
    Best Regards
    --Ax

    Is it really so that there's noone with sam problem? Has anyone heard about the same errorcode?

Maybe you are looking for

  • ODT Installation problem with OUI

    Good afternoon, I also posted this in the Database Installation forum. I am not as familiar with Oracle as I would like to be, so I will be as specific as possible. Thanks in advance for your time. I am on a Windows 2003 server with Oracle 9204 insta

  • How to share from Macbook(using wifi) to Apple TV (using ethernet)?

    Hi- I recently moved in to my college dorm. I brought my Apple TV, and IT said the only way to hook it up was to directly connect the Apple TV with the ethernet cable in my dorm. That works fine, and I can still access Netflix and the other apps usin

  • Why can't you set the inital view in preferences instead of on a document by document basis?

    You can set the initial view on the document level in document properties to display Bookmarks Panel and Page and that's the view you will receive the next time that document is open. There has to be a way to use a plug-in or something that will open

  • Enter/Return Key

    Hi all, I have been using macs for years, but this is my first Macbook. I love it so far, but I do have a question about the return/enter key. Mine does not seem to function. I have to use the enter key located by the apple key. Is there some easy fi

  • Need info for service pack

    Hi All, We are woking in one JDBC scenario and we are not able to connect to SQL 2008 system. We have XI 3.0 version. we have basis to redeploy the driver that is also not working. Now Basis is suggesting to apply Service pack. Currently we are on SP