Send mails to applicants from Recruitment

Hi,
Cleint wants to send mails to the applicant thru SAP regarding the planned
activities like Final interview date, medical to be done etc. Where should we configure.  AND
They want to know, for which position against the applicant has selected. Is there any standard report in sap.
Thanks in advance.
Sam

Check the Business Object that is relevant to you
ADDRESS    Address for sending documents
ADDRESSEMP Employee Address
BUS4001    Addresses of companies and organizations
BUS4002    Address of natural oerson
BUS4003    Address of "Person in company"
After selecting the Business object check which event is getting triggered when you change address. If no event getting triggered try toi configure in SWEHR3
You can take reference of the following Wflow Template
01000015
01000080
You can just use SAP User Id in mail if email address is maintained in SU01d.
<b>Reward points if useful and close thread if resolved</b>

Similar Messages

  • Getting "Error in sieve filter" message with each incoming mail and cannot recieve or send mail to or from iCloud account apart from Apple emails!! Please help!

    Since approx 7am GMT I've been getting "Error in sieve filter" message with each incoming mail, worse though, since about 12 noon I cannot recieve or send mail to or from my iCloud account apart from I've been getting  emails from Apple (ie I've just received a welcome one from Apple Support Communities...)!! I've had this account for years, never had a problem - it can't be the OSX Mail server because the problem is the same when I log directly into iCloud. I've tried sending emails from my Hotmail account to my iCloud account (a .mac) and just get undeliverable messages back. I'm really in the s**t now at work. : (  I just set up a Smart TV yesterday with a wireless dongle - that's the only thing I've done out of the ordinary. I've spoken to Sky who are my ISP and they say all's fine with them (although the router kept kicking my off the internet this morning which was strange...). Router seems fine now though.  I'm really hoping someone here can help!!
    Many thanks!!

    Do you think once Apple sort this out I'll get my missing emails back?

  • Unable to send mails to outlook from sap system through workflow

    Hi ,
    Iam unable to send mails to outlook from sap system through work flow .Actually we r able to send mails from sap inbox to outlook successfully.But when trying with workflow we r not able to send.Please guide me that is  there any configurations required from BASIS side for work flow.Actually we configured everything like default domain .
    Please find the errors belows that  traced from sost t code
    02/13/2012     17:50:12     0380 MIME_MESSAGE_GENERATE     G     Error when generating MIME flow
    02/13/2012     17:50:12     0382 MIME_MESSAGE_GENERATE     G     Required 'From' header is initial
    02/13/2012     17:50:12     0167 SO_OBJECT_MIME_GET     G     Error during MIME Generation
    02/13/2012     17:50:12     0777 UPDATE_SOSC     G     Cannot process message in SAP System
    Regards
    RAGHAVENADAR

    Hello,
    Actually i checked the mail ID for WF-BATCH  using su01 .But i didnt find any mail ID for WF-BATCH then i added the email address of the user.Then we tried sending mail it was successfull.
    But later i removed the email address what i entered in WF-BATCH user .Even after removing the email address also iam able to send the mails through workflow.
    So iam confused whether it needs an mail address or not.But now we are able to send a mail to outlook through work flow but not able to send mails to GMAILor yahoo.For that we need to do any settings.
    ABAPer is sending mails through work flow.
    Regards
    RAGHAVENDAR M

  • Can i send mail to yahoo from work flow

    can i send mail to yahoo from work flow  if it is possible how do i do that ? is this program enough if yes how do i do that ? do i need to write or change any coding

    Hi Neo ,
    You can use Function module  'SO_OBJECT_SEND' from your BO Method.
      For this Function module to work Email configuration should be done for 
      external  addresses..Please check with your Basis team for necessary config.
    Thank you
    Srinivas

  • Send mail with attachment from webdynpro application

    hi,
    From a webdynpro application, the user will upload any files through the File upload ui element.These uploaded files has to go as an attachment in the mail which is being send to a particular ID ,when the user clicks the submit button in the form.
    can you please give me the code regarding this and help me in sending mail with attachment from a webdynpro application.
    Thanks in advance,
    shami.

    Hai,
    Properties props = System.getProperties();
           props.put("mail.smtp.host", "xx.xx.x.xx");
           Session session = Session.getDefaultInstance(props, null);
           Message msg = new MimeMessage(session);
           msg.setFrom(new InternetAddress("[email protected]"));
           msg.setRecipients(Message.RecipientType.TO,
           InternetAddress.parse("[email protected]", false));
           msg.setSubject(subject);
           msg.setText(body);
           msg.setHeader("X-Mailer", " Email");
           msg.setSentDate(new Date());
           MimeBodyPart messageBodyPart = new MimeBodyPart();
           messageBodyPart.setText("Hai , This mail Generated By the  Program");
          Multipart multipart = new MimeMultipart();
           multipart.addBodyPart(messageBodyPart);
            messageBodyPart = new MimeBodyPart();
            DataSource source = new FileDataSource("C:\nag.xls");//Here you need to give the Path of uploaded File
            messageBodyPart.setDataHandler( new DataHandler(source));
            messageBodyPart.setFileName("nag.xls");
            multipart.addBodyPart(messageBodyPart);
            // Put parts in message
            msg.setContent(multipart);
           Transport.send(msg);
    Regards,
    Naga

  • Why cant I send mail to myself from the ipad. It remains in the out box

    Why cant I send mail to myself from the ipad. It remains in the out box.
    I am using the wifi only.

    Why cant I send mail to myself from the ipad. It remains in the out box.
    I am using the wifi only.

  • Send mails to Agents from Infotype 105  External mails / SAP Inbox

    Hi,
    1) Whenever there is a change in the Address  the change has to be notified to HR Business partner (HRBP)  and Manager (MGR)
       a) The mail has to be  sent to the Extermail id.
       b) OR it has to be sent to the SAPID (Inbox)
    2) These mail ID /SAPID will be taken from the INFOTYPE PA0105, where two custom fields will carry this Mail / SAPIDs
    3) Sending mail To external mail id  is been done using the Function module in  the rule (Inside the function module i have written a program which will collect the mail id from PA0105 and send mails)
    4) Huv can i send mail to SAPINBOX from there if i  have SAPID instread of external mail IDs.
    Please help me to solve .
    Richard A

    Check the Business Object that is relevant to you
    ADDRESS    Address for sending documents
    ADDRESSEMP Employee Address
    BUS4001    Addresses of companies and organizations
    BUS4002    Address of natural oerson
    BUS4003    Address of "Person in company"
    After selecting the Business object check which event is getting triggered when you change address. If no event getting triggered try toi configure in SWEHR3
    You can take reference of the following Wflow Template
    01000015
    01000080
    You can just use SAP User Id in mail if email address is maintained in SU01d.
    <b>Reward points if useful and close thread if resolved</b>

  • Sending mail with attachment from OIM

    Hi Experts,
    We have a requirement to send mail from OIM with attachment. Could not find any relevant document how to achieve this using Notification template and NotificationService.
    Any help would be appreciated.
    Thanks in advance.

    this feature is not supported by the product. check Doc ID 1444359.1
    You can raise a SR to know about it.

  • Sending mail to outlook from workflow

    Hi All,
    I tried to send a mail to outlook from workflow by giving the email address in the step mail, but it was not working.
    i am getting the workitem in the sap inbox so tried setting the automating forward which we can forward from the sap inbox to outlook.
    Searched in SDN , but my issue was not solved..
    Could you please help me out with this issue to get the mail from workflow to outlook inbox.
    Thanks,
    Praveena

    Hi Praveena
    see the threads,similar to you
    Sending mails from SAP inbox to Outlook
    Workflow - Sending mail to Outlook
    For more inforamtion you can search a lot about sending mails to outlook in SCN
    regards
    Sachin
    Edited by: sachin sharma on Feb 27, 2009 11:44 AM

  • Sending Mail to Outlook from workflow approval

    Hi All,
    A standard workflow is trigering in when we click on FOR APPROVAL button in IMA11 (Appropriation Request in IM Module).
    I need to send send mail to OUTLOOK with workitem for approve directly from the OUTLOOK. Is it possible.
    Suppose , we have 5 approval levels.
    By standard workflow , If the 2nd person approve the request , work item is going to the 3rd person SAP Inbox.
    I also need, If the 2nd person approve the request , need to send a mail to the 1st person also.
    How can I get this?
    Plz write ur comments.
    Thanks

    Hi,
    In SBWP transaction goto setting->office settings-Automatic forwarding-create new---give mail id in forward to and select external address.
    In SWDD use send mail.
    Recipient type Organizational object
    User     Name_of_the_user
    Also from insert expression you can enter work item id.
    Also while creating above use using SU01 enter e-mail address which you have entered in forward to.

  • SEnde Mail adapter problem from txt to xml

    Hi All
    I have the following scenario - Mail->XI->RFC.
    My interface keep crashing because of mapping errors. The attachment I am receiving from 3rd party like follow:
    ENG_TYPE|INDUST_NO|COMPANY_NUMBER|SURNAME|INITIALS|NAMES|REGISTERED|MALE|EXPERIENCE|RACE|MARITAL_CODE
    V|A0359214|137871|MASSANGO|J|JOSE|2007/01/18|1|458|A|7|4|1953/01/06|SHANGAAN|STANDARD
    V|A0359214|137871|MASSANGO|J|JOSE|2007/01/18|1|458|A|7|4|1953/01/06|SHANGAAN|STANDARD
    V|A0359214|137871|MASSANGO|J|JOSE|2007/01/18|1|458|A|7|4|1953/01/06|SHANGAAN|STANDARD
    V|A0359214|137871|MASSANGO|J|JOSE|2007/01/18|1|458|A|7|4|1953/01/06|SHANGAAN|STANDARD
    This is also how the data come into XI, and then the mapping crashes, how do I change to XML for the mapping to no crash.
    I cannot seem to find anything on the module configuration to work for the Sender Mail adapter.
    Thanks
    Clinton

    Hi,
    1. You can use MessageTranformBean to convert the Text to XML.
    Please look into this article for a demo on this,
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12f891
    it talks about JMS but the messagetransformbean can be used for Mail adapters as well.
    Regards
    Bhavesh

  • Sending mail after converting from otf to pdf

    Hi all,
    i have an requirement of converting script output i.e., otf to pdf converting and i want send that account statement to the mail id which is maintatined in XD03 t.code,based on different customers differnt account statement should post ,
    please suggest me ASAP.

    use the function module
    CONVERT to pdf
    SX_OBJECT_CONVERT_OTF_PDF
    - Email the PDF data using
    SO_NEW_DOCUMENT_ATT_SEND_API1
    examples
    Option 1.
    - converting OTF data returned from CLOSE_FORM (requested in OPEN_FORM) to PDF format using SX_OBJECT_CONVERT_OTF_PDF
    - Email the PDF data using SO_NEW_DOCUMENT_ATT_SEND_API1
    Result
    >> Everything works fine except that the output cannot be sent to spool and previewed (due the request of OTF table in OPEN_FORM)
    >> The PDF attachment can be downloaded and view directly.
    Option 2.
    - converting spool to PDF format using CONVERT_OTFSPOOLJOB_2_PDF
    - Email the PDF data using
    SO_NEW_DOCUMENT_ATT_SEND_API1
    Result
    >> The output can be previewed and sent to spool. No error returned from sending mail.
    >> However, the attachment of PDF file cannot be downloaded (from SBWP Business Workspace). An error message "Database error for <GET DATA FROM KPRO>" was displayed when I try to download the PDF file
    You can try something like this
    IF SY-UCOMM = 'VIEW'.
    CLEAR ITCPO-TDGETOTF.
    ENDIF.
    ***OPEN_FORM
    *etc
    ***CLOSE_FORM
    IF NOT SY-UCOMM = 'VIEW'.
    **SEND MAIL
    ENDIF.
    example code
    REPORT ZSENDPDF NO STANDARD PAGE HEADING.
    TABLES: TST05,
    TSP01,
    NAST,
    T685B,
    USR01.
    DATA: BEGIN OF TAB_PDF OCCURS 0,
    TLINE(255).
    DATA : END OF TAB_PDF.
    DATA: BEGIN OF TAB_OTF OCCURS 0,
    TLINE(255).
    DATA : END OF TAB_OTF.
    DATA: BEGIN OF TAB_DATA_SET OCCURS 0,
    DATA_LENGTH(5),
    PRECOL(1),
    DATA_LINE(1000).
    DATA : END OF TAB_DATA_SET.
    DATA: BEGIN OF TAB_OTF_PAGE OCCURS 0.
    INCLUDE STRUCTURE ITCOO.
    DATA: END OF TAB_OTF_PAGE.
    DATA : BEGIN OF TAB_OTF_PAGE_INDEX OCCURS 0,
    LINE_NUM TYPE P.
    DATA : END OF TAB_OTF_PAGE_INDEX.
    DATA: BEGIN OF TAB_DATA_SET_LINE,
    DATA_LENGTH(5),
    PRECOL(1),
    DATA_LINE(1000).
    DATA : END OF TAB_DATA_SET_LINE.
    DATA : BEGIN OF TAB_TSP01 OCCURS 0,
    RQIDENT LIKE TSP01-RQIDENT,
    RQCOPIES LIKE TSP01-RQCOPIES.
    DATA : END OF TAB_TSP01.
    DATA :
    LEN_OUT LIKE SOOD-OBJLEN,
    LEN_IN LIKE SOOD-OBJLEN,
    OTF_PAGES TYPE P,
    *otf_max_pages type p value 100,
    OTF_MAX_PAGES TYPE P VALUE 1000,
    DATA_SET_LINECOUNT TYPE P,
    *data_set_max_lines type p value 1000000,
    DATA_SET_MAX_LINES TYPE P VALUE 100000,
    DATA_SET_IS_OTF TYPE C VALUE ' ',
    DATA_SET_LENGTH(5) TYPE C,
    DSN_TYPE( TYPE C,
    RC(10) TYPE C,
    ERRMSG(100) TYPE C,
    LINE_MAX TYPE P VALUE '100000',
    STATUS LIKE SY-SUBRC,
    H_PATH(20) TYPE C,
    H_MASK(20) TYPE C VALUE ',.pdf ,.pdf. ',
    FILE_NAME(20),
    FILENAME LIKE RLGRAP-FILENAME,
    C_PAGE_BREAK TYPE I,
    K_PAGE_BREAK TYPE I.
    PARAMETER : P_RQID(5) TYPE C.
    START-OF-SELECTION.
    END-OF-SELECTION.
    PERFORM GET_TAB_OTF.
    CLEAR K_PAGE_BREAK.
    LOOP AT TAB_OTF_PAGE WHERE TDPRINTCOM = 'EP'.
    ADD 1 TO K_PAGE_BREAK.
    ENDLOOP.
    CLEAR C_PAGE_BREAK.
    LOOP AT TAB_OTF_PAGE.
    IF TAB_OTF_PAGE-TDPRINTCOM EQ 'EP'.
    ADD 1 TO C_PAGE_BREAK.
    IF C_PAGE_BREAK GE 3 AND C_PAGE_BREAK LT K_PAGE_BREAK.
    TAB_OTF-TLINE = 'EP'.
    APPEND TAB_OTF.
    ENDIF.
    ENDIF.
    TAB_OTF-TLINE = TAB_OTF_PAGE.
    APPEND TAB_OTF.
    ENDLOOP.
    CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'
    EXPORTING
    FORMAT_SRC = 'OTF'
    FORMAT_DST = 'PDF'
    DEVTYPE = 'ASCIIPRI'
    LEN_IN = LEN_IN
    IMPORTING
    LEN_OUT = LEN_OUT
    TABLES
    CONTENT_IN = TAB_OTF
    CONTENT_OUT = TAB_PDF
    EXCEPTIONS
    ERR_CONV_FAILED = 1
    OTHERS = 2.
    PERFORM GET_PATH USING 'PDF_FILE'.
    CALL FUNCTION 'WS_DOWNLOAD'
    EXPORTING
    FILENAME = FILENAME
    FILETYPE = 'BIN'
    BIN_FILESIZE = LEN_OUT
    TABLES
    DATA_TAB = TAB_PDF
    EXCEPTIONS
    FILE_OPEN_ERROR = 1
    FILE_WRITE_ERROR = 2
    INVALID_FILESIZE = 3
    INVALID_TABLE_WIDTH = 4
    INVALID_TYPE = 5
    NO_BATCH = 6
    UNKNOWN_ERROR = 7
    OTHERS = 8.
    *& Form GET_tab_otf
    FORM GET_TAB_OTF.
    DATA: PART(4) VALUE '0001',
    BEGIN OF MSG,
    A(40),
    B(40),
    C(40),
    END OF MSG.
    REFRESH TAB_DATA_SET.
    DATA_SET_LINECOUNT = 0.
    DATA_SET_IS_OTF = ' '.
    OTF_PAGES = 0.
    REFRESH TAB_OTF_PAGE_INDEX.
    CALL 'RSPOACSD'.
    SELECT * FROM TST05 WHERE DTHREAD = 'X'.
    CALL 'RSPOAOSD'
    ID 'ID' FIELD P_RQID
    ID 'TYPE' FIELD TST05-DTYPE
    ID 'RECTYP' FIELD 'VYL----'
    ID 'RC' FIELD RC
    ID 'ERRMSG' FIELD ERRMSG.
    STATUS = SY-SUBRC.
    IF STATUS = 0.
    DSN_TYPE = TST05-DTYPE.
    IF DSN_TYPE(3) = 'OTF'.
    DATA_SET_IS_OTF = 'X'.
    ENDIF.
    ENDIF.
    IF STATUS <> 24. EXIT. ENDIF.
    ENDSELECT.
    DATA_SET_MAX_LINES = ( LINE_MAX * '1.1' ) + 100.
    DO.
    CLEAR: TAB_DATA_SET_LINE, DATA_SET_LENGTH.
    CALL 'RSPOARSD'
    ID 'BUFF' FIELD TAB_DATA_SET_LINE+5
    ID 'DATALEN' FIELD DATA_SET_LENGTH
    ID 'RC' FIELD RC
    ID 'ERRMSG' FIELD ERRMSG.
    STATUS = SY-SUBRC.
    IF STATUS = 36.
    WHILE STATUS = 36.
    CALL 'RSPOACSD'
    ID 'RC' FIELD RC
    ID 'ERRMSG' FIELD ERRMSG.
    ADD 1 TO PART.
    IF DATA_SET_IS_OTF = ' '.
    CALL 'RSPOAOSD'
    ID 'ID' FIELD P_RQID
    ID 'TYPE' FIELD DSN_TYPE
    ID 'PART' FIELD PART
    ID 'RECTYP' FIELD 'VYL----'
    ID 'RC' FIELD RC
    ID 'ERRMSG' FIELD ERRMSG.
    ELSE.
    CALL 'RSPOAOSD'
    ID 'ID' FIELD P_RQID
    ID 'PART' FIELD PART
    ID 'TYPE' FIELD DSN_TYPE
    ID 'RECTYP' FIELD 'VYL----'
    ID 'RC' FIELD RC
    ID 'ERRMSG' FIELD ERRMSG.
    ENDIF.
    IF SY-SUBRC NE 0. EXIT. ENDIF.
    CLEAR: TAB_DATA_SET_LINE, DATA_SET_LENGTH.
    CALL 'RSPOARSD'
    ID 'BUFF' FIELD TAB_DATA_SET_LINE+5
    ID 'DATALEN' FIELD DATA_SET_LENGTH
    ID 'RC' FIELD RC
    ID 'ERRMSG' FIELD ERRMSG.
    STATUS = SY-SUBRC.
    ENDWHILE.
    ENDIF.
    IF STATUS <> 0 AND STATUS <> 40. EXIT. ENDIF.
    TAB_DATA_SET = TAB_DATA_SET_LINE.
    IF NOT ( DATA_SET_LENGTH IS INITIAL ).
    TAB_DATA_SET-DATA_LENGTH = DATA_SET_LENGTH - 1.
    ENDIF.
    APPEND TAB_DATA_SET.
    ADD 1 TO DATA_SET_LINECOUNT.
    IF DATA_SET_IS_OTF = ' '.
    IF DATA_SET_LINECOUNT >= DATA_SET_MAX_LINES.
    CLEAR TAB_DATA_SET.
    APPEND TAB_DATA_SET.
    MOVE '----
    ' TO TAB_DATA_SET-DATA_LINE.
    APPEND TAB_DATA_SET.
    CLEAR TAB_DATA_SET.
    APPEND TAB_DATA_SET.
    WRITE: 'Abbruch nach'(029) TO MSG-A.
    WRITE: DATA_SET_MAX_LINES TO MSG-B.
    WRITE: 'Zeilen.'(030) TO MSG-C.
    CONDENSE MSG.
    TAB_DATA_SET-DATA_LINE = MSG.
    APPEND TAB_DATA_SET.
    EXIT.
    ENDIF.
    ELSE.
    MOVE TAB_DATA_SET_LINE-DATA_LINE TO TAB_OTF_PAGE.
    APPEND TAB_OTF_PAGE.
    IF TAB_OTF_PAGE(2) = 'EP'.
    ADD 1 TO OTF_PAGES.
    IF OTF_PAGES >= OTF_MAX_PAGES.
    MESSAGE S229(PO) WITH OTF_MAX_PAGES.
    EXIT.
    ENDIF.
    ELSEIF TAB_OTF_PAGE(2) = 'OP'.
    TAB_OTF_PAGE_INDEX-LINE_NUM = DATA_SET_LINECOUNT.
    APPEND TAB_OTF_PAGE_INDEX.
    ENDIF.
    ENDIF.
    ENDDO.
    IF STATUS <> 0 AND STATUS <> 12.
    CALL 'RSPOACSD'.
    MESSAGE E112(PO) WITH STATUS RC ERRMSG.
    ENDIF.
    CALL 'RSPOACSD'.
    STATUS = SY-SUBRC.
    IF STATUS <> 0.
    MESSAGE E112(PO) WITH STATUS RC ERRMSG.
    ENDIF.
    ENDFORM.
    *& Form GET_PATH
    FORM GET_PATH USING P_FILENAME.
    CLEAR: H_PATH, FILE_NAME.
    FILE_NAME = P_FILENAME.
    CALL FUNCTION 'WS_QUERY'
    EXPORTING
    QUERY = 'CD' "// Current Directory
    IMPORTING
    RETURN = H_PATH.
    CONCATENATE FILE_NAME '.pdf' INTO FILE_NAME.
    CALL FUNCTION 'WS_FILENAME_GET'
    EXPORTING
    DEF_FILENAME = FILE_NAME
    DEF_PATH = H_PATH
    MASK = H_MASK
    MODE = 'O'
    IMPORTING
    FILENAME = FILENAME"dbname
    EXCEPTIONS
    INV_WINSYS = 1
    NO_BATCH = 2
    SELECTION_CANCEL = 3
    SELECTION_ERROR = 4
    OTHERS = 5.
    ENDFORM. " GET_PATH
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Mar 5, 2008 9:50 AM

  • RE: Can't send mail with iCloud from Mac

    OK so you have made everyone using a mobileme account switch to iCloud-  I still use the mail icon on my Macbook Pro and every now and then
    the server quits and does not allow me to send emails.  I run the server doctor and only my address gets the green light.  The smtp.me.com: my username
    is always red.  I have checked my user name and made sure my password is correct and still I m locked out of sending emails.  I have time sensitive work that I need to send it to clients and there is nothing more frustrating than having to tell a client, I can't send an email right now.  What can be done for this. 
    Here is what the details have to say:
    CONNECTED Nov 15 22:11:25.456 [kCFStreamSocketSecurityLevelNone]  -- host:smtp.me.com -- port:25 -- socket:0x7fdd620ef180 -- thread:0x7fdd6218a0e0
    CONNECTED Nov 15 22:11:25.501 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd621df3b0 -- thread:0x7fdd63276c70
    READ Nov 15 22:11:25.554 [kCFStreamSocketSecurityLevelNone]  -- host:smtp.me.com -- port:25 -- socket:0x7fdd620ef180 -- thread:0x7fdd6218a0e0
    220 asmtpout026.mac.com -- Server ESMTP (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011))
    WROTE Nov 15 22:11:25.584 [kCFStreamSocketSecurityLevelNone]  -- host:smtp.me.com -- port:25 -- socket:0x7fdd620ef180 -- thread:0x7fdd6218a0e0
    EHLO [10.0.1.4]
    READ Nov 15 22:11:25.687 [kCFStreamSocketSecurityLevelNone]  -- host:smtp.me.com -- port:25 -- socket:0x7fdd620ef180 -- thread:0x7fdd6218a0e0
    250-asmtpout026.mac.com
    250-8BITMIME
    250-PIPELINING
    250-CHUNKING
    250-DSN
    250-ENHANCEDSTATUSCODES
    250-EXPN
    250-HELP
    250-XADR
    250-XSTA
    250-XCIR
    250-XGEN
    250-XLOOP 29D2C3CB10528E4A901ADA1FF9173EF9
    250-STARTTLS
    250-AUTH PLAIN LOGIN
    250-AUTH=LOGIN PLAIN
    250-ETRN
    250-NO-SOLICITING
    250 SIZE 0
    WROTE Nov 15 22:11:25.691 [kCFStreamSocketSecurityLevelNone]  -- host:smtp.me.com -- port:25 -- socket:0x7fdd620ef180 -- thread:0x7fdd6218a0e0
    STARTTLS
    READ Nov 15 22:11:25.746 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd621df3b0 -- thread:0x7fdd63276c70
    * OK iSCREAM ready to rumble (1F4302+:16701)
    WROTE Nov 15 22:11:25.752 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd621df3b0 -- thread:0x7fdd631545b0
    1.33 CAPABILITY
    READ Nov 15 22:11:25.804 [kCFStreamSocketSecurityLevelNone]  -- host:smtp.me.com -- port:25 -- socket:0x7fdd620ef180 -- thread:0x7fdd6218a0e0
    220 2.5.0 Go ahead with TLS negotiation.
    READ Nov 15 22:11:25.825 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd621df3b0 -- thread:0x7fdd631545b0
    * CAPABILITY st11p00mm-iscream017.mac.com 1F4302+ XAPPLEPUSHSERVICE IMAP4 IMAP4rev1 SASL-IR AUTH=ATOKEN AUTH=PLAIN
    1.33 OK !!
    WROTE Nov 15 22:11:25.985 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd621df3b0 -- thread:0x7fdd631545b0
    2.33 AUTHENTICATE ATOKEN MjA0MzExOTMyADIwNDMxMTkzMgBBUUFBQUFCT3d6ZnQ0RVlrUDZ3V3c4TVZYcFQwK1NicDBIY2FvVkE 9
    WROTE Nov 15 22:11:26.196 [kCFStreamSocketSecurityLevelTLSv1SSLv3]  -- host:smtp.me.com -- port:25 -- socket:0x7fdd620ef180 -- thread:0x7fdd6218a0e0
    EHLO [10.0.1.4]
    READ Nov 15 22:11:26.302 [kCFStreamSocketSecurityLevelTLSv1SSLv3]  -- host:smtp.me.com -- port:25 -- socket:0x7fdd620ef180 -- thread:0x7fdd6218a0e0
    250-asmtpout026.mac.com
    250-8BITMIME
    250-PIPELINING
    250-CHUNKING
    250-DSN
    250-ENHANCEDSTATUSCODES
    250-EXPN
    250-HELP
    250-XADR
    250-XSTA
    250-XCIR
    250-XGEN
    250-XLOOP 29D2C3CB10528E4A901ADA1FF9173EF9
    250-AUTH PLAIN LOGIN
    250-AUTH=LOGIN PLAIN
    250-ETRN
    250-NO-SOLICITING
    250 SIZE 0
    WROTE Nov 15 22:11:26.309 [kCFStreamSocketSecurityLevelTLSv1SSLv3]  -- host:smtp.me.com -- port:25 -- socket:0x7fdd620ef180 -- thread:0x7fdd6218a0e0
    QUIT
    READ Nov 15 22:11:26.522 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd621df3b0 -- thread:0x7fdd631545b0
    2.33 OK User adnohcs logged in 335182
    WROTE Nov 15 22:11:26.529 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd621df3b0 -- thread:0x7fdd6218a0e0
    3.33 CAPABILITY
    READ Nov 15 22:11:26.697 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd621df3b0 -- thread:0x7fdd6218a0e0
    * CAPABILITY XAPPLEPUSHSERVICE IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS CHILDREN BINARY UNSELECT SORT CATENATE URLAUTH LANGUAGE ESEARCH ESORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES CONDSTORE ENABLE CONTEXT=SEARCH CONTEXT=SORT WITHIN SASL-IR SEARCHRES XSENDER X-NETSCAPE XSERVERINFO X-SUN-SORT ANNOTATE-EXPERIMENT-1 X-UNAUTHENTICATE X-SUN-IMAP X-ANNOTATEMORE XUM1 ID IDLE
    3.33 OK Completed
    WROTE Nov 15 22:11:26.706 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd621df3b0 -- thread:0x7fdd6218a0e0
    4.33 ID ("name" "Mac OS X Mail" "version" "5.1 (1251.1)" "os" "Mac OS X" "os-version" "10.7.2 (11C74)" "vendor" "Apple Inc.")
    READ Nov 15 22:11:26.912 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd621df3b0 -- thread:0x7fdd6218a0e0
    * ID NIL
    4.33 OK Completed
    WROTE Nov 15 22:11:26.920 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd621df3b0 -- thread:0x7fdd6218a0e0
    5.33 LIST "" ""
    READ Nov 15 22:11:27.093 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd621df3b0 -- thread:0x7fdd6218a0e0
    * LIST (\Noselect) "/" ""
    5.33 OK Completed
    WROTE Nov 15 22:11:27.103 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd621df3b0 -- thread:0x7fdd6218a0e0
    6.33 LOGOUT
    CONNECTED Nov 15 22:12:20.509 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd6330d8d0 -- thread:0x7fdd61f36ff0
    READ Nov 15 22:12:20.724 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd6330d8d0 -- thread:0x7fdd61f36ff0
    * OK iSCREAM ready to rumble (1F4302+:31530)
    WROTE Nov 15 22:12:20.734 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd6330d8d0 -- thread:0x7fdd623e2220
    1.34 CAPABILITY
    READ Nov 15 22:12:20.796 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd6330d8d0 -- thread:0x7fdd623e2220
    * CAPABILITY st11p00mm-iscream023.mac.com 1F4302+ XAPPLEPUSHSERVICE IMAP4 IMAP4rev1 SASL-IR AUTH=ATOKEN AUTH=PLAIN
    READ Nov 15 22:12:20.804 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd6330d8d0 -- thread:0x7fdd623e2220
    1.34 OK !!
    WROTE Nov 15 22:12:20.978 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd6330d8d0 -- thread:0x7fdd6227e390
    2.34 AUTHENTICATE ATOKEN MjA0MzExOTMyADIwNDMxMTkzMgBBUUFBQUFCT3d6ZnQ0RVlrUDZ3V3c4TVZYcFQwK1NicDBIY2FvVkE 9
    READ Nov 15 22:12:21.493 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd6330d8d0 -- thread:0x7fdd6227e390
    2.34 OK User adnohcs logged in 335037
    WROTE Nov 15 22:12:21.503 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd6330d8d0 -- thread:0x7fdd623e2220
    3.34 CAPABILITY
    READ Nov 15 22:12:21.658 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd6330d8d0 -- thread:0x7fdd623e2220
    * CAPABILITY XAPPLEPUSHSERVICE IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS CHILDREN BINARY UNSELECT SORT CATENATE URLAUTH LANGUAGE ESEARCH ESORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES CONDSTORE ENABLE CONTEXT=SEARCH CONTEXT=SORT WITHIN SASL-IR SEARCHRES XSENDER X-NETSCAPE XSERVERINFO X-SUN-SORT ANNOTATE-EXPERIMENT-1 X-UNAUTHENTICATE X-SUN-IMAP X-ANNOTATEMORE XUM1 ID IDLE
    3.34 OK Completed
    WROTE Nov 15 22:12:21.670 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd6330d8d0 -- thread:0x7fdd623b1870
    4.34 ID ("name" "Mac OS X Mail" "version" "5.1 (1251.1)" "os" "Mac OS X" "os-version" "10.7.2 (11C74)" "vendor" "Apple Inc.")
    READ Nov 15 22:12:21.815 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd6330d8d0 -- thread:0x7fdd623b1870
    * ID NIL
    4.34 OK Completed
    WROTE Nov 15 22:12:21.826 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd6330d8d0 -- thread:0x7fdd623e2220
    5.34 LIST "" ""
    READ Nov 15 22:12:22.060 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd6330d8d0 -- thread:0x7fdd623e2220
    * LIST (\Noselect) "/" ""
    5.34 OK Completed
    WROTE Nov 15 22:12:22.073 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd6330d8d0 -- thread:0x7fdd623e2220
    6.34 LOGOUT
    maybe you can figure out why I can't send any email and possibly help me to fix the problem.  I m not a fan of iCloud it has been nothing but a headache and I am tired of having to put my clients off.  I am loosing money thanks to all of this.
    Sweeney Graphics

    It's a bad idea to post your email address - it's an invitation to spam - and I've aasked the Hosts to remove it.
    The first thing to try would be to sign out in System Preferences>iCloud, then sign back in again and check 'Mail' and any other data types you need in the list. This will set Mail up, hopefully correctly.
    If you are still having problems accessing or sending mail go to http://appleid.apple.com and change your password, making sure that it complies with Apple's requirements: at least eight characters, of which at least one must be a numeral and one a capital letter.
    Note that iCloud does not interact with any other email service. You cannot use it to check other email accounts, and you cannot send using its smtp server with any address other than your @me.com one as the 'From' address.
    You should be able to set up other accounts separately in the Mail application: these would be unaffected by iCloud in any way.

  • Send mail with attachment from the uploaded file

    hi,
    From a form thread i got the following code to send mail with attachment with the file uploaded from the file upload ui element.
    public void onActionLoadFile(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionLoadFile(ServerEvent)
         WDWebResourceType FileType = null;
         String FileName = new String();
              //get attribute info for context attribute 'FileUpload'
              IWDAttributeInfo attributeInfo =
                   wdContext.getNodeInfo().getAttribute(
                        IPrivateEmailView.IContextElement.FILE_UPLOAD);
              //get modifiable binary type from the attribute info,requires type cast.
              IWDModifiableBinaryType binaryType =
                   (IWDModifiableBinaryType) attributeInfo.getModifiableSimpleType();
              IPrivateEmailView.IContextElement element =
                   wdContext.currentContextElement();
              //if a file in the 'FileResource' attribute exists
              if (element.getFileUpload() != null) {
                   try {
                        String mimeType = binaryType.getMimeType().toString();
                        byte[] file = element.getFileUpload();
                        //get the size of the uploaded file
                        element.setFileSize(this.getFileSize(file));
                        //get the extension of the uploaded file
                        element.setFileExtension(binaryType.getMimeType().getFileExtension());
                        //NOTE: context attribute 'FileName' must not be set
                        //because the FileUpload-UI-element property 'fileName'
                        //is bound to it. Consequently the fileName is automatically
                        //written to the context after file upload.
                        //report success message
                        wdComponentAPI.getMessageManager().reportMessage(
                        IMessageEmailComp.SF_UPLOAD,
                             new Object[] { binaryType.getFileName()},
                             false);
                        FileType = binaryType.getMimeType();
                        FileName = binaryType.getFileName();
                   } catch (Exception e) {
                        throw new WDRuntimeException(e);
              //if no file in the 'FileResource' attribute exists
              else {
                   //report error message
                   IWDMessageManager msgMgr = wdComponentAPI.getMessageManager();
                   msgMgr.reportContextAttributeMessage(
                        element,
                        attributeInfo,
                        IMessageEmailComp.NO_FILE,
                        new Object[] { "" },
                        true);
              //clear the FileResource context value attribute
              //element.setFileUpload(null);
              String URL;
              URL = this.CreateAndGetPathFileUpload(
                                  wdContext.currentContextElement().getFileUpload(),
                                                      FileName);
    //          if (URL.length() == 1){
    //               //ERRORE
         wdContext.currentContextElement().setPATHFileUploaded(URL);
        //@@end
      public boolean send( java.lang.String subj, java.lang.String mess, java.lang.String dest, java.lang.String attach, java.lang.String FileName )
        //@@begin send()
         InitialContext ctx = null;
         Address[] address = null;
         Message msg = null;
         Session sess = null;
         MimeBodyPart bodyPart = null;
         Multipart mp = null;
         // "141.29.193.71" == milvl2ja.icn.siemens.it (SMTP di Siemens)
           try {
              Properties props = new Properties();
              props.put("domain","true");
              ctx = new InitialContext(props);
              sess = (Session) ctx.lookup("java:comp/env/mail/MailSession");
              msg = new MimeMessage(sess);
              IWDClientUser utente = WDClientUser.getCurrentUser();
              String senderEmail = utente.getSAPUser().getEmail();
              InternetAddress addressFrom = new InternetAddress(senderEmail);
              msg.setFrom(addressFrom);     
              String EmailDEST = dest;
              InternetAddress addressTo = new InternetAddress(EmailDEST);
              msg.setRecipient(Message.RecipientType.TO, addressTo);
              msg.setSubject(subj);
    //          if ((mess != null) && (mess.length()>0)) {
    //                 msg.setContent(mess, "text/plain");
    //            } else {
    //                 msg.setContent("", "text/plain");
              //Gestione ATTACHMENT...
              String attachedFileName = new String(wdContext.currentContextElement().getFileName());
              boolean hasAttachment = (attachedFileName != null) && (attachedFileName.length() > 0);
              boolean isMultiPart = (mess != null) && (mess.length() > 1);
              //adding an attachment makes the message multipart
                 if (isMultiPart || hasAttachment) {
                    mp = new MimeMultipart();
                    // add text parts
                      if (mess != null) {
                         for (int i = 0; i < mess.length(); i++) {
                           bodyPart = new MimeBodyPart();
                           bodyPart.setContent(mess,"text/plain");
                           mp.addBodyPart(bodyPart);
                    //attach the file to the message if needed
                    if (hasAttachment) {     // avoid the case with no text parts
                         bodyPart = new MimeBodyPart();
                           bodyPart.setContent("Allegato incluso nel messaggio.","text/plain");
                           mp.addBodyPart(bodyPart);
                           // the part with the file
                           FileDataSource fds = new FileDataSource(attach);
                           MimeBodyPart attachmentBodyPart = new MimeBodyPart();
                        attachmentBodyPart.setDataHandler(new DataHandler(fds));
                        //URL URLattachedFileName = new URL(attach);
                        //attachmentBodyPart.setDataHandler(new DataHandler(URLattachedFileName));
                           attachmentBodyPart.setFileName(FileName);
                           mp.addBodyPart(attachmentBodyPart);
                    msg.setContent(mp);
                 } else {
                    if ((mess != null) && (mess.length() > 0)) {
                         msg.setContent(mess, "text/plain");
                    } else {
                         msg.setContent("", "text/plain");
              //fine ATTACHMENT 
              msg.setSentDate(new GregorianCalendar().getTime());
              msg.saveChanges();
              address = msg.getAllRecipients();
              Transport.send(msg, address);
           } catch (Exception e) {
                 e.printStackTrace();
                 return false;
           return true;
        //@@end
    When i used the same code in my application i am gett ing error in many places..
    1)FileDataSource fds = new FileDataSource(<b>attach</b>);
    attach cannot be resolved
    2)attachmentBodyPart.setFileName(<b>FileName</b>);
    fliename cannot be resolved
    3)byte[] file = element.getFileUpload();
    type mismatch cannot convert sting to byte[]
    4)element.setFileSize(this.getFileSize(file));
    method getFileSize() is undefined
    5)element.setFileExtension(binaryType.getMimeType().getFileExtension());
    method getFilExtension() is undefined
    6)URL = this.CreateAndGetPathFileUpload(wdContext.currentContextElement().getFileUpload(),FileName);
    method CreateAndGetPathFileUpload() is undefined.
    7)wdContext.currentContextElement().setPATHFileUploaded(URL);
    from the above error i can understand that only i have got the part of the code.
    Please send me the complete coding.
    some method definitions are missing....
    Please help me to send the mail with attachment from the file uploaded from the file upload ui element.
    Thanks in advance,
    shami.

    hi,
    I got this from the following link
    Re: Attaching an excel file
    plz help me ...
    I am using 2004s with nwds 7.0.06.
    also tell me what should be the type of the context variable FileUpload
    Thanks in advance,
    shami.

  • Sending mail to OUTLOOK from SAP when error encountered in MM creation

    Hi ,
    I am able to send a message to SAP inbox which i can view from SBWP. But as well i need to send mail to the OUTLOOK  .How can i send this OUTLOOK .
    I have configured the mail id in SCOT.
    Even i configured in SCOT with BASIS team i m not able to send mail to outlook.I even checked in SOST their is no entry in that .
    Is their a need for writing separate logic for sending mail to OUTLOOK as well?
    Regards,
    Ranjith ,
    +91-8431858286.

    HI  Modak,
    Please help me in getting out of this error encountered during a sample workflow thing.
    Here is the requirement I need to send a OUTLOOK mail from SAP.If the user accepts the workflow task then mail  need to send a recipient ,stating that he accepthed the request.
    Below I designed  that task.
    In send Mail step I added the recipent thing as stated below.But I was unable to send mail to OUTLOOK .In this I am not even  getting notification in my SBWP  in SAP INBOX.

Maybe you are looking for