Password Needed For Sending Emails - EVERYTIME

All of a sudden, every time I try to send an email from Apple Mail, using my iCloud account, I get a pop-up asking me to enter my system administrator password. Someone please help me figure this out before I throw this computer out the window. I am beyond frustrated right now.
<Edited by Host>

Back up all data before proceeding.
Launch the Keychain Access application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad and start typing the name.
Select the login keychain from the list on the left side of the Keychain Access window. If your default keychain has a different name, select that.
If the lock icon in the top left corner of the window shows that the keychain is locked, click to unlock it. You'll be prompted for the keychain password, which is the same as your login password, unless you've changed it.
Right-click or control-click the login entry in the list. From the menu that pops up, select
          Change Settings for Keychain "login"
In the sheet that opens, uncheck both boxes, if not already unchecked.
From the menu bar, select
          Keychain Access ▹ Preferences... ▹ First Aid
There are four checkboxes in the window that opens. Check all of them. if they're not already checked. Close the window.
Select
          Keychain Access ▹ Keychain First Aid
from the menu bar and repair the keychain. Quit Keychain Access.
If you use iCloud Keychain, open the iCloud preference pane and uncheck the Keychain box. You'll be prompted to delete the local iCloud keychain. Confirm. Then re-check the box. Follow one of the procedures described in this support article to set up iCloud Keychain on an additional device.

