E-Mailed URL - Use Existing Session?

I send email to someone and in the message is a URL like this:
http://edwdev:7779/pls/htmldb/f?p=odar:request::::::P16_REQUEST_SEQ:100065
This works fine except the URL always starts a new session. You're prompted for a user name and password.
Is there a way to have the URL open up using an existing application session? If you have already logged into the application, the page would be opened without you being prompted for a user name and password.
-F

Here's my debugging information.
-F
====== start before_header_process =====
s_current_url="p=odar:login:5622426559100836979:4"
n_session_id_from_cookie=(Null)
n_current_session_id=5622426559100836979
s_app_id_or_alias="odar"
s_page_id_or_alias="login"
s_sess_id_from_url="5622426559100836979"
s_remainder_of_url="4"
s_new_page_id_or_alias="4"
n_session_id_from_cookie <> n_current_session_id
b_login_required=True
n_new_session_id=5622426559100836979
s_new_url="odar:4:5622426559100836979:"
HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:4:5622426559100836979:')
OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
====== start before_header_process =====
s_current_url="p=odar:login:5622426559100836979"
n_session_id_from_cookie=(Null)
n_current_session_id=5622426559100836979
s_app_id_or_alias="odar"
s_page_id_or_alias="login"
s_sess_id_from_url="5622426559100836979"
s_remainder_of_url="(Null)"
s_new_page_id_or_alias="(Null)"
n_session_id_from_cookie <> n_current_session_id
b_login_required=True
n_new_session_id=5622426559100836979
s_new_url="odar:about:5622426559100836979"
HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
====== start before_header_process =====
s_current_url="p=odar:login:5622426559100836979"
n_session_id_from_cookie=(Null)
n_current_session_id=5622426559100836979
s_app_id_or_alias="odar"
s_page_id_or_alias="login"
s_sess_id_from_url="5622426559100836979"
s_remainder_of_url="(Null)"
s_new_page_id_or_alias="(Null)"
n_session_id_from_cookie <> n_current_session_id
b_login_required=True
n_new_session_id=5622426559100836979
s_new_url="odar:about:5622426559100836979"
HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
====== start before_header_process =====
s_current_url="p=odar:login:5622426559100836979"
n_session_id_from_cookie=(Null)
n_current_session_id=5622426559100836979
s_app_id_or_alias="odar"
s_page_id_or_alias="login"
s_sess_id_from_url="5622426559100836979"
s_remainder_of_url="(Null)"
s_new_page_id_or_alias="(Null)"
n_session_id_from_cookie <> n_current_session_id
b_login_required=True
n_new_session_id=5622426559100836979
s_new_url="odar:about:5622426559100836979"
HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
====== start before_header_process =====
s_current_url="p=odar:login:5622426559100836979"
n_session_id_from_cookie=(Null)
n_current_session_id=5622426559100836979
s_app_id_or_alias="odar"
s_page_id_or_alias="login"
s_sess_id_from_url="5622426559100836979"
s_remainder_of_url="(Null)"
s_new_page_id_or_alias="(Null)"
n_session_id_from_cookie <> n_current_session_id
b_login_required=True
n_new_session_id=5622426559100836979
s_new_url="odar:about:5622426559100836979"
HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
====== start before_header_process =====
s_current_url="p=odar:login:5622426559100836979"
n_session_id_from_cookie=(Null)
n_current_session_id=5622426559100836979
s_app_id_or_alias="odar"
s_page_id_or_alias="login"
s_sess_id_from_url="5622426559100836979"
s_remainder_of_url="(Null)"
s_new_page_id_or_alias="(Null)"
n_session_id_from_cookie <> n_current_session_id
b_login_required=True
n_new_session_id=5622426559100836979
s_new_url="odar:about:5622426559100836979"
HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
====== start before_header_process =====
s_current_url="p=odar:login:5622426559100836979"
n_session_id_from_cookie=(Null)
n_current_session_id=5622426559100836979
s_app_id_or_alias="odar"
s_page_id_or_alias="login"
s_sess_id_from_url="5622426559100836979"
s_remainder_of_url="(Null)"
s_new_page_id_or_alias="(Null)"
n_session_id_from_cookie <> n_current_session_id
b_login_required=True
n_new_session_id=5622426559100836979
s_new_url="odar:about:5622426559100836979"
HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
====== start before_header_process =====
s_current_url="p=odar:login:5622426559100836979"
n_session_id_from_cookie=(Null)
n_current_session_id=5622426559100836979
s_app_id_or_alias="odar"
s_page_id_or_alias="login"
s_sess_id_from_url="5622426559100836979"
s_remainder_of_url="(Null)"
s_new_page_id_or_alias="(Null)"
n_session_id_from_cookie <> n_current_session_id
b_login_required=True
n_new_session_id=5622426559100836979
s_new_url="odar:about:5622426559100836979"
HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
====== start before_header_process =====
s_current_url="p=odar:login:5622426559100836979"
n_session_id_from_cookie=(Null)
n_current_session_id=5622426559100836979
s_app_id_or_alias="odar"
s_page_id_or_alias="login"
s_sess_id_from_url="5622426559100836979"
s_remainder_of_url="(Null)"
s_new_page_id_or_alias="(Null)"
n_session_id_from_cookie <> n_current_session_id
b_login_required=True
n_new_session_id=5622426559100836979
s_new_url="odar:about:5622426559100836979"
HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
====== start before_header_process =====
s_current_url="p=odar:login:5622426559100836979"
n_session_id_from_cookie=(Null)
n_current_session_id=5622426559100836979
s_app_id_or_alias="odar"
s_page_id_or_alias="login"
s_sess_id_from_url="5622426559100836979"
s_remainder_of_url="(Null)"
s_new_page_id_or_alias="(Null)"
n_session_id_from_cookie <> n_current_session_id
b_login_required=True
n_new_session_id=5622426559100836979
s_new_url="odar:about:5622426559100836979"
HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
====== start before_header_process =====
s_current_url="p=odar:login:5622426559100836979"
n_session_id_from_cookie=(Null)
n_current_session_id=5622426559100836979
s_app_id_or_alias="odar"
s_page_id_or_alias="login"
s_sess_id_from_url="5622426559100836979"
s_remainder_of_url="(Null)"
s_new_page_id_or_alias="(Null)"
n_session_id_from_cookie <> n_current_session_id
b_login_required=True
n_new_session_id=5622426559100836979
s_new_url="odar:about:5622426559100836979"
HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
====== start before_header_process =====
s_current_url="p=odar:login:5622426559100836979"
n_session_id_from_cookie=(Null)
n_current_session_id=5622426559100836979
s_app_id_or_alias="odar"
s_page_id_or_alias="login"
s_sess_id_from_url="5622426559100836979"
s_remainder_of_url="(Null)"
s_new_page_id_or_alias="(Null)"
n_session_id_from_cookie <> n_current_session_id
b_login_required=True
n_new_session_id=5622426559100836979
s_new_url="odar:about:5622426559100836979"
HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
====== start before_header_process =====
s_current_url="p=odar:login:5622426559100836979"
n_session_id_from_cookie=(Null)
n_current_session_id=5622426559100836979
s_app_id_or_alias="odar"
s_page_id_or_alias="login"
s_sess_id_from_url="5622426559100836979"
s_remainder_of_url="(Null)"
s_new_page_id_or_alias="(Null)"
n_session_id_from_cookie <> n_current_session_id
b_login_required=True
n_new_session_id=5622426559100836979
s_new_url="odar:about:5622426559100836979"
HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
====== start before_header_process =====
s_current_url="p=odar:login:5622426559100836979"
n_session_id_from_cookie=(Null)
n_current_session_id=5622426559100836979
s_app_id_or_alias="odar"
s_page_id_or_alias="login"
s_sess_id_from_url="5622426559100836979"
s_remainder_of_url="(Null)"
s_new_page_id_or_alias="(Null)"
n_session_id_from_cookie <> n_current_session_id
b_login_required=True
n_new_session_id=5622426559100836979
s_new_url="odar:about:5622426559100836979"
HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
====== start before_header_process =====
s_current_url="p=odar:login:5622426559100836979"
n_session_id_from_cookie=(Null)
n_current_session_id=5622426559100836979
s_app_id_or_alias="odar"
s_page_id_or_alias="login"
s_sess_id_from_url="5622426559100836979"
s_remainder_of_url="(Null)"
s_new_page_id_or_alias="(Null)"
n_session_id_from_cookie <> n_current_session_id
b_login_required=True
n_new_session_id=5622426559100836979
s_new_url="odar:about:5622426559100836979"
HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
====== start before_header_process =====
s_current_url="p=odar:login:5622426559100836979"
n_session_id_from_cookie=(Null)
n_current_session_id=5622426559100836979
s_app_id_or_alias="odar"
s_page_id_or_alias="login"
s_sess_id_from_url="5622426559100836979"
s_remainder_of_url="(Null)"
s_new_page_id_or_alias="(Null)"
n_session_id_from_cookie <> n_current_session_id
b_login_required=True
n_new_session_id=5622426559100836979
s_new_url="odar:about:5622426559100836979"
HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
====== start before_header_process =====
s_current_url="p=odar:login:5622426559100836979"
n_session_id_from_cookie=(Null)
n_current_session_id=5622426559100836979
s_app_id_or_alias="odar"
s_page_id_or_alias="login"
s_sess_id_from_url="5622426559100836979"
s_remainder_of_url="(Null)"
s_new_page_id_or_alias="(Null)"
n_session_id_from_cookie <> n_current_session_id
b_login_required=True
n_new_session_id=5622426559100836979
s_new_url="odar:about:5622426559100836979"
HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
====== start before_header_process =====
s_current_url="p=odar:login:5622426559100836979"
n_session_id_from_cookie=(Null)
n_current_session_id=5622426559100836979
s_app_id_or_alias="odar"
s_page_id_or_alias="login"
s_sess_id_from_url="5622426559100836979"
s_remainder_of_url="(Null)"
s_new_page_id_or_alias="(Null)"
n_session_id_from_cookie <> n_current_session_id
b_login_required=True
n_new_session_id=5622426559100836979
s_new_url="odar:about:5622426559100836979"
HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
====== start before_header_process =====
s_current_url="p=odar:login:5622426559100836979"
n_session_id_from_cookie=(Null)
n_current_session_id=5622426559100836979
s_app_id_or_alias="odar"
s_page_id_or_alias="login"
s_sess_id_from_url="5622426559100836979"
s_remainder_of_url="(Null)"
s_new_page_id_or_alias="(Null)"
n_session_id_from_cookie <> n_current_session_id
b_login_required=True
n_new_session_id=5622426559100836979
s_new_url="odar:about:5622426559100836979"
HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')
====== start before_header_process =====
s_current_url="p=odar:login:5622426559100836979"
n_session_id_from_cookie=(Null)
n_current_session_id=5622426559100836979
s_app_id_or_alias="odar"
s_page_id_or_alias="login"
s_sess_id_from_url="5622426559100836979"
s_remainder_of_url="(Null)"
s_new_page_id_or_alias="(Null)"
n_session_id_from_cookie <> n_current_session_id
b_login_required=True
n_new_session_id=5622426559100836979
s_new_url="odar:about:5622426559100836979"
HTMLDB_UTIL.set_session_state('P101_JOIN_SESSION',5622426559100836979)
HTMLDB_CUSTOM_AUTH.set_session_id(5622426559100836979)
HTMLDB_UTIL.set_session_state('FSP_AFTER_LOGIN_URL','f?p=odar:about:5622426559100836979')
OWA_UTIL.redirect_url('f?p=odar:login:5622426559100836979')

