Third Party APIs in Java Language which doesnot use JavaMail APIs

Hi Pals,
Is there any third party java mail APIs available which doesnot using Sun JavaMail APIs? The third party would have its own APIs which does not use javax.mail. I have to code in Java Platform so if the APIs are java based its nice and useful to me.....
Thanks & Regards,
Prakash

ksp wrote:
Hi,
I am using Javamail APIs to send mails. Sometimes Mcafee blocks the mails and its not allowing javax.mail package. Thats why i would like to go for some other third pary which uses their own APIs......What makes you think a third party API would be less prone to interference by McAfee?
Edited by: sabre150 on Jun 18, 2009 10:39 AM
:-)

Similar Messages

  • Provisioning on third party apps with java handlers

    Hello,
    I am trying to configure OID to enable provisioning against third party applications like an J2EE app who use MySQL )
    I want to develop a Java plugin for handling events on OID and propagate on other DBMS.
    I saw on the following page (http://download-uk.oracle.com/docs/cd/B14099_14/idmanage.1012/b14087/prov_plug.htm#BCGJFHEB
    ) a sample of Java code who could help me. The, I tried to apply the Grocery demo with a JAVA plugin but unsuccessfully.
    Thats my configuration issues:
    1 ) In oidadmin
    I have created the following entries:
    cn=ApplicationsCCIP,cn=Products,cn=OracleContext
    cn=Plugins,cn=Training,cn=Applications,cn=Provisioning,cn=Directory Integration Platform,cn=Products,cn=OracleContext
    2) With ldapmodify
    dn: cn=Plugins, cn=Training, cn=Applications, cn=Provisioning,cn=Directory Integration Platform,cn=Products,cn=OracleContext
    changetype: add
    add: orclODIPPluginExecData
    orclODIPPluginExecData: path to jar addressbook-oidplugin-2.1.1.jar
    objectclass:orclODIPPluginContainer
    dn: cn=PRE_DATA_ENTRY_CREATE, cn=Plugins, cn=Training, cn=Applications,cn=Provisioning, cn=Directory Integration Platform, cn=Products, cn=OracleContext cn=Provisioning
    changetype: add
    objectClass: orclODIPPlugin
    orclStatus: ENABLE
    orclODIPPluginExecName: fr.ccip.training.addressbook.oid.PreDataPlugin
    orclODIPPluginAddInfo: Pre Data Entry Plugin for CREATE operation
    dn: cn=PRE_DATA_ENTRY_MODIFY, cn=Plugins, cn=Training, cn=Applications,cn=Provisioning, cn=Directory Integration Platform, cn=Products, cn=OracleContext
    changetype: add
    objectClass: orclODIPPlugin
    orclStatus: ENABLE
    orclODIPPluginExecName: fr.ccip.training.addressbook.oid.PreDataPlugin
    orclODIPPluginAddInfo: Pre Data Entry Plugin for MODIFY operation
    dn: cn=POST_DATA_ENTRY_CREATE, cn=Plugins, cn=Training, cn=Applications, cn=Provisioning, cn=Directory Integration Platform, cn=Products, cn=OracleContext
    changetype: add
    objectClass: orclODIPPlugin
    orclStatus: ENABLE
    orclODIPPluginExecName: fr.ccip.training.addressbook.oid.PostDataPlugin
    orclODIPPluginAddInfo: Post Data Entry Plugin for CREATE and modify operations
    dn: cn=POST_DATA_ENTRY_MODIFY, cn=Plugins, cn=Training, cn=Applications, cn=Provisioning, cn=Directory Integration Platform, cn=Products, cn=OracleContext
    changetype: add
    objectClass: orclODIPPlugin
    orclStatus: ENABLE
    orclODIPPluginExecName: fr.ccip.training.addressbook.oid.PostDataPlugin
    orclODIPPluginAddInfo: Post Data Entry Plugin for MODIFY and CREATE operation
    dn: cn=DATA_ACCESS, cn=Plugins, cn=Training, cn=Applications, cn=Provisioning, cn=Directory Integration Platform, cn=Products, cn=OracleContext
    changetype: add
    objectClass: orclODIPPlugin
    orclStatus: ENABLE
    orclODIPPluginExecName: fr.ccip.training.addressbook.oid.DataAccessPlugin
    orclODIPPluginAddInfo: Data Access Plugin
    dn: cn=EVENT_DELIVERY_OUT, cn=Plugins, cn=Training, cn=Applications, cn=Provisioning, cn=Directory Integration Platform, cn=Products, cn=OracleContext
    changetype: add
    objectClass: orclODIPPlugin
    orclStatus: ENABLE
    orclODIPPluginExecName: fr.ccip.training.addressbook.oid.DeliveryOutEvent
    orclODIPPluginAddInfo: Event Delivery Plugin for Outbound
    dn: cn=EVENT_DELIVERY_IN, cn=Plugins, cn=Training, cn=Applications, cn=Provisioning, cn=Directory Integration Platform, cn=Products, cn=OracleContext
    changetype: add
    objectClass: orclODIPPlugin
    orclStatus: ENABLE
    orclODIPPluginExecName: fr.ccip.training.addressbook.oid.DeliveryInEvent
    orclODIPPluginAddInfo: Event Delivery Plugin for Inbound
    3) I have uploaded the jar in /oas/infra/ldap/jlib
    4 ) With oidprovisioning tool
    oidprovtool operation=create ldap_host=dev-orainfra.ccip.fr ldap_port=389 ldap_user_dn="cn=orcladmin" ldap_user_password=password1 organisation_dn=ccip application_dn="orclapplicationcommonname=Training,cn=ApplicationsCCIP,cn=Products,cn=OracleContext" organization_dn="dc=ccip,dc=fr" event_subscription="USER:ccip:ADD(uname)" event_subscription="USER:ccip:DELETE" event_subscription="GROUP:ccip:MODIFY(cn,uniquemember)" interface_type=JAVA interface_name=PORTAL.WWSEC_OID_SYNC interface_version=3.0 application_type=Addressbook profile_debug=debug
    5) Restart OID
    I have previously uploaded a jar with some plugins
    Thas my code
    import java.io.FileOutputStream;
    import java.io.PrintStream;
    import oracle.idm.provisioning.event.Event;
    import oracle.idm.provisioning.event.EventStatus;
    import oracle.idm.provisioning.plugin.EventDeliveryException;
    import oracle.idm.provisioning.plugin.EventPluginInitException;
    import oracle.idm.provisioning.plugin.IEventsFromOID;
    import oracle.idm.provisioning.plugin.PluginException;
    import oracle.ldap.util.UtilDebug;
    public class OIDToAddressbookEvent implements IEventsFromOID {
    static {
    try {
    UtilDebug.setPrintStream(new PrintStream(new FileOutputStream("/tmp/oidtoaddressbookevent.log")));
    UtilDebug.setDebugMode(UtilDebug.MODE_ALL);
    } catch (Exception e) {
    e.printStackTrace();
    * (non-Javadoc)
    * @see oracle.idm.provisioning.plugin.IEventsFromOID#initialize(java.lang.Object)
    public void initialize(Object _arg0) throws EventPluginInitException {
    // TODO Auto-generated method stub
    * (non-Javadoc)
    * @see oracle.idm.provisioning.plugin.IEventsFromOID#sendEventsToApp(oracle.idm.provisioning.event.Event[])
    public EventStatus[] sendEventsToApp(Event[] _arg0) throws EventDeliveryException {
    UtilDebug.log(UtilDebug.MODE_ALL, "sendEvents", _arg0);
    EventStatus[] events = new EventStatus[1];
    events[0] = new EventStatus(EventStatus.SUCCESS, null, null, null);
    return events;
    * (non-Javadoc)
    * @see oracle.idm.provisioning.plugin.IEventPlugin#terminate(java.lang.Object)
    public void terminate(Object _arg0) throws PluginException {
    // TODO Auto-generated method stub
    public OIDToAddressbookEvent() {
    super();
    // TODO Auto-generated constructor stub
    public class DataAccessPlugin implements IDataAccessPlugin{
    static {
    try {
    UtilDebug.setPrintStream(new PrintStream(new FileOutputStream("/tmp/dataaccessplugin.log")));
    UtilDebug.setDebugMode(UtilDebug.MODE_ALL);
    } catch (Exception e) {
    e.printStackTrace();
    /* (non-Javadoc)
    * @see oracle.idm.provisioning.plugin.IDataAccessPlugin#getAppUserData(oracle.idm.provisioning.plugin.ApplicationContext, oracle.idm.user.IdmUser, java.lang.String[])
    public PropertySet getAppUserData(ApplicationContext arg0, IdmUser arg1, String[] _arg2) throws PluginException {
    return null;
    /* (non-Javadoc)
    * @see oracle.idm.provisioning.plugin.IDataAccessPlugin#process(oracle.idm.provisioning.plugin.ApplicationContext, oracle.idm.user.IdmUser, oracle.ldap.util.ModPropertySet, oracle.ldap.util.ModPropertySet)
    public PluginStatus process(ApplicationContext arg0, IdmUser arg1, ModPropertySet arg2, ModPropertySet arg3) throws PluginException {
    UtilDebug.log(UtilDebug.MODE_ALL,"Processing DAP...",_arg0);
    return new PluginStatus(PluginStatus.SUCCESS,null,null);
    I have already develop event wich implements IEventsPlugin.
    I dont see what s wrong in my configuration
    Thanks in advance for your help
    Alexandre Touret
    Message was edited by:
    [email protected]
    Message was edited by:
    [email protected]

    Ahhh...OK...that makes more sense now. From your first post, it seemed like you wanted to sync the actual app (as in, for instance, backup the actual app and then restore it after an OS reload...as opposed to reinstalling the app after an OS reload). But, now I see that it is the App data that you wish to sync.
    To be 100% clear -- is this a sync function, similar to how the desktop software synchs with your PIM (e.g., Outlook) for organizer data? Or is this a backup function, where the data is backed up for use in a subsequent restore?
    Thanks!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Integrating third party components in java

    Hi All,
    I have a doubt, as in .net u can add third party components in ur application and use the functionality of that e.g u can add third party datagrid in .net,
    In similar way are there any third party components in java, if yes how do we integrate in our application
    Please reply.
    Thanks,
    Mahesh.

    There are lots and lots of 3rd party components and libraries in Java. All you have to do to use 3rd party components is to add jars to the classpath and write some code which uses the classes.
    Kaj

  • Getting exceptions while sending mail using javamail api

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

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

  • Question about using JavaMail API to read the calendar folder...

    Hi,
    I've made an application that goes to the mail server, fetches all mails in the calendar folder and tells you the meetings you have in a particular day.
    I'm using JavaMail API for this. My problem is that the application is very slow because I'm forced to fetch (one by one!) the contents of every message.
    My question is: How can Outlook show so fast the mettings you have? Do they have a specific API that allows them to get the right info by only calling certain methods? Is there something similar in Java?
    Thaks for your help!
    Note: I use method:
    folder.fetch(allMessages, fetchProfile);howerver the fetchProfile class does not allow me to specfy that I want to dowload the contents of the message (you only can specify the content_info); specifying all headears does not help me either.

    Clarification:
    The VI you have posted will work as following:
    1) The task will read 2 analog inputs (ai0, ai3).
    2) The acquisition starts, oncece digital signal (trigger) is detected on PFI0
    3) The sampling rate will be as specified in "rate" control - it is continuous analog input acquisition, which means that after trigger is received (point 2), the board will start to generate hardware clock with frequency you specify as "rate"
    4) with each rising edge of that hardware clock, the measurement is taken, and stored into buffer of driver.
    5) DAQmx read will try to read "number of samples per channel" number of samples each time is called - and if there is not enough measurement stored in buffer (step 4), then DAQmx read will wait until DAQ card will measure reaquested number of samples (or timeout occurs before requested number of samples has been acquired)
    6) DAQmx read will be then called 1000 times - so totaly you will read 1000 * "number of samples per channel"  number of samples.
    You do not have to be worried about speed of the loop. In fact, if you need to read just 1000 samples, with 1kS/s, then you can remove for loop and you can change measurement mode from continuous to finite samples, and specify number of samples to read to be 1000. You will read them all properly. I recomend you to read User Manual for your DAQ device - lets say M Series User Manual.
    I hope it is clear now.
    regards,
    stefo

  • Retriving unread mails using JavaMail api...

    Hi everyone, I am developing a swing GUI application using Java Netbeans and I want to develop a mail client which retrieves mails using Javamail api. Can anyone suggest me how I can implement the code to retrive the same.

    Did you bother reading anything before posting that question?

  • Problem Sending mails in a loop using JavaMail API

    Hello All,
    I am sending emails in a loop(one after the other) using JavaMail API,but the problem is, if the first two,three email addresses in the loop are Valid it sends the Email Properly, but if the Fourth or so is Invalid Address it throws an Exception....
    "javax.mail.SendFailedException: Sending failed;"
    nested exception is:
    javax.mail.SendFailedException: Invalid Addresses;
    nested exception is:
    javax.mail.SendFailedException: 450 <[email protected]>:Recipient address rejected: Domain not found......
    So if i want to send hundereds of emails and if one of the Emails inbetween is Invalid the process Stops at that point and i could not send the other emails in the Loop......
    How Could i Trap the exception thrown and handle it in such a way, so that the loops continues ..
    Is there something with the SMTP Server....?
    The code which i am using is as follows....
    <Code>...
    try {
    InitialContext ic = new InitialContext();
    Session session = (Session) ic.lookup(JNDINames.MAIL_SESSION);
    if (Debug.debuggingOn)
    session.setDebug(true);
    // construct the message
    MimeMessage msg = new MimeMessage(session);
    msg.setFrom(new InternetAddress(eMess.getEmailSender()));
    String to = "";
    msg.setRecipients(Message.RecipientType.TO,
    InternetAddress.parse(to, false));
    msg.setRecipients(Message.RecipientType.BCC,
    InternetAddress.parse(eMess.getEmailReceiver(), false));
    msg.setSubject(eMess.getSubject());
    msg.setContent(eMess.getHtmlContents(),"text/plain");
    msg.saveChanges();                
    Transport.send(msg);
    } catch (Exception e) {
    Debug.print("createAndSendMail exception : " + e);
    throw new MailerAppException("Failure while sending mail");
    </Code>....
    Please give me any suggestions regarding it....and guide me accordingly..
    Thanks a million in advance...
    Regards
    Sam

    How about something like the code attached here. Be aware it is lifted and edited out of an app we have here so it may require changing to get it to work. If it don't work - don't come asking for help as this is only a rough example of one way of doing it. RTFM - that's how we worked it out!
    SH
    try {
    Transport.send(msg);
    // If we get to here then the mail went OK so update all the records in the email as sent
    System.out.println("Email sent OK");
    catch (MessagingException mex) {
    System.out.println("Message error");
    Exception ex = mex;
    do {
    if (ex instanceof SendFailedException) {
    if (ex.getMessage().startsWith("Sending failed")) {
    // Ignore this message as we want to know the real reason for failure
    // If we get an Invalid Address error or a Message partially delivered message process the message
    if (ex.getMessage().startsWith("Message partially delivered")
    || ex.getMessage().startsWith("Invalid Addresses")) {
    // This message is of interest as we need to process the actual individual addresses
    System.out.println(ex.getMessage().substring(0, ex.getMessage().indexOf(";")));
    // Now get the addresses from the SendFailedException
    SendFailedException sfex = (SendFailedException) ex;
    Address[] invalid = sfex.getInvalidAddresses();
    if (invalid != null) {
    System.out.println("Invalid Addresse(s) found -");
    if (invalid.length > 0) {
    for (int x = 0; x < invalid.length; x++) {
    System.out.println(invalid[x].toString().trim());
    Address[] validUnsent = sfex.getValidUnsentAddresses();
    if (validUnsent != null) {
    System.out.println("Valid Unsent Addresses found -");
    if (validUnsent.length > 0) {
    for (int x = 0; x < validUnsent.length; x++) {
    System.out.println(validUnsent[x].toString().trim());
    Address[] validSent = sfex.getValidSentAddresses();
    if (validSent != null) {
    System.out.println("Valid Sent Addresses found -");
    if (validSent.length > 0) {
    for (int x = 0; x < validSent.length; x++) {
    System.out.println(validSent[x].toString().trim());
    if (ex instanceof MessagingException)
    ex = ((MessagingException) ex).getNextException();
    else {
    // This is a general catch all and we should assume that no messages went and should stop
    System.out.println(ex.toString());
    throw ex;
    } while (ex != null);

  • Third party application forcing java stack to restart when logged in through SSO

    Hi
    We have APW Third party application installed on Enterprise portal  7.4.
    When we tried to login APW portal through SSO it forces Java stack services to restart.If we use APW directly without SSO it works fine.
    Can you help me tto resolve the issue.

    Hi Manish,
    Please check  the configuration once agian about the third party connection  and  the portal.
    Also provide the "dev_server0" which under in directory /usr/sap/SID/J00/work and default trace which under in “/usr/sap/SID/J00/j2ee/cluster/server0/log" to analyze the issue. There is some other tool as well to check the issue using "httpwatch" log tool. But, mostly issue can be identified in dev_server0 or defalut trace".
    Thanks,
    Brindavan

  • How to use  third party package in java application

    hi, i am a student , new to java world can any of u tell me how to import third party package in our java application.
    i want to know how CLI is done in java.
    i am going thru this link http://www.codezoo.com/pub/component/5574
    not able to get anything.
    please please help me

    There are two steps -
    1. Import the classes you need from the package(s) using the Java import statement in your classes that need access to them.
    2. include the 3rd part code (one or more .jar files and/or root directories holding the code's package tree and .class files) to your javac and java class path and optionaly to the class path found in your .jar's manifest file.

  • Third Party Apps Not Opening on iPhone 5 using iOS 6.0.2

    I have an iPhone 5 and am using iOS 6.0.2 and recently certain third party apps like Facebook, Instagram, Shazzam for instance, no longer open.  When I tap on the app, the app comes up on the screen for about a second, and then closes.  What's strange is that I've been using iOS 6.0.2 and have also been using the most updated versions of the apps without any issues.  The crashing started happening around last Friday.  Here's what I've tried to do to fix the problem so far but none of these options have worked:
    - I restarted my phone by holding down the home button and the lock button. 
    - I turned my phone off and turned it on again. 
    - I deleted the apps and reinstalled them and then restarted my phone. 
    - I downloaded a random free app, opened it, and then tried opening the apps that kept crashing.
    - I restored my phone and synced it using the most recent back up I had, which was from earlier that day. 
    I did find a temporary solution, that allows the apps to open but I think it's because the apps are not the most recent versions. 
    - I restored my phone and set it up as a new phone.  The phone then downloaded all of the apps again and re-synced everything.  The apps did open after that however, when I went to the app store, it said that I had 24 available updates.  I updated all of the apps to their most up to date versions and then noticed that they once again stopped opening and would crash almost immediately after launching them. 
    - I then restored my phone again and set it up as a new phone and did not update the 24 apps and all but one of them work.  The only app that I've noticed that still doesn't work is the Blackboard Eats app.  It still crashes almost immediately after launching it. 
    I took my phone to the Genius Bar this weekend (which is where I was told to restore the phone and set it up as a new phone).  I'm thinking that the issue is purely a software issue, but is there any chance that it could be a hardware issue? 
    I suppose I could just not update the apps, but I'm hoping there's a better solution than that.  What's weird is that the phone was working with iOS 6.0.2 and all of the most up to date versions of the apps less than a week ago and it seems that somehow, overnight, they stopped working. 
    Is anyone else running into this problem?  Has anyone found a solution? 
    Thanks in advance,
    Kevin

    The music player does not remember where the last session ended.  I have about 1000 songs on my iPhone.  I play the songs in the Shuffle mode - and it worked fine on iOS 5.x.  Ever since I updated to iOS 6.0, the shuffle seems to be seriously broken.  It repeats the song sequence of previous session in the exact order instead of starting from where the session ended.  God forbid if your last session was 10-25 songs long - you'll have to hit the Next song so many times to listen to something that you have not heard for a while.

  • Third party plug ins-anyone know how to use?

    hello all
    i just bought garritan personal orchestral and want to use it with logic express. has anyone had experience with using third party plug ins in logic. ive tried moving folders and files around but i cant get logic to recognise the programme. i used to use traktion as software which had a search system for locationg plug-ins but logic seems to have no such feature.
    any help would be greatly appreciated
    cheers
    j

    It sounds like you have a PPC version of Kontakt Player. This works as standalone but not in Logic.
    Run Logic AU manager to see if it is recognised.
    Remember in all these issues, and setting up the pi in Logic, you are Looking for Kontakt Plaer 2, not Garritan Personal Orchestra.
    If not you need to update Kontakt Player. This is a Native Instruments Application and can be updated either by
    1. Running Service Centre if it installed when you installed Garitan. It is a separate Application.
    2. Go to NI web site http://www.native-instruments.com/index.php?id=updates_us&flash=7 and update there.
    The current version of Kontakt Player 2 is 2.2.1.010

  • How can I configure a third party VME board with A24 address space using a VME-MXI-2?

    Hi!
    We are trying to establish communications to a Galil Motion controller with a VME interface. Galil states that they are using a A24 address scheme with A16 data space for their board.
    I am confused how to configure that board in the VME chassis properly.
    The base address provided by Galil is 91Fxxx, I am assuming that the lower three nibbles are the registers that I can talk to?!
    How do I set the address range under the resource setting for that board?
    Also, I noticed in MAX that one board shows up with a slot number unknown, one with slot #0 and this board I have set to slot #1. I assume that the unknown part is for the PCI card that makes up for the 1/2 of the PCI to VME bridge?
    The VISA VIs (Register based access) returns either a bus error, an invalid offset specified or data. However, we are completely in the dark when it does return data, since the expected offset we are typing in causes one of the two errors.
    Our assumption of the problem is that we do not understand how to properly configure that third party board as a resource. It has also happened that the resource manager is hanging up the PC completely. Not even CTRL-ALT-DEL works and the MXI activity LED on the NI-VME-MXI-2 board stays on during the hand up.
    We would appreciate, if somebody could walk us through the configuration process, step-by-step. Specifically, please explain how to setup the base address and how the offsets relate to this on a A24 address scheme. We are completely new to the VME bus interface, so even trivial things may be unkown to us.
    We have browsed NI's page and manuals for explanations, however, we could not find any answers to our questions.
    We noticed a formula for an A16 board that takes the base address and adds the logical address to it plus 40hex. Do we have to do the same or something similar to the A24 board????
    We also came accross an option that would allow the board (NI VME controller) to share its memory with A24 or A32 space? Do we need to enable that? What is the purpose for that?
    Best,
    Markus Tarin
    www.movimed.com - Custom Imaging Solutions
    www.movitherm.com - Advanced Thermography Solutions

    When I did not get a response here, I had to open a ticket with support.  The short answer is that you cannot customize the SAML response when using Azure AD as an IdP.
    Response from support:
    I discussed the issue with senior engineers to get action plan for this issue. After doing research Senior engineers updated me that we cannot add a custom attribute to the default
    SAML response of Azure AD.
    Below is the link to get the list of available attributes
    https://msdn.microsoft.com/en-us/library/azure/dn195587.aspx
    As default SAML response from Azure AD , we have email address of the user sent out as attribute value for the Attribute " NAME ".
    They suggested me to configure the application we are trying to integrate with Azure AD in such a way that it transforms the Attribute  " NAME " into " EMAIL
    This was not particularly helpful in my case as I did not have any control over the 3rd party which specifically documented that they would not extract the email address from the name attribute.
    Cheers,
    Jeff

  • Third Party POS Integartion With SAP IS-Retail Using PI

    Hi,
    I want to Integrate SAP ERP (Retail) system with a third-party POS system Using PI.
    Could you please describe me what are the inbound and Outbound IDOC is used to integrate POS system.
    Please Give me the IDOC name with functional details.If possible provide me some doucmentaion for PI interfaces
    Thanks
    Laxmi Bhushan

    ref: http://wiki.sdn.sap.com/wiki/display/Retail/SAPRetailPOS+Interface

  • Getting error when sending SMTP mail using javamail api

    hi all
    i am new to javamail api...and using it first-time....i'v used the following code
    <%
    String mailHost="mail.mastsale.com";
    String mailText="Hello this is a test msg";
    String to="<a href="mailto:[email protected]">[email protected]</a>";
    String subject="jsp test mail";
    try
    String from="<a href="mailto:[email protected]">[email protected]</a>";
    String mailhost = "mail.mastsale.com";
    Properties props = System.getProperties();
    props.put("mail.smtp.host", mailhost);
    // Get a Session object
    Authenticator auth = new SMTPAuthenticator( "<a href="mailto:[email protected]">[email protected]</a>", "abcd" );
    Session session1 = Session.getInstance(props,auth);
    //Session.setDebug(true);
    //construct message
    Message msg = new MimeMessage(session1);
    msg.setFrom(new InternetAddress(from,"Your Name"));
    msg.setRecipients(Message.RecipientType.TO, InternetAddress.parse(to, false));
    msg.setSubject(subject);
    msg.setText(mailText);
    //msg.setHeader("X-Mailer",mailer);
    msg.setSentDate(new Date());
    msg.saveChanges();
    //Send the message
    out.println("Sending mail to " + to);
    Transport.send(msg);
    catch (MessagingException me)
    out.println("Error in sending message for messaging exception:"+me);
    %>
    and
    SMTPAuthenticator.java
    import java.io.*;
    import java.util.*;
    import java.lang.*;
    import javax.mail.*;
    import javax.mail.internet.*;
    public class SMTPAuthenticator extends javax.mail.Authenticator {
    private String fUser;
    private String fPassword;
    public SMTPAuthenticator(String user, String password) {
    fUser = user;
    fPassword = password;
    public PasswordAuthentication getPasswordAuthentication() {
    return new PasswordAuthentication(fUser, fPassword);
    Now getting error as: Error in sending message for messaging exception:javax.mail.SendFailedException: Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 550-(host.hostonwin.com) [208.101.41.106] is currently not permitted to relay 550-through this server. Perhaps you have not logged into the pop/imap server 550-in the last 30 minutes or do not have SMTP Authentication turned on in your 550 email client.
    Can anyone help me?

    i got the following error while using the below code,
    -----------registerForm----------------
    DEBUG: setDebug: JavaMail version 1.3.2
    DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
    DEBUG SMTP: useEhlo true, useAuth true
    :::::::::::::::::::::::::::::::::<FONT SIZE=4 COLOR="blue"> <B>Error : </B><BR><HR> <FONT SIZE=3 COLOR="black">javax.mail.AuthenticationFailedException<BR><HR>
    -----------registerForm----------------
    public class SendMailBean {
    public String send(String p_from, String p_to, String p_cc, String p_bcc,
    String p_subject, String p_message, String p_smtpServer,String FilePath) {
    String l_result = "";
    // Name of the Host machine where the SMTP server is running
    String l_host = p_smtpServer;
    //for file attachment
    String filename = FilePath;
    // Gets the System properties
    Properties l_props = System.getProperties();
    // Puts the SMTP server name to properties object
    l_props.put("mail.smtp.host", l_host);
    l_props.put("mail.smtp.auth", "true");
    // Get the default Session using Properties Object
    Session l_session = Session.getDefaultInstance(l_props, null);
    l_session.setDebug(true); // Enable the debug mode
    try {
    MimeMessage l_msg = new MimeMessage(l_session); // Create a New message
    l_msg.setFrom(new InternetAddress(p_from)); // Set the From address
    // Setting the "To recipients" addresses
    l_msg.setRecipients(Message.RecipientType.TO,
    InternetAddress.parse(p_to, false));
    // Setting the "Cc recipients" addresses
    l_msg.setRecipients(Message.RecipientType.CC,
    InternetAddress.parse(p_cc, false));
    // Setting the "BCc recipients" addresses
    l_msg.setRecipients(Message.RecipientType.BCC,
    InternetAddress.parse(p_bcc, false));
    l_msg.setSubject(p_subject); // Sets the Subject
    // Create and fill the first message part
    MimeBodyPart l_mbp = new MimeBodyPart();
    //123
    ///////l_mbp.setText(p_message);
    l_mbp.setContent(p_message,"text/html");
    // Create the Multipart and its parts to it
    Multipart l_mp = new MimeMultipart();
         //l_mp.setContent(html,"text/html");
    l_mp.addBodyPart(l_mbp);
    // Add the Multipart to the message
    l_msg.setContent(l_mp,"text/html");
    // Set the Date: header
    l_msg.setSentDate(new Date());
    //added by cibijaybalan for file attachment
         // attach the file to the message
    //Multipart l_mp1 = new MimeMultipart();
         if(!filename.equals(""))
                   String fname = filename;
                   MimeBodyPart mbp2 = new MimeBodyPart();
                   FileDataSource fds = new FileDataSource(fname);
                   mbp2.setDataHandler(new DataHandler(fds));
                   mbp2.setFileName(fds.getName());
                   l_mp.addBodyPart(mbp2);
              // add the Multipart to the message
              l_msg.setContent(l_mp);
    //ends here
         l_msg.setSentDate(new java.util.Date());
    // Send the message
    Transport.send(l_msg);
    // If here, then message is successfully sent.
    // Display Success message
    l_result = l_result + "Mail was successfully sent to : "+p_to;
    //if CCed then, add html for displaying info
    //if (!p_cc.equals(""))
    //l_result = l_result +"<FONT color=green><B>CCed To </B></FONT>: "+p_cc+"<BR>";
    //if BCCed then, add html for displaying info
    //if (!p_bcc.equals(""))
    //l_result = l_result +"<FONT color=green><B>BCCed To </B></FONT>: "+p_bcc ;
    //l_result = l_result+"<BR><HR>";
    } catch (MessagingException mex) { // Trap the MessagingException Error
    // If here, then error in sending Mail. Display Error message.
    l_result = l_result + "<FONT SIZE=4 COLOR=\"blue\"> <B>Error : </B><BR><HR> "+
    "<FONT SIZE=3 COLOR=\"black\">"+mex.toString()+"<BR><HR>";
    } catch (Exception e) {
    // If here, then error in sending Mail. Display Error message.
    l_result = l_result + "<FONT SIZE=4 COLOR=\"blue\"> <B>Error : </B><BR><HR> "+
    "<FONT SIZE=3 COLOR=\"black\">"+e.toString()+"<BR><HR>";
    e.printStackTrace();
    }//end catch block
    //finally {
    System.out.println(":::::::::::::::::::::::::::::::::"+l_result);
    return l_result;
    } // end of method send
    } //end of bean
    plz help me

  • Problem accessing gmail with IMAP using JavaMail APIs

    Hi,
    I am trying to access my gmail account with JavaMail API. I am able to access it using pop3s but not with IMAP.
    I have used following details:
    protocol: imap
    host: imap.gmail.com
    port: -1 (also tried with 993) but no success.
    My basic code is
    url = new URLName(protocol, getHostname(), 993, mbox,
                              getUsername(), getPassword());
             Properties props = null;
             try {
              props = System.getProperties();
             } catch (SecurityException sex) {
              props = new Properties();
             session = Session.getInstance(props, null);
              session.setDebug(true);
            store = session.getStore(url);
            store.connect();
            folder = store.getFolder(url);
            folder.open(Folder.READ_WRITE);Any pointers?
    Thanks.

    Changed protocol from "imap" to "imaps"....and used port 993...and its working!!!!

Maybe you are looking for

  • How can I move apps from one computer to the other?

    How can I move apps from one computer to the other? (preferably without iCloud)

  • PREVIEW doesn't work

    Hello experts! I have to make a report for a client where he can print a PDF. I start with 'FP_CALL_FUNCTION_NAME' and 'FP_JOB_OPEN'. I call the PDF wirh the function module and make 'FP_JOB_CLOSE'. I get the pop-up where I can select my printer and

  • How to display axis labels on both x and y-axis of a column chart

    hi,  i have an urgent requirement of having axis labels on both x and y axis In x-axis i got it by sorting order also but in y-axis i'm unable to do i need in y-axis ,my column values are L1,L2,L3,----L10these shuold display in y-axis in sorting orde

  • How do I backup and recover all of user's objects and Application?

    I know that I can export the application ,CSS and images by HTMLDB.But there is not user's data. I can also export user's full schema by sqlplus. Can I recover all of user's objects like this: 1,import the user's schema. 2,create a new workspace and

  • Infotype Operation

    Hi, Can someone explain me following Infotype operation's, with an example please and also, how we should decide which operation for an Infotype will suit the best to the client. Create INS Copy   COP Change MOD Delimit LIS9 Create operation for acti