Similar Messages

  • Help needed for sending email

    Hi,
    I need to send one mail to sales order representative. I have mail Id.
    I am using FM "SO_NEW_DOCUMENT_SEND_API1".
    In email in subject line I need to write 'Sales order' & in body I need to write "Sales order created'.
    Anybody will suggest me in which parameters I need to pass the above mentioned value so that I can get appropriate mail??

    HI NEHA,
    Here is the sample one.
    *Internal table to get vendor name and address number
      DATA : BEGIN OF it_vname OCCURS 0,
             name1 LIKE lfa1-name1,
             adrnr LIKE lfa1-adrnr,
             END OF it_vname.
    *Internal table to get email_if with address number
      DATA : BEGIN OF it_vemail OCCURS 0,
             email LIKE adr6-smtp_addr,
             END OF it_vemail.
    *Emiail subject
      DATA : psubject(40) TYPE c .
    *Data declaration for mail FM
      DATA:   it_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
              it_contents LIKE solisti1 OCCURS 0 WITH HEADER LINE,
              it_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
              it_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE,
              gd_cnt TYPE i,
              gd_sent_all(1) TYPE c,
              gd_doc_data LIKE sodocchgi1,
              gd_error TYPE sy-subrc.
    *Internal table for message body
      DATA:   it_message TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
                      WITH HEADER LINE,
              it_messagewa LIKE LINE OF it_message        .
      <b>psubject = 'PO Regarding'.</b> 
    *Accessing name and address number of a vendor
      SELECT SINGLE name1 adrnr FROM lfa1 INTO it_vname WHERE lifnr EQ i_ekko-lifnr.
    *Accessing mail id of a vendor
      SELECT SINGLE smtp_addr FROM adr6 INTO it_vemail WHERE addrnumber EQ it_vname-adrnr.
    * Mail Text
        CLEAR it_message.
        REFRESH it_message.
      <b>CONCATENATE 'Dear' it_vname-name1 ',' INTO it_messagewa SEPARATED BY space.
      APPEND  it_messagewa TO it_message.
      APPEND 'Please issue the items for the following PO Number .' TO it_message.
      CLEAR it_messagewa.
      CONCATENATE 'PO NUmber : ' i_ekko-ebeln  INTO it_messagewa</b> SEPARATED BY space.
      APPEND it_messagewa TO it_message.
      APPEND 'you can view it at www' TO it_message.  APPEND 'Regards,' TO it_message.
      APPEND 'TEST.' TO it_message.
    * Fill the document data.
      gd_doc_data-doc_size = 1.
    * Populate the subject/generic message attributes
      gd_doc_data-obj_langu = sy-langu.
      gd_doc_data-obj_name  = 'SAPRPT'.
      gd_doc_data-obj_descr = psubject.
      gd_doc_data-sensitivty = 'F'.
    * Describe the body of the message
      CLEAR it_packing_list.
      REFRESH it_packing_list.
      it_packing_list-transf_bin = space.
      it_packing_list-head_start = 1.
      it_packing_list-head_num = 0.
      it_packing_list-body_start = 1.
      DESCRIBE TABLE it_message LINES it_packing_list-body_num.
      it_packing_list-doc_type = 'RAW'.
      APPEND it_packing_list.
    * Add the recipients email address
      CLEAR it_receivers.
      REFRESH it_receivers.
      it_receivers-receiver = it_vemail-email.
      it_receivers-rec_type = 'U'.
      it_receivers-com_type = 'INT'.
      it_receivers-notif_del = 'X'.
      it_receivers-notif_ndel = 'X'.
      APPEND it_receivers.
    * Call the FM to post the message to SAPMAIL
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data                    = gd_doc_data
          put_in_outbox                    = 'X'
          commit_work                      = 'X'
       IMPORTING
         sent_to_all                      = gd_sent_all
    *   NEW_OBJECT_ID                    =
        TABLES
          packing_list                     = it_packing_list
    *   OBJECT_HEADER                    =
    *   CONTENTS_BIN                     =
          contents_txt                     = it_message
    *   CONTENTS_HEX                     =
    *   OBJECT_PARA                      =
    *   OBJECT_PARB                      =
          receivers                        = it_receivers
       EXCEPTIONS
         too_many_receivers               = 1
         document_not_sent                = 2
         document_type_not_exist          = 3
         operation_no_authorization       = 4
         parameter_error                  = 5
         x_error                          = 6
         enqueue_error                    = 7
         OTHERS                           = 8
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    * Store function module return code
      gd_error = sy-subrc.
    * Get it_receivers return code
      LOOP AT it_receivers.
      ENDLOOP.
    ENDIF.
    Regards,
    Madhu.

  • Are socket needed to send emails?????

    hi guys,
    lets say i need to send an email notification everytime i finish doing a cetain task....do i need to create and use a socket to send these emails????
    thanks in advance for any help...
    lost and blur.
    Below are the codes to send email:
    (So are socket needed???)
    public void execute(String mailto, String mailcc, String mailsub, String mailbody){
    //session object inside the catch block also(in case of DCOException).
    DCOSession ds = null;
    try{
    ds = new DCOSession(); // Create new DCOSession object
    ds.login("erstest02"); // Log in as current Notes client user
    DCOMail dm = new DCOMail(); // Create new DCOMail object
    dm.setDcoSession(ds);// Pass DCOSession to mail
    //dm.setDebug(true);
    dm.setSendTo(mailto);
    dm.setCopyTo(mailcc);
    //dm.setBlindCopyTo();
    dm.setSubject(mailsub);
    dm.setBody(mailbody);
    //System.out.println("before mail sent");
    dm.send(); // Send the mail
    ds.logout(); // Log out of the session
    System.out.println("mail sent to "+mailto);
    }catch(DCOException e1){
    e1.printStackTrace();
    try{
    if(ds!=null){
    ds.logout(); //Log out of session even if exception is thrown
    }catch(Exception ee1){
    System.out.println("Exception thrown while trying to logout of session");
    ee1.printStackTrace();
    }catch(Exception e){
    e.printStackTrace();
    try{
    if(ds!=null){
    ds.logout(); //Log out of session even if exception is thrown
    }catch(Exception ee2){
    System.out.println("Exception thrown while trying to logout of session");
    ee2.printStackTrace();
    }

    lets say i need to send an email notification
    everytime i finish doing a cetain task....do i need
    to create and use a socket to send these emails????Yes, sockets are needed to send emails. However, you don't need to deal with them yourself. You can use the JavaMail API. It will hide those low level details from you and let you deal with concepts that are related to sending emails--addresses, contents, servers, etc.
    http://java.sun.com/developer/onlineTraining/JavaMail/

  • Function module for sending email

    Hi all,
    Can I know list of function modules for sending emails.
    Other than "SO_DOCUMENT_SEND_API1"
    pls let me know

    Hi Praveen,
    Below is the sample code to send the external mail.
    &**********Reward Points if helpful**********&
    DATA: ld_mtitle LIKE sodocchgi1-obj_descr,
            ld_format TYPE  so_obj_tp ,
            ld_attdescription TYPE  so_obj_nam ,
            ld_attfilename TYPE  so_obj_des .
           ld_receiver LIKE  sy-subrc.
      DATA:   it_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
              it_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE,
              it_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
              w_cnt TYPE i,
              w_sent_all(1) TYPE c,                             "#EC NEEDED
              w_doc_data LIKE sodocchgi1.
      REFRESH it_receivers . CLEAR it_receivers .
      IF v_trip_send = 'X'.
        it_receivers-receiver = it_trip_dload-approver_email .
      ELSE .
        it_receivers-receiver = it_adv_dload-approver_email .
      ENDIF.
      it_receivers-rec_type = c_u .
      APPEND it_receivers. CLEAR it_receivers.
    it_receivers-receiver = " ------> pass your reciever email id.
      IF v_trip_send = 'X' .
        it_receivers-receiver = it_trip_dload-requester_email .
      ELSE .
        it_receivers-receiver = it_adv_dload-requester_email .
      ENDIF .
      it_receivers-rec_type = c_u .
      it_receivers-copy     = 'X' .
      APPEND it_receivers. CLEAR it_receivers.
      ld_mtitle = p_mtitle.
      ld_format              = p_format.
      ld_attdescription      = p_attdescription.
      ld_attfilename         = p_filename.
    Fill the document data.
      w_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
      w_doc_data-obj_langu = sy-langu.
      w_doc_data-obj_name  = c_saprpt.
      w_doc_data-obj_descr = ld_mtitle .
      w_doc_data-sensitivty = 'F'.
    Fill the document data and get size of attachment
      CLEAR w_doc_data.
      READ TABLE it_attach INDEX w_cnt.
      w_doc_data-doc_size =
         ( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
      w_doc_data-obj_langu  = sy-langu.
      w_doc_data-obj_name   = c_saprpt.
      w_doc_data-obj_descr  = ld_mtitle.
      w_doc_data-sensitivty = c_f.
      CLEAR it_attachment.
      REFRESH it_attachment.
      it_attachment[] = it_attach[].
    Describe the body of the message
      CLEAR it_packing_list.
      REFRESH it_packing_list.
      it_packing_list-transf_bin = space.
      it_packing_list-head_start = 1.
      it_packing_list-head_num = 0.
      it_packing_list-body_start = 1.
      DESCRIBE TABLE it_message LINES it_packing_list-body_num.
      it_packing_list-doc_type = c_raw.
      APPEND it_packing_list.
    Create attachment notification
      it_packing_list-transf_bin = c_x.
      it_packing_list-head_start = 1.
      it_packing_list-head_num   = 1.
      it_packing_list-body_start = 1.
      DESCRIBE TABLE it_attachment LINES it_packing_list-body_num.
      it_packing_list-doc_type   =  ld_format.
      it_packing_list-obj_descr  =  ld_attdescription.
      it_packing_list-obj_name   =  ld_attfilename.
      it_packing_list-doc_size   =  it_packing_list-body_num * 255.
      APPEND it_packing_list.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
        EXPORTING
          document_data = w_doc_data
          put_in_outbox = c_x
          commit_work   = c_x
        IMPORTING
          sent_to_all   = w_sent_all
        TABLES
          packing_list  = it_packing_list
          contents_bin  = it_attachment
          contents_txt  = it_message
          receivers     = it_receivers.

  • ABAP program for sending emails

    Hello SAP developers,
    I need ABAP program for sending emails to my internet adress in background - just some simple header with no body and no attachement. Recipient should be specified due the parameter etc... Does program like this exist or i have to create it? I am not familiar with ABAP. I am basis admin so I am little bit lost in this. I have tried program code from this page ->
    http://www.sapdevelopment.co.uk/reporting/email/email_mbody.htm
    But anyway it does not work - there is an exception "no message send". SCOT is configured, mails are working fine from transaction SBWP.
    Thanks in advace
    JM

    I have already solved my issue through CCMS agents and RZ20 central autoreaction (sms) in Solution Manager.
    Regards
    JM

  • SAPCONNECT guide for sending Emails from BW System to Individual Email IDs

    Hello Everybody,
    If somebody can send me a pdf guide for SAPCONNECT inorder to configure Information Broadcasting in SAP BW for sending Emails to user's mail Id from BW system i will reward points to the helper for same if the help found useful as iam struggling for a pdf guide since long but couldnot find one ,not even over google,i dont need help site links ,i have tried them already ,they dont lay the exact procedure ,but a pdf guide ,my email id is [email protected] .
    Regards,
    Saumya

    Hello Vikash,
    Plz check i have rewarded you points for this forum under very helpful answers.Kindly now plz help me with this matter:
    I got ur document ,it was very helpful.Actually though i have already done most of these steps but i did all these steps all over again.Have u already made configuration for BW Information Broadcasting on your side because although i have done all these steps but wt happens is that the mails get collected in the SOST transaction and iam still not able to send mails and the error displayed is as :
    Message cannot be transferred to node SMTP due to Connection Error .
    Kindly please revert back to this error at earliest.
    Regards,
    saumya

  • Need to send email with content of total sales

    Hi experts,
    I have configure notification mailer and have received also test email. Usually I may receive oracle alerts in my email address.
    I need two solutions or need to build below mention point.
    1) need to send email total daily sale ?
    2) need to setup oracle alerts ?
    I am waiting your kind response or refer solid documents to fulfil my requirements
    Thanks

    You can configure an alert that fires every day at about 1:00 am.
    The alert can query oe_order_lines_all table for all orders lines that were created in booked status on the prior day.
    Then you can format the alert to include the total amount.
    You can group by sales person or by warehouse.
    If you want to group the sales by item numbers, the email may become long depending on the number of items you sell every day.
    See http://docs.oracle.com/cd/A60725_05/html/comnls/us/alr/summary.htm for a great example on how to send a summary alert.
    Hope this helps,
    Sandeep Gandhi

  • Settings on Microsoft Exchange Server  for sending Email from BW to emailid

    Hello Everybody,
    I wanted to know that for sending Email from SAP System (that is via Information broadcasting feature of BW )to Email IDS of individuals do we need to make any configurations on Exchange Server as well or some RFC between Microsoft Exchange Server and BW .I have made all settings for SMTP through SCOT transaction but still not able to send mails.From our Exchange Server,the connector is removed ,do we need to reconnect it for this purpose.kindly please tell me wt all configurations do i need to make on Mail server for sending Emails as iam not able to do the same now.If somebody can send a PDF/Word document in support for the same on my email Id [email protected] ,i shall be highly obliged.Your help shall be appreciated ,kindly revert at earliest.
    Regards,
    saumya

    Hi Somya,
    Looks like you are deep into Information Broadcasting. I am sure you must have seen this, still sharing with you -
    SAP Notes -
    875136 - Node ID is missing in the status message for RFC connection
    455140 - Configuration E-mail, fax, paging/SMS via SMTP 
    regards
    Vikash

  • Using MTA SDK for sending emails

    Hi,
    After taking a look to the MTA SDK documentation I still have a key question.
    My program needs to send emails to an existent SMTP server - Sun Messaging Server - running in a different box. Can I use MTA to send those emails? I read in several places "Callable Send" can be used only for sending messages from local host, so I'm not sure in my case it can be done.
    If it's possible, I'd appreciate any sample of how to do it.
    Thanks in advance,
    Jorge Ortiz Claver

    Yeah, I know I need to send the message connecting to Sun MTA but I don't know how. Actually, I know I can use a SMTP client but I'd need to use a third-party library (or build it by my own). I can't use mailx or sendmail from my application. I wouldn't have much control over its execution and each mail submit would mean a context change in my application. I need some kind of API for doing it programatically.
    My question is: what is the MTA SDK for? I know I can send/receive messages but I can't understand why I can't do it from remote. As far as I can understand, it seems like MTA SDK works directly with the same local resources Sun MTA server is using, right?
    Thanks again,
    Jorge

  • How to create a BO for sending emails

    Hi All,
               I want to create a Business Object which should have an event for sending emails.
              Please guide me on this.
    Thanks in Advance,
    Saket.

    Hi Raj,
    See i will explain why i want it.In the link it's done as below:
      IF ZCUST_INFO-COUNTRY = 'IN'.
        DATA: W_OBJTYPE TYPE SWETYPECOU-OBJTYPE,
              W_OBJKEY  TYPE SWEINSTCOU-OBJKEY,
              W_EVENT   TYPE SWETYPECOU-EVENT.
        W_OBJTYPE = 'YH355_BO'.
        W_OBJKEY  = ZCUST_INFO-CUSTNO.
        W_EVENT   = 'SENDEMAIL'.
        CALL FUNCTION 'SWE_EVENT_CREATE'
          EXPORTING
            objtype                       = W_OBJTYPE
            objkey                        = W_OBJKEY
            event                         = W_EVENT
        COMMIT WORK.
      ENDIF.
    But here w_objtype is a custom BO and also w_event  = 'SENDEMAIL'  .This event too
    is a custom event.
    Now i want to know what code is there in this custom BO because it is this BO which triggers the email through  SENDEMAIL event.
    Hope i am clear here.
    waiting for your reply.

  • Setting default account for sending email

    I have 4 accounts I use for sending email, but would like to have one be the default and can't figure how to do that. there is a check box next to the outgoing server dropdown that says use only this account. I don't think that is what I want, nor am i clear what that would do.
    Is there a way to set a preferred outgoing account?
    Does that require a plug in or helper app of some sort.
    thanks for any suggestions.

    In Mail>Preferences>Composing:
    Use Send new messages from: to select an account.

  • Servlet for sending email error

    i working for send email using servlet and html. when i run i got this error..
    what cause this problem.
    please someone help me. urgent!!!
    thank you in advance
    servlet error........
    ENCOUNTERED EXCEPTION: java.lang.ArrayIndexOutOfBoundsException
    java.lang.ArrayIndexOutOfBoundsException
         at EmailSMSServlet.doPost(EmailSMSServlet.java:123)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at filters.ExampleFilter.doFilter(ExampleFilter.java:149)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
         at java.lang.Thread.run(Thread.java:536)

    here is my code...actually my program send email from SMS. i parser SMS to email format. My SMS part is working but when i combine it,i got error as above. I tried run without servlet (using command prompt) it working properly and i can send email.
    public class EmailSMSServlet extends HttpServlet
    CService srv;
    int status;
    LinkedList msgList;
         public void init(ServletConfig config) throws ServletException      {
         super.init(config);
         srv = new CService("com4", 9600);
         msgList = new LinkedList();
         srv.initialize();
         srv.setCacheDir(".\\");
    public void doPost(HttpServletRequest request,HttpServletResponse response) throws IOException, ServletException
         PrintWriter writer = response.getWriter();
    response.setContentType("text/html");
    writer.println("<html>");
    writer.println("<head>");
    writer.println("<title>SMS TO EMAIL</title>");
    writer.println("</head>");
    writer.println("<body bgcolor=\"blue\">");
         writer.println("test");
              try
              status = srv.connect();
                   if (status == CService.ERR_OK)
                   srv.setOperationMode(CService.MODE_PDU);
    if(srv.readMessages(msgList,CIncomingMessage.CLASS_ALL)==CService.ERR_OK)
              for (int i = 0; i < msgList.size(); i ++)
              CIncomingMessage msg =(CIncomingMessage)msgList.get(i);
              String s=msg.getText();
              String from1=msg.getOriginator()+"@mysite.bla.bla";
              writer.println(s);
              writer.println("<p>");
              writer.println(from1);
              writer.println("<p>");
    // parser sms to email ...
    String delim = "#";
    StringTokenizer st= new StringTokenizer(s,delim);
    String str[] = new String[st.countTokens()];     
    int j=0;
    while (st.hasMoreTokens())
         str[j++] = st.nextToken();
         writer.println("<p>");
         writer.println("Kepada:");
         writer.println(str[0]);
         for(int k = 0; k < str.length; k++)
    writer.println(str[k]);
    // Send mail using javamail.....
    Properties props=new Properties();
    props.put("mail.transport.default",blah");
    props.put("mail.smtp.host","blah");
    try{
    Properties props=new Properties();
    props.put("mail.transport.default","smtp");
    props.put("mail.smtp.host","host");
    Session mailSession=Session.getInstance(props,null);
    Message mssg=new MimeMessage(mailSession);
    mssg.setSubject(str[1]);
    mssg.setContent(str[2],"text/plain");
    Address to =new InternetAddress(str[0]);
    mssg.setRecipient(Message.RecipientType.TO,to);
    Address from=new InternetAddress(from1);
    mssg.setFrom(from);
    Transport.send(mssg);
         writer.println("Succes");
    } catch (Throwable t) {
    writer.println("<font color=\"red\">");
    writer.println("ENCOUNTERED EXCEPTION: " + t);
    writer.println("<pre>");
    t.printStackTrace(writer);
    writer.println("</pre>");
    writer.println("</font>");
         srv.disconnect();
         else
         writer.println("Connection to mobile failed, error: " + status);
         catch (Exception e)
              e.printStackTrace();
         writer.println("<br><br>");
    writer.println("</body>");
    writer.println("</html>");
    thanks

  • Components required for sending Email from SAP [Kernel Release 46D]?

    Hi All,
    Can somebody please tell me the components and the Configuration settings required for sending Emails from SAP system[Kernel Release 46D] to the mail server[Win NT] using SMTP.
    From note 455127, I understood that "Sap Internet Mail Gateway" is required and there are other settings to be done. (SAPconnect with RFC can only be used as the Kernel version is 46D)
    It will be great if somebody can explain me in simple steps if He/She has done this before.
    Thanks,
    Varun

    Varun,
    sendmail comes with UNIX OS, there are versions of sendmail programs available for Windows too, but i guess you have to purchase them.
    Another alternative is a discontinued product called SAP Exchange connector, if you have a Windows environment and MS Exchange server as your mail server, you could use a SAP exchange connector and get your SAP Email config done.
    Regards,
    Siddhesh

  • An advanced solution for sending email from Solution Manager (or CRM)

    Hi all,
    did anyone use blog "An advanced solution for sending email from Solution Manager (or CRM)"
    <a href="/people/emmanuele.prudenzano/blog/2006/08/03/an-advanced-solution-for-sending-email-from-solution-manager-or-crm:///people/emmanuele.prudenzano/blog/2006/08/03/an-advanced-solution-for-sending-email-from-solution-manager-or-crm
    I´ve got some problems:
    I tried to implement your solution in our SAP system. I´m new to ABAP and so it´s a little bit try and error for me.
    I´ve got some errors:
    In method EXEC_SMART_FORM_WITH_TEXT (from note 935670) :
    - method string_to_soli does not exist. There is a method xstring_to_solix.
    When I change to method xstring_to_solix
    - "L_STRING" is not type-compatibly to "IP_XSTRING".
    In method ZSM_ATTACH_PHIO_DOCU:
    - field DOCUMENT is unknown
    Regadrs
    Andy

    Hi all,
    did anyone use blog "An advanced solution for sending email from Solution Manager (or CRM)"
    <a href="/people/emmanuele.prudenzano/blog/2006/08/03/an-advanced-solution-for-sending-email-from-solution-manager-or-crm:///people/emmanuele.prudenzano/blog/2006/08/03/an-advanced-solution-for-sending-email-from-solution-manager-or-crm
    I´ve got some problems:
    I tried to implement your solution in our SAP system. I´m new to ABAP and so it´s a little bit try and error for me.
    I´ve got some errors:
    In method EXEC_SMART_FORM_WITH_TEXT (from note 935670) :
    - method string_to_soli does not exist. There is a method xstring_to_solix.
    When I change to method xstring_to_solix
    - "L_STRING" is not type-compatibly to "IP_XSTRING".
    In method ZSM_ATTACH_PHIO_DOCU:
    - field DOCUMENT is unknown
    Regadrs
    Andy

  • Firefox keeps asking for password when I send emails

    Firefox version 35.0. When I open Firefox and get messages, no problems. When I write an email and send, Firefox asks me for password. I am able to send/receive emails while open. If I close Firefox and open, it asks for password when I send. Months ago, I changed my login password to Netzero.com (made it more secure). Since then, I've had this annoying password request. How to satisfy the login server password for receiving/sending emails?

    Is it Firefox asking for the password, or the web site? The only time that
    FF will ask for a password is if you have the '''Master Password''' active
    in the '''Password Manager.'''
    Open the '''Password Manager.''' There is a search bar at the top of the
    page. Enter the name of the site. Press the button '''Show Passwords.'''
    Is the information correct? '''Note:''' there may be more then one entry.
    '''Left''' click the icon in the address bar. A window for displaying site information should come up. Select '''More Information.''' At the top of the window, select '''Security.''' Now select '''View Saved Passwords.'''

Maybe you are looking for

  • Firefox crashes as soon as I start it; every single time

    Windows 7 - 64 bit i7 with 12 gb ram older version worked fine (cannot remember what version) was told by FF to upgrade - am now on version 24 and will not start at all; just instant crash report uninstalled and re-installed; no help I do not like Ex

  • Using of xml as target in transforms

    Hi all, I am new to BODS and still exploring its features. I am looking into the finance rapid marts and found in few fact table that xml is used as a target. I am not sure what is the reason of using xml as target, how does it helps in improving any

  • Clearing device cache regularly with Patch

    Hello, I come from comment on this thread: http://forums.novell.com/novell-prod...ml#post2070411 It is related to clear the cache on devices regulary, using "Cache orphaning threshold" parameter. It seems that a cache item only becomes "orphaned" whe

  • Dual paring problem in BH-221

    i tested Yesterday Nokia bh-221 but that dual pair but calling facility is one device .but music is dual device(one by one)

  • Serializing large objects

    Dear All, I am trying to serialize a HashMap containing Strings as keys and and ArrayLists as values. This works fine when the number of entries is small, but does not work when the number of entries are really large, in which case an java.lang.OutOf