Similar Messages

  • Why firefox wont ask me to enter my mail "Account details (UserName and Password)" for 2nd time, if i open same "mail account" using another session (1st session still "login")

    I opened "yahoomail" in one new tab,mail page asks me to enter "UserName and Password" once typed my details, it allows me to see my mails.Again I opened "yahoomail" in new tab (Still my 1st yahoo mail account in "login" state) to check my other account,this time it automatically allows me to see the previously opened account without asking me to enetr "Account Details"

    All Firefox windows and tabs run in the same "session". You can't open a 2nd account on the same server as the first account without being able to handle "session cookies" for each account.
    Take a look at these three extensions which can handle multiple "cookie sessions", and pick one. <br />
    Multifox: <br />
    http://br.mozdev.org/multifox/ <br />
    Cookie Swap extension: <br />
    https://addons.mozilla.org/firefox/3255/ <br />
    Cookie Pie extension: <br />
    http://www.nektra.com/oss/firefox/extensions/cookiepie/

  • Use existing session to call OIM api methods

    We have a situation where the user logs into the application using his/her username and password.
    At this point we perform a post to one of the OAM handlers, that authenticates the user and lets them in to the rest of the application. By the time we get here, I do not have the user's password anymore. All I have is the username. But I need to get an valid instance of oimClient and call some of the services such as Usermanager [ UserManager userService = oimClient.getService(UserManager.class); ]. Any idea how can I establish a connection with OIM and call this service ?
    All help appreciated. Thank you.

    To connect to OIM, you will need username and password.
    If you want to connect with user who are logging into your application, then you will also need their password. In that case, you will also have to make sure that these users have permission to perform UserManager operations.
    Alternatively, you can use some service account to connect to OIM [possibly decrypt the password of users who logged in]

  • AirBrowser - How to clear existing session value?

    Hi,
    We face the below mentioned problem. Would be great if someone could help us.
    Due to problems with uploading the attachment here, please send a email to the following email-id ([email protected]) and I shall send the attachment in response.
    WEBKit Browser is using existing session data. Browser retains session history and is a security concern.
    * Steps to Reproduce:
    1. Install AirBrowser.air and execute code.
    2. First go to yahoomail.com and login to an email account.
    3. In URL type Google.com
    4. After the page gets loaded, click browser "Back". Yahoo email Session will still be retained.
    * Actual Result:
    Yahoo Login Session is maintained
    * Expected Result:
    Yahoo Login Session to be cleared. Or, Warning Page should be shown.
    * Any Workarounds: None
    Thanks in advance.

    After looking at your code, the behaviour you're experiencing is expected.
    AIR uses the webkit browser and therefore when you open a web page (like in your example) you are essentially opening a page in a browser within your application.  The web server defines a unique session ID for your visit (and stores cookies etc).  When you goto Yahoo, then visit google, then go back to yahoo, the cookies or session continue to identify you and therefore yahoo automatically takes you to your mail or other yahoo specific page.
    The last I checked, AIR cookies are operating system cookies.  At present I think IE also stores it's cookies that way.  So clearing IE's cookies should affect Adobe AIR as well.  (This behaviour is not so well documented and it's one of the places I hope the docs improve upon.)
    If your application was for a public internet terminal you would want to warn people to logout of their accounts before leaving the system.   (However this kind of warning would be standard anyway I would hope.)
    I hope that helps

  • I accidentally saved a URL using Chrome and I'd like to delete it from the iPad. I reset privacy settings in Chrome, but it shows up in Mail, Notes, etc. How do I get rid of this thing? Thanks.

    I accidentally saved a URL using Chrome and I'd like to delete it from the iPad. I reset privacy settings in Chrome, but it shows up in Mail, Notes, etc. How do I get rid of this thing? Thanks.

    it's only possible with pop3 type email accounts not with imap and exchange
    preference->account->click the account in question-Click advanced and set "remove copy from server after retreiving a message to what you wish it to be

  • Using auth key to find existing session

    I wanted to know if it is possible to pass an AuthenticationKey to the AdobeHSAuthenticator and have it find the existing session that I was logged into.  Currently when I do this the the connect session logs me in again so now in the roster I would see chris turner 1 and chris turner 2.  I wanted to know if its possible so that chris turner 1 is the only being displayed in the roster.  The use case for this would be that I have two separate flex applications that I would like to login to the same room as the same person. 
    Thanks.
    -chris   

    If you run two Flex applications (or two instances of the same application) at the same time and with the same user you will see two entries in the roster. They are for the same user (if you look at the debugging messages the user id will be the same for both of them) but we add a suffix to the name to identify the application instance.
    Physically there are two network connection to the application, so you have to entries in the roster. What is the use case for wanting to see only one ?
    If you really want to you can easily build your own roster (a list populated by the user manager collection of users) and filter out the "duplicates".

  • How do I get firefox 3.5 back? Firefox 4 can't find yahoo.mail URL. Using your suggestions has caused me to loose my system tray icons and printers from my computer altogether and my system restore will no longer work either.

    Firefox 4.0 cannot find the Yahoo mail URL. Working with the Verizon tech we were able to get Internet Explorer to finaly find the yahoo mail web site. But not luck with Firefox 4.0 .
    Since trying your suggestions to make firefox 4 find the Yahoo mail URL. I have noticed that all of my system tray icons except the Panda anti virus and volume control icons have disapeared. My system restore will not restore and printers are gone altogether. How do I get the old firefox and all i've lost back.
    Hector, [email protected]

    Still cannot fix it to get Yahoo e-mail. This what I get now from Ff3.5 now.
    Sorry, we can't find "http://us.mc1121.mail.yahoo.com/mc/welcome". Please check the spelling of the web address.
    From Ff4 it can't find the " URL proxy server" on it's server???
    Have tried most every solutions/suggestion I could find have my computer just keeps getting worse. Where do I find the 4 solutions you mention here to see if I have not already tried them? I don't see or know where to go to find these solutions??? Can anyone help me find the fix???
    E-mail add. [email protected]

  • Package javax.mail does not exist (Still having trouble)

    Good Morning
    I know that there are several posts regarding issues with javamail. I have viewed them for the past hour. While several of them address my issue I have been unable to locate a solution.
    Bare with me please, I am making this post very thorough. The other threads I have read are frusterating because the problems people tend to post are not clear.
    I am trying to run "msgsend" which is a provided demo of javamail-1.4 using command prompt (start - run - cmd) with the javac command.
    The output below is directly pasted from command prompt and written in bold.
    C:\download\javamail-1.4\demo>javac msgsend.java
    C:\download\javamail-1.4\demo>javac msgsend.java
    msgsend.java:44: package javax.mail does not exist
    import javax.mail.*;
    ^
    msgsend.java:45: package javax.mail.internet does not exist
    import javax.mail.internet.*;
    ^
    msgsend.java:140: cannot find symbol
    symbol : class Session
    location: class msgsend
    Session session = Session.getInstance(props, null);
    ^
    msgsend.java:140: cannot find symbol
    symbol : variable Session
    location: class msgsend
    Session session = Session.getInstance(props, null);
    ^
    msgsend.java:145: cannot find symbol
    symbol : class Message
    location: class msgsend
    Message msg = new MimeMessage(session);
    ^
    msgsend.java:145: cannot find symbol
    symbol : class MimeMessage
    location: class msgsend
    Message msg = new MimeMessage(session);
    ^
    msgsend.java:147: cannot find symbol
    symbol : class InternetAddress
    location: class msgsend
    msg.setFrom(new InternetAddress(from));
    ^
    msgsend.java:151: package Message does not exist
    msg.setRecipients(Message.RecipientType.TO,
    ^
    msgsend.java:152: cannot find symbol
    symbol : variable InternetAddress
    location: class msgsend
    InternetAddress.parse(to,
    ^
    msgsend.java:154: package Message does not exist
    msg.setRecipients(Message.RecipientType.CC,
    ^
    msgsend.java:155: cannot find symbol
    symbol : variable InternetAddress
    location: class msgsend
    InternetAddress.parse(cc,
    ^
    msgsend.java:157: package Message does not exist
    msg.setRecipients(Message.RecipientType.BCC,
    ^
    msgsend.java:158: cannot find symbol
    symbol : variable InternetAddress
    location: class msgsend
    InternetAddress.parse(bcc,
    ^
    msgsend.java:167: cannot find symbol
    symbol : class MimeBodyPart
    location: class msgsend
    MimeBodyPart mbp1 = new MimeBodyPart();
    ^
    msgsend.java:167: cannot find symbol
    symbol : class MimeBodyPart
    location: class msgsend
    MimeBodyPart mbp1 = new MimeBodyPart();
    ^
    msgsend.java:169: cannot find symbol
    symbol : class MimeBodyPart
    location: class msgsend
    MimeBodyPart mbp2 = new MimeBodyPart();
    ^
    msgsend.java:169: cannot find symbol
    symbol : class MimeBodyPart
    location: class msgsend
    MimeBodyPart mbp2 = new MimeBodyPart();
    ^
    msgsend.java:171: cannot find symbol
    symbol : class MimeMultipart
    location: class msgsend
    MimeMultipart mp = new MimeMultipart();
    ^
    msgsend.java:171: cannot find symbol
    symbol : class MimeMultipart
    location: class msgsend
    MimeMultipart mp = new MimeMultipart();
    ^
    msgsend.java:185: cannot find symbol
    symbol : variable Transport
    location: class msgsend
    Transport.send(msg);
    ^
    msgsend.java:193: cannot find symbol
    symbol : class Store
    location: class msgsend
    Store store = null;
    ^
    msgsend.java:195: cannot find symbol
    symbol : class URLName
    location: class msgsend
    URLName urln = new URLName(url);
    ^
    msgsend.java:195: cannot find symbol
    symbol : class URLName
    location: class msgsend
    URLName urln = new URLName(url);
    ^
    msgsend.java:212: cannot find symbol
    symbol : class Folder
    location: class msgsend
    Folder folder = store.getFolder(record);
    ^
    msgsend.java:218: cannot find symbol
    symbol : variable Folder
    location: class msgsend
    folder.create(Folder.HOLDS_MESSAGES);
    ^
    msgsend.java:220: cannot find symbol
    symbol : class Message
    location: class msgsend
    Message[] msgs = new Message[1];
    ^
    msgsend.java:220: cannot find symbol
    symbol : class Message
    location: class msgsend
    Message[] msgs = new Message[1];
    27 errors
    Here are the methods I have tried...
    1. Make sure you have most current version of Java
    2. Reinstall Java
    3. Attempt to compile in an IDE (Attempted in Eclipse 3.2)
    4. Set class path
    Some sources suggest "CLASSPATH" some suggest "CLASS PATH" as the variable name. I have tried both.
    Below is what the classpath looks like in bold.
    Variable Name: CLASS PATH
    Variable value: c:\download\javamail-1.4\mail.jar;C:\download\jaf-1.1\activation.jar;.
    I have double checked all folder names and copy pasted all entries to eliminate typos. Javamail-1.4 and jaf-1.1 are both located in c:\download which is the same location Class Path points to.
    Thank you very much for your input and effort. I can imagine how frusterating it is responding to 20million javamail posts :) (that may be a bit of an overstatement!)
    Thank you again!
    Irbi
    Message was edited by:
    irbi
    Message was edited by:
    irbi

    Yes - I have read that part of the README and did exactly as it has said in a previous attempt. I should have mentioned that here I'm sorry :)
    I moved the .jar files into the download folder and set the classpath exactly as the readme shows.
    When I do that the msgsend.java compiles correctly but it still does not run.
    Below is what happens.
    C:\download\javamail-1.4\demo>set CLASSPATH=%CLASSPATH%;c:\download\javamail-1.4
    \mail.jar;%CLASSPATH%;c:\download\jaf-1.1\activation.jar.
    C:\download\javamail-1.4\demo>javac msgsend.java
    C:\download\javamail-1.4\demo>java msgsend.java
    Exception in thread "main" java.lang.NoClassDefFoundError: msgsend/java
    C:\download\javamail-1.4\demo>
    I have tried fixing this error as well via forums and FAQs but it seems to be the most generic error.
    One suggestion was to clear your classpath. I tried this with a test hello world program which was giving the same error - "NoClassDefFoundError". By clearing the classpath I was able to get the hello world program to run without this error. But I can't just clear the classpath in this instance because it needs to point to mail.jar and activation.jar for the program to compile.
    Thanks again for all of your efforts. You are more appreciated than you know.

  • Is there any way to have Mail automatically use our default "Sent" folder?

    We are a small college, with a fair number of users who use Macs and iOS devices, and we run an IMAP mail server. By default, our accounts are configured with Sent, Trash, Drafts, and Junk folders. Apple's Mail.app insists on "Sent Messages" and "Deleted Messages" rather than "Sent" and "Trash".
    We instruct our users to use the menu command Mailbox > Use This Mailbox For > commands to select our server's folders on their desktops, and on iOS to use the Settings > Mail > Account > Advanced, but this is tedious and annoying. Most users get it about half right, so that some devices use our default "Sent", and some use "Sent Messages". (This happens with Trash as well, but most users are not concerned if their Trash differs device to device.)
    Is there any server setting that can hint to Mail.app that it should use "Sent" rather than "Sent Messages"?
    Apple has a support document about this issue, "Mountain Lion Mail: If messages aren't stored where expected on the server" (  http://support.apple.com/kb/PH11810 ).
    However, that doc (and the similar one for Snow Leopard) merely says, "When Mail stores messages on the server, it looks for specific mailboxes, by name, in which to put the messages. If Mail doesn’t find those mailboxes on the server, it tries to create them on the server or, failing that, on your Mac."
    The document does not specify what the "specific mailboxes" are, and certainly does not suggest that there is any way to have it cooperate better with our server, but perhaps there is a way?
    (If I was trying to be a good IMAP client, I might look for any of "Sent", "Sent Messages", or "Sent Items", and use what I found before going to the next step of creating my own folder. Hard to imagine that any IMAP account would be initially configured without some "Sent" folder, so why not try to discover what the user has before pig-headly making your own.)

    Unfortunately, I have not found a consise way to explain this to the general user, just a huge wall of text to work around something that Apple got wrong the first time they created an IMAP client, and has stubbornly persited with. Here's our documentation for this silly problem:
    Special Folders on IMAP
    The basic idea is that all IMAP mail programs keep all your mail on our server, so that, e.g. when you read or reply to a message, all of your devices can then show that message as read and replied to.
    By convention, each IMAP program treats a few folders on the server as "Special", such as a "Trash" folder, that deleted messages get moved to, and a "Sent" folder, where each message you send gets copied. When they all pick the same special folders, all of your devices will show the same view of your mail. However, if different devices use different server folders for their "special" Sent folder, then the mail from these two devices will wind up in two different places, and be harder to find.
    Unfortunately, Apple's Mail programs are particularly obscure and obtuse in the way they treat these folders: They show their special Sent and Trash folders on screen with the obvious names "Sent" and "Trash", but secretly, under the covers, they insist on using folders named, "Sent Messages" and "Deleted Messages" instead. Even if the server already has perfectly usable "Sent" and "Trash" folders, Apple clients will ignore them and create their own special case "special" folders.
    If you only ever use Apple devices to look at your IMAP mail, you might never even notice their deception. But, if you sometimes use another mail client, such as webmail, you will encounter the confusing truth: When we created your account for the very first time, we add a "Sent" folder (actually named "Sent") and a Trash folder, named "Trash", and this is what everything except Apple's mail will use by default, because those folders are already their the first time the client connects to your account. However, even though Apple shows your special sent folder at the top of the list, with a paper-airplane icon, and labels it "Sent", in fact they ignore the existing "Sent" folder and make and use their own "Sent Messages."
    SO, if you send some mail from webmail, it will be in your actual "Sent" folder, whereas if you send it from an Apple mail program, it will be put into your "Sent Messages" folder. If you look into either "Sent" special folder, you'll only find part of your previously sent mail.
    Similarly for Trash, though most users find it more problematic to have two different Sent collections than to have multiple trash buckets.
    To unify things, you can either set your non-Apple mail programs to use "Sent Messages" and "Deleted Items"; OR, you can set all of your Apple devices to use "Sent" and "Trash". Doesn't really matter which way you go, though if a majority of your devices are doing it a particular way, you should change the non-matching devices to agree with the majority.
    (All clear so far? Why did Apple make this so hard? It would have been utterly simple for them to check for an existing "Sent" folder, and to use one if there is one, rather than to always stubbornly create and use a new "Sent Messages" folder. Then, they add to the problem by pretending that their new "Sent Messages" folder is really just named "Sent". Stupidity all the way down.)
    Anyways, to find out what the majority of your devices are doing, check them each to see which of the "sent" folders shows up in the "normal" list of folders rather than in the "special" location, that is, what folder name is in the list at the bottom of the folder area, rather than up at the special "Sent" icon, (because the special one will always be labeled "Sent", not matter what the actual folder name is).
    For example, say that on all-but-one of your mail setups, you see a "Sent Messages" folder down in the normal list, and on the other device, you see "Sent" down in the normal list.
    In that case, you'd want to set the "different" device to make the folder named "Sent" be the special one, instead of the "Sent Messages" that it was currently using.
    Conversely, if all but one showed "Sent" down in the regular folder area, and only one showed "Sent Messages", then you'd want to make "Sent Messages" the special folder on the odd device.
    Once you have decided, see the specific sections below for the procedure to set the "special" folders for Apple's Mail.app on a Mac, Apple's Mail on an iPhone/Pad/Pod, or for RoundCube webmail, or for Thunderbird.
    Once you have every device using the same sent folder, then you can move any messages from the "extra" version of the folder into your special folder, and then you can delete the extra folder. (If you delete this extra folder and it later re-appears, then it means one of your mail programs is still using it as its "special" folder, and recreating it.)
    Similarly for Trash, though probably you could delete the extra trash folder without moving the files, because they are trash.
    Here are the details for changing the Special Mail Folders on the systems we use:
    A) iPhone, iPad, iPod:
    As a first step, use Settings > Mail to set your device to read your email account, then open the Mail program so that it will read the list of all of your folders from the mail server. After that, go back to Settings > Mail to make sure it is using the desired special mailboxes on the server.
    Select your IMAP account in the settings tool, and then press the button for "Advanced" settings, and find the list of special mailboxes, e.g. Sent, Trash, Drafts. For each, scroll through the list of folders on the server to choose the folder you wish to use for that function.
    Note: iPhones/Pads/Pods also can be set to keep sent mail locally on the device. This is a spectacularly stupid choice for normal IMAP, as none of your other devices will be able to see the messages you send from your phone.
    B) Mail.app on Mac desktops and laptops:
    Set up mail so that it reads your messages and folders from the mail server.
    Select the "Sent" folder that you wish to use in the list of folders at the lower left of the mail window. (On newer Macs, the folders may be hidden by default. Use the "View > Show Folder List" menu command to display them if necessary.)
    Use the menu command "Mailbox > Use This Mailbox For > Sent" to specify that the selected mail box is the special folder for sent mail, and similarly for your Trash, Junk, or Drafts folders.
    C) RoundCube Webmail (with the standard skin):
    Login to your webmail site , and select the "Settings" icon in the upper right of the window, which has a "Gear" icon. This will display a "Settings" panel with buttons for "Preferences", "Folders", and "Identities" settings. When you first open the Settings panel, the "Section" panel shows a row of buttons for different Preferences.
    Click "Special Folders" in the "Section" list to open a list of "Drafts", "Sent", "Junk", and "Trash". Each special folder is followed by a menu of all your server folders. Select the server folder to use for each special folder.
    D): Thunderbird:
    After you have set up your connection to your IMAP account, click "Get Mail" to fetch your existing mail and list of folders on the server.
    Next, select the menu command "Options > Account Settings…" (Note that on current versions of Thunderbird, the default menu drops down from an icon of three horizontal bars, in the upper right corner of the mail window. You can use the Options command in this menu to display a menu bar at the top of the Thunderbird window if you wish. With the full menu, the menu command to access the special folders settings is "Tools > Account Settings…"
    Select "Copies and Folders" in the list at the left of the Account Settings window. This panel has a section for Sent mail, Archives, Drafts, and Templates. Select "Junk Settings" in the list at left to specify the location of the Junk special folder.
    For each special folder, the default choice is the the folder on the server with the "typical" name, e.g. "Sent" for sent, and "Trash" for trash. To use a different name, select the "Other:" option for the folder, and then choose the desired folder from the list of folders on the server.
    Oof! That's a lot of explaining for a issue that Apple should have gotten right in the first place, or at least should have fixed in their next several tries. It would not break any existing functionality if they merely used whatever folder the server had created, and only made their own if there was none.

  • How to pass a single quote in a URL using Javascript

    Can someone tell me how to pass a single quote in a URL using Javascript. I have created a Javascript funciton in which I pass several column values from an APEX report.
    The URL for the report link I am using is "JAVASCRIPT:passBack('#EMP_ID#','#Name#','#e-mail#')"
    The problem occurs with the Name and e-mail columns contain a single quote (i.e. James O'Brien)

    Thank you Saad, that worked.
    Since I built the report using type 'SQL Query (PL/SQL function fody returning SQL query)' I had to add some additional quotes to get it to work.
    i.e.
    replace(EMP_EMAIL_NAME,'''''''',''\'''''')
    or
    replace(EMP_EMAIL_NAME,chr(39),''\'''''')
    Thanks for the help,
    Jason

  • IPad mini will not let me access mail after latest software update, 6.1.2, seems to want me to sign in, but whenever I type my Id ad password it just says that the mail account already exists.. Still can't open my mail!

    iPad mini will not let me access mail after latest software update, 6.1.2, seems to want me to sign in, but whenever I type my Id ad password it just says that the mail account already exists.. Still can't open my mail!
    Help would be appreciated.

    PhotogYogi wrote:
    I Have the same issue on a brand new iPad mini 2. My battery is only lasting up to 5 hours. I went on chat with Apple last night and they said my battery is fine and its a Safari issue. I'm literally losing 1% every 3-4 minutes. I tried recalibrating my battery, signing out of iCloud, shutting off all locations, turning off background app refresh, restoring network settings, restoring all, and finally restoring from iTunes with no luck. This is just awful. I got this iPad so I could use it on my long flight for a trip I have coming up, and unfortunately, it's not going to last that long, plus I'm concerned about how many times i will be recharging my battery because of this since battery's do have a life cycle dependent on the number of charges. This is frustrating and needs to be fixed ASAP and addressed by Apple.
    By the way, Apple told me to bring my device to the Apple Store because it's still under warranty. That's great and all, but I'm going to waste my time if there is no fix for this issue.
    Ok so you want Apple to address the problem, but yet you don't want to take it to them just in case they can't fix it? What if they can fix it? Complaining here certainly won't fix it.

  • How to set up two POP e-mail accounts using the same POP and SMTP servers

    I have an e-mail address based on a domain I purchased which is based on my company name. Now retired, I have purchased a new domain with a simpler, personalised name. My original e-mail account uses the incoming (POP3) and outgoing (SMTP) mail servers operated by my ISP; mail.btinternet.com.
    I have set up a new account on my PC in Microsoft Outlook, and have successfully sent and received emails using the new e-mail address taken from my new domain name.
    I have now tried to mirror this on my iPhone, but every time I enter all the relevant data for the new e-mail address, user name, password, mail servers etc., and then press 'save', I get a pop-up which says: "xxxx" is Already Added  This POP account has already been added to your iPhone. ("xxxx" is the name given to my original e-mail account).  Nowhere have I input "xxxx" in the course of setting up the new account.
    I need both accounts operational during an extended switch-over period as I alert everyone to the e-mail change over. Can anyone suggest a solution to this problem?

    What targeting the Mail.app preference file, do the following:
    Quit the Mail.app first and using the Finder, go to Home > Library > Mail. Copy the Mail folder and place the copy on the Desktop for backup purposes.
    Using the Finder, go to Home > Library > Preferences > com.apple.mail.plist. Move the com.apple.mail.plist file to the Desktop.
    Note: Moving the com.apple.mail.plist file out of the Preferences folder will require re-entering all email account information when re-launching Mail.
    The only exception to this is if you have a .Mac account which will be recreated automatically and/or if you created an email account as part of the computer setup assistant when first turning on the computer when new.
    Launch Mail and decline any prompt to import mailboxes. After re-entering all email account information, the Mail.app should rediscover the existing account named folders and mailbox files at Home > Library > Mail.
    After confirming all mailboxes were successfully rediscovered, you can delete the copy of the Mail folder and old com.apple.mail.plist file from the Desktop.
    Test if this resolves the problem.

  • How to pass session variable value with GO URL to override session value

    Hi Gurus,
    We have below requirement.Please help us at the earliest.
    How to pass session variable value with GO URL to override session value. ( It is not working after making changes to authentication xml file session init block creation as explained by oracle (Bug No14372679 : which they claim it is fixed in 1.7 version  Ref No :Bug 14372679 : REQUEST VARIABLE NOT OVERRIDING SESSION VARIABLE RUNNING THRU A GO URL )
    Please provide step by step solution.No vague answers.
    I followed below steps mentioned.
    RPD:
    ****-> Created a session variable called STATUS
    -> Create Session Init block called Init_Status with SQL
        select 'ACTIVE' from dual;
    -> Assigned the session variable STATUS to Init block Init_Status
    authenticationschemas.xml:
    Added
    <RequestVariable source="url" type="informational"
    nameInSource="RE_CODE" biVariableName="NQ_SESSION.STATUS"/>
    Report
    Edit column "Contract Status" and added session variable as
    VALUEOF(NQ_SESSION.STATUS)
    URL:
    http://localhost:9704/analytics/saw.dll?PortalGo&Action=prompt&path=%2Fshared%2FQAV%2FTest_Report_By%20Contract%20Status&RE_CODE='EXPIRED'
    Issue:
    When  I run the URL above with parameter EXPIRED, the report still shows for  ACTIVE only. The URL is not making any difference with report.
    Report is picking the default value from RPD session variable init query.
    could you please let me know if I am missing something.

    Hi,
    Check those links might help you.
    Integrating Oracle OBIEE Content using GO URL
    How to set session variables using url variables | OBIEE Blog
    OBIEE 10G - How to set a request/session variable using the Saw Url (Go/Dashboard) | GerardNico.com (BI, OBIEE, O…
    Thanks,
    Satya

  • Icloud mail no longer exist

    Hi,
    I want to delete my old icloud account because my icloud mail no longer exist. ([email protected])
    On the other hand, my apple id account and icloud account are not the same.
    If possible, I want to use my current apple id account as the same with icloud account.
    I also forgot my icloud account password so I cannot login to my icloud account to delete.
    I also cannot answer security question because my cousin filled icloud account incorrectly and he also forgot.
    Please help me and give some advise. Hopefully for your reply.
    Su Htwe Aung

    ytemplar200 wrote:
    Hi there,
    Checked mail yeseterday evening and woke up today and mail no longer sending or receiving either on my iMac, iPhone or via the iCloud web portal. I have checked and double checked password and account information and everything is fine and all other iCloud applications (calendar, address book etc) seem fine. I have also checked account settings based on the Help page (to check server all OK). Server smtpme.com was green and Can anyone please advise what to do asap as mail completely not functional on any of my devices.
    smtp.me.com is not an iCloud server address, here are the correct settings for you.
    IMAP (Incoming Mail Server) information:
    Server name: imap.mail.me.com
    SSL Required: Yes
    Port: 993
    Username: [email protected] (use your @me.com address from your iCloud account)
    Password: Your iCloud password
    SMTP (outgoing mail server) information:
    Server name: smtp.mail.me.com
    SSL Required: Yes
    Port: 587
    SMTP Authentication Required: Yes
    Username: [email protected] (use your @me.com address from your iCloud account)
    Password: Your iCloud password

  • Creating Sales order texts while using BDC session method is not working

    Hi All,
    I have an existing program which creates sales order using BDC session method.( Actual program uses BAPI to create sales order and in case if any error occurs during creation of sales order BDC session is generated so that user can process it later and i am facing issues in this part of code where it uses BDC)
    I wanted to modify this BDC sesion  to update the sales order text also. I tried recording VA01 for creationg sales order text unfortunatly it is not capturing the data i am entering in the text fields.
    Please suggest if there is any way to create sales order using BDC.
    Regards
    Sheeba

    Hi Madhu,
    '=TP_CREATE' is the OK code i am getting for creating TEXTS. But the text entered are not captured in BDC.
    Part of BDC program generated for cretaing sales order texts.
    perform bdc_dynpro      using 'SAPMV45A' '4003'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=%_GC 128 22'.
    perform bdc_field       using 'LV70T-SPRAS'
                                  'EN'.
    perform bdc_dynpro      using 'SAPMV45A' '4003'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=TP_CREATE'.
    perform bdc_field       using 'LV70T-SPRAS'
                                  'EN'.
    perform bdc_dynpro      using 'SAPMV45A' '4003'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=%_GC 128 22'.
    perform bdc_field       using 'LV70T-SPRAS'
                                  'EN'.
    perform bdc_dynpro      using 'SAPMV45A' '4003'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=TP_CREATE'.
    perform bdc_field       using 'LV70T-SPRAS'
                                  'EN'.
    perform bdc_dynpro      using 'SAPMV45A' '4003'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/EBACK'.
    perform bdc_field       using 'LV70T-SPRAS'
                                  'EN'.
    perform bdc_dynpro      using 'SAPMV45A' '4001'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=SICH'.
    Regards,
    Sheeba

Maybe you are looking for