Send a mail if no file in Sender File Adapter

Hello guys,
I have one doubt. I have a sender File adapter with FTP transfer protocol. I want to pull the file every 24 hours. If the file does not exist, there is any way to have an error and send a mail to the client?
Is a requierement to do one interface, they want that XI sends a mail if no file is encounteref in the server when XI goes to pull the file. Is this possible?
Many thanks in advance.
Regards,
Xavi.

Hi,
Refer to following link
Read Excel instead of XML through FileAdapter
This has good example of developing module. Only code is available. For further help you can look in Help.sap for crating module they also provide sample code.
No need to call alert from module . go upto 24 hars if no file is received set your own structure.
Give condition in receiver detrmination to send mail if file is not picked.
revert back for any clearity.
Thanks
Sunil Singh

Similar Messages

  • Send e-mail on successful delivery of Message (File to File Interface)

    Hey Friends,
    We are on PI 7.11. we have a simple File to File interface, we pick up a file from FTP server, do some transformation in PI and send it across to another FTP server. we have a requirement that once the file is transmitted successfully to the receiver FTP server, we should send e-mail to a business user.
    I was thinking of adding a e-mail interface in Interface Determination and checking "Maintain Order at runtime". File Interface will be the first and e-mail will be second. In this way if File interface fails, e-mail interface will not be executed.
    Will my solution work or is there any better solution to achieve my requirement.
    Appreciate your feedback.
    Thanks
    Saif

    Hi,
    Your approach looks perfect...i.e sending of mail once the file has been delivered using EOIO concept...
    Only drawback in this approach is the monitoring required for clearing of queues whenenver the error occurs...need some care for clearing of the queues...
    you can use the Messaging System EOIO Queue Monitor for knowing the blocked queues or failed queues..for monitoring..
    HTH
    Rajesh

  • How to send a mail with PDF attachment

    Hello
    Good Day!
    We have a requirement to send the mail with pdf attachment. Pdf file will be remain same for all mails and it will be placed at server. We are on R12.4 and below is the database information :
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE 11.2.0.3.0 Production
    TNS for Linux: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    Thanks a ton for your anticipated help!
    Thanks
    Gaurav

    The word URGENT is considered as rude in this forum.. Nobody here is getting paid for the ansers they are giving..
    Just have a look at These threads.Those will help you.

  • Failed to send E-mail via microsoft OutLook

    Hi All,
    Does anybody knows why this message appears when I tried to send an email via out look, using the button email on the B1 menu bar.  i have selected the user name and the email address correctly, i have ticked the option send emiail using microsoft outlook.  then the following error message appeared
    "BO2069: Failed to send e-mail via Microsoft Out look"
    the connection was established between outlook and b1 using the logon function in outlook integration addon.
    thanks
    SV Reddy

    Dear,
    If my last answer could not solve your issue, please refer to the informaiotn below:
    The reported issue occurs due to the fact that outlook can only send attachments from the Business One attachments folder.
    This issue has been fixed in 2005A SP01 PL41. Please refer to the note 1116389. As a solution we would suggest to upgrade to the latest patch level.
    Until you upgrade to latest patch of 2005A SP 01 you can use the following workaround:
    - Manually copy all attachments to the B1 attachment path before sending this mail. If you create a shortcut to your attachments folder in a convenient location (perhaps the desktop) this can be done very quickly. (Browse to your document, right click and select copy, press the Windows Key+D to go to your desktop, double
    click the shortcut, then paste into the attachments folder.)
    Alternatively, you could either:
    - Change the B1 attachment path to your attachment files path.
    or
    - Uncheck 'Send E-mail via MS Outlook', and send this message. Nowthese attachments will be copied to the Business One attachment path.
    Then send this message again, with 'Send E-mail via MS Outlook' checked.
    Further we would suggest to apply following steps:
    -upgrade your MS Office 2003 application to the current SP. (SP3)
    -verify that the sender's e-mail address defined for the sender in SAP Business One is valid.
    -Set up the correct smtp server in SBO Mailer / General Setting /Mail Settings (you should check with a "Test connection" button)
    Wish the information could solve your issue.
    Regards
    Apple

  • Error in sending external mail

    hi ..
    while sending mail using BCS objects .... i am geting error
    Internal error: SO_OBJECT_MIME_GET Exception: 2
    ....i too configured SCOT transaction wit port number 25 , mail host and also given the internet email id for mailing user....
    plz do help me ...

    This error occurs when you send a mail via the SMTP node and can have several causes:
    1. Default domain not set
    2. Default code page not set (only with multi-codepage systems)
    3. Code page not suitable for sending mail
    4. COMMIT WORK is missing (programming error)
    5. Workplace plug-in is missing
    Solution
    Activate the SAPconnect trace and resend the document if necessary. The next time the SAPconnect send job is running, search for the entries marked in red in the SAPconnect trace of the document. The applicable solutions, depending on these entries, are listed below:
    1. Default domain not set
    Trace entries:
    BCS->MIME_MESSAGE_GENERATE
    Sender Address Not Found 80
    SO_OBEJECT_MIME_GET
    No MIME Document Received. Error Code: SENDER_BCS
    SX_GENERATE_NDR
    Internal Error: SO_OBJECT_MIME_GET Exception: 0
    or
    SX_GENERATE_NDR
    Internal error: SO_OBJECT_MIME_GET Exception: 2
    or:
    BCS->MIME_MESSAGE_GENERATE
    Error during MIME Flow Generation
    BCS->MIME_MESSAGE_GENERATE
    Error During Automatic Determinaton of Default Internet Domain
    SO_OBEJECT_MIME_GET
    No MIME Document Received. Error Code: MIME_BCS
    SX_GENERATE_NDR
    Internal Error: SO_OBJECT_MIME_GET Exception: 0
    or
    SX_GENERATE_NDR
    Internal error: SO_OBJECT_MIME_GET Exception: 2
    Solution: In the SAPconnect Administration (transaction SCOT), you must set the domain of the SAP System (Settings --> Default Domain).
    2. Default code page not set (only with multi-codepage systems)
    Trace entries:
    CL_BCOM_MIME->GET_CODEPAGE
    Termination: Multi-Codepage Systems Not Supported
    SO_OBEJECT_MIME_GET
    No MIME Document Received. Error Code: MNA_DOC
    SX_GENERATE_NDR
    Internal Error: SO_OBJECT_MIME_GET Exception: 0
    or
    SX_GENERATE_NDR
    Internal error: SO_OBJECT_MIME_GET Exception: 2
    Solution: In the SAPconnect Administration (transaction SCOT), you must specify a code page on the SMTP node.
    3. Code page not suitable for sending mail
    Trace entries:
    CL_BCOM_MIME->GET_CHARSET
    Termination: Charset Cannot Be Determined for SAP Code Page
    SO_OBEJECT_MIME_GET
    No MIME Document Received. Error Code: MNA_DOC
    SX_GENERATE_NDR
    Internal Error: SO_OBJECT_MIME_GET Exception: 0
    or
    SX_GENERATE_NDR
    Internal error: SO_OBJECT_MIME_GET Exception: 2
    Solution: In the SAPconnect Administration (transaction SCOT), you must specify a code page (an entry is available in table TCP00A) that is suitable for sending mail on the SMTP node.
    4. COMMIT WORK is missing (programming error)
    Trace entries:
    SO_OBEJECT_MIME_GET
    No Send Order Exists -> Termination
    SX_GENERATE_NDR
    Internal Error: SO_OBJECT_MIME_GET Exception: 0
    Solution: See note 429427 for the correction.
    5. Configuration for the sending of Business Objects
    An attempt is made to send a document of type OBJ to an external recipient. This requires a conversion to TXT/HTML format, but the necessary modules are not configured correctly.
    Trace entries:
    SX_OBJECT_CONVERT_OBJ_HTM
    Converting Document Format from OBJ to TXT/HTML
    SO_OBEJECT_MIME_GET
    No MIME Document Received. Error Code: MNA_DOC
    SX_GENERATE_NDR
    Internal Error: SO_OBJECT_MIME_GET Exception: 0
    or
    SX_GENERATE_NDR
    Internal error: SO_OBJECT_MIME_GET Exception: 2
    Solution:
    Please refer to Note 530932.
    1. You can refer to SAP Note 487754.
    2. Error in Sending External Mail
    3. Re: BWCCMS: send email if process chain fails?
    Hope this will solve your issue.
    Re: Send mails
    Re: SCOT Setup
    Reward points..

  • Why don't i have a window 'answer' when i want to send a mail or answer one?

    when i receive a mail, i click on "answer to the sender" to write, but when i want to send the mail, there's no window 'send' to click on. can someone help?

    In the compose window menu bar:<br>
    View - Toolbars<br>
    Check 'Composition Toolbar'.
    In case the menu bar is hidden press Alt or F10 to bring it back.

  • Creating a forgot password page and sending a mail to that user

    hi,
    I need to create a forgot password page in which there will be two text box named user name and email id and user will provide his usename and email id in those text box. so apex will check that the provided name and email id are there in the data base and if email id corresponds to right user name then a mail will be send to that email Id containing auto generated password.
    pls help
    thanks

    1003090 wrote:
    hi,
    I need to create a forgot password page in which there will be two text box named user name and email id and user will provide his usename and email id in those text box. so apex will check that the provided name and email id are there in the data base and if email id corresponds to right user name then a mail will be send to that email Id containing auto generated password.
    pls help
    thanksHello,
    Welcome to Forum!
    That's a too big question for anyone to explain in forum unless they have any link to documentation or blog entry or some books.
    Have you already tried something for this? If so, please post the code here..
    Algorithm for this would be..
    <li> Compare username and email with values from DB, go to next step if they are correct, otherwise return error message
    <li> Generate random password using combination of username and/or some random strings. You may use DBMS_RANDOM.STRING to generate this password
    <li> Update your table with new password. If you store password as hash value (the way it should be stored), then hash password before updating it to table
    <li> Send e-mail to use using APEX_MAIL.SEND
    Regards,
    Hari

  • Sender e-mail Invalid

    I continue to get "Sender E-mail Invalid" when trying to send or forward messages. I have read some of the discussions but have not seen a clear cut answer or resolution. Can someone please provide a solution.

    I have this issue due to using Roadrunner email. Roadrunner's SMTP server will only work when on their network. Perhaps your situation is similar.
    I've tried just about everything and the best solution I've come up with is to go into email account settings and TURN OFF the Primary SMTP server (Roadrunner) when NOT on my home WiFi. By doing so, the AT&T SMTP server [cwmx.com] will then be used to send email (just need to be sure it is listed under "Other SMTP Servers"). Then when using my home WiFi again, I must go into settings and turn the Primary SMTP server (Roadrunner) ON.
    It's a little cumbersome and I would welcome a better method, although I should probably just migrate to a more iPhone-friendly email system.

  • Yahoo E-Mails Cannot Respond/ Hotmail NoShow Sender's Message When respond

    Hi. Like many other people, I am having a problem with e-mail, too. All the servers are on. I went to "Options-Mail-Accounts-Servers, etc" in the iPad, and followed the instructions I found from Apple, to make sure I can send e-mails. However, I cannot send e-mail from my Yahoo account. Furthermore, I cannot find the "switch to classic view" option, as has been suggested earlier. I looked all over for it.
    Also, in my Hotmail account, when I reply to mail, I cannot see the original e-mail, which makes it very difficult to respond to a long e-mail when you cannot re-read it. I am used to modifying the sender's e-mail, sometimes, too, but this is , obviously, also not possible. Why can't I see the sender's e-mail? My 3rd and final account, AOL works properly.

    Incoming mail is handled by the incoming server, outgoing mail is handled by the SMTP server. The username and password has to exist in both places. Make sure the correct info is in both places.

  • Error Sending E-mails

    I can receive e-mails all day long (with the very frequent "message could not be downloaded from server" text). But when I try to send e-mails I get the "Cannot Send Mail" error that I need to check my account settings for the outgoing server. But I have it configured the same as in Outlook. I have Charter Communications cable and I called Charter and the customer service person was clearly not technical and had no clue how to begin to help me figure this out. Help!
    Thanks!

    It does!!!! Just put cwmx.com with no password or
    account ID! THANKS GUYS!!!!!!!!!
    -Thad
    i have charter too in NC and I agree that the support team are truly clueless. Here is my current situation and has been since day 1 Any help is appreciated.
    1.My wifi home network is recognized by my iphone. When I go to browse it says Safari can't open the page because it can't find the server. (keep in mind i go to other wifi places and it works like a charm but it will not send out mail using my pop.charter account. using port 25 which was added during initial set up) also keep in mind i am running 2 laptops off the home network and they work fine.
    I updated the firmware on my router (Linksys WRT54GX2) and still no go on the iphone.
    2 I have tried using edge smtp to send out e-mail and it is not working for me.
    3. I can use edge for browing as well and getting e-mail but not sending
    4. Went to apple store genius bar in Raleigh NC they were baffled. They took out sims card and put back in, made a report told me to try it again when i got home. if not come back and they will give me a new phone. ( I live 2.5 hrs away from the store)
    I'm baffled as well. I truly do not think that getting a new phone will change my situation. I have tried just about every suggestion on this board (they are truly appreciated by me) from resetting to restoring to changing email smtp to changing router info the list goes on.
    I love my iphone but i am developing a love/hate relationship with it. I think it is too early in the relationship for that. Any more suggetions would again be greatly aqppreciated.

  • RE: (forte-users) send/receive mail

    Hi Nat,
    you have three possibilities to integrate MAPI to a Forte program:
    1. using mapi32.dll (simple MAPI) or mapix32.dll (MAPI). You must integrate
    this libraries using a C wrapper class (as described in "Integrating with
    External Systems").
    2. using OLE Active messaging library ( as described in 'Integrating with
    Windows and Macintosh")
    3. or implement POP3 using an ExternalConnection class.
    Regards,
    Zenon Adamek
    Forte Developer
    Purolator Courier Ltd.
    ZAdamekpurolator.com
    -----Original Message-----
    From: Nat Balasubramaniam [SMTP:NBalasubdcjs.state.ny.us]
    Sent: Wednesday, January 26, 2000 2:18 PM
    To: Forte-userssagesoln.com
    Subject: (forte-users) send/receive mail
    Our application needs to send/receive mails from a mail server in NT
    environment. Does forte provide SMTP and POP3 protocol support(libraries)
    so that we can use external connection class to connect to the server and
    send/
    receive mails or do we have to use third party controls. Any help would be
    appreciated.
    For the archives, go to: <a href="http://lists.xpedior.com/forte-users">http://lists.xpedior.com/forte-users</a> and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

    Hi,
    Unfortunatly, Forte does not provide SMTP and POP3 protocoles.
    But, you can use External connections to do it if you need.
    You can find a simple SMTP send mail sample code on
    http://perso.club-internet.fr/dnguyen/ . The receive should be as easy as the send.
    For MIME base 64 encoding and decoding, it should last one or two weeks of coding
    (if you need optimization).
    One advantage of coding this in Tool directly is the portability.
    In your case, on NT, you could also interface with MAPI using for instance the
    ActiveX interface.
    By that way, you will already have SMTP, POP3 and MIME.
    Hope this helps,
    Daniel Nguyen
    Freelance Forte Consultant
    http://perso.club-internet.fr/dnguyen/
    edwardsmjwillis.com a &eacute;crit:
    Hi,
    Our Forte development team are currently investigating how we can add internet
    mail capabilities to a Forte application. Our application needs to send/receive
    mails from a mail server in an NT environment. Does forte provide SMTP and POP3
    protocol support (libraries) so that we can use external connection class to
    connect to the server and send/ receive mails or do we have to use third party
    controls ?.
    Any help regarding code examples or third party solutions would be appreciated.
    Thanks in advance
    Mark J Edwards
    Senior Technical Specialist
    Willis
    Email: edwardsmjwillis.com
    The information in this email and in any attachments is confidential and may be
    privileged. If you are not the intended recipient, please destroy this message,
    delete any copies held on your systems and notify the sender immediately. You
    should not retain, copy or use this email for any purpose, nor disclose all or
    any part of its content to any other person.
    For the archives, go to: http://lists.xpedior.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

  • When I want to attach a file to an e-mail I'm sending from my iCloud account it makes the file show up in the body of the e-mail instead of attaching it as a separate file the receiver can open.  How can I change this?

    When I want to attach a file to an e-mail I'm sending from my iCloud account it makes the file show up in the body of the e-mail instead of attaching it as a separate file the receiver can open.  How can I change this?

    It should be an attachment.  Your Mac just displays a preview of certain attachments (such as .pdfs) in the body of the message.  A PC, for example, will see it as an attached file rather than a preview.
    You can save the attachment on your Mac by Control-clicking on it and selecting Save Attachment.

  • Is it possible to zip a file and send it as an attachment in a mail?

    Hi,
    Is it possible to zip a file and send it as an attachment in a mail?

    When you use OWA in something other than IE, you're using OWA lite and no--it is not possible to do either in OWA lite (well, new Exchange stuff makes my answer a little less emphatic but still: pretty much no). Thanks Microsoft. But this guy made it possible to mark unread/read and select all/none:
    http://david-burger.blogspot.com/2008/07/firefox-greasemonkey-outlook-web-access_19.html

  • My Mac Mail program no longer stores any files in my Sent folder.  When I try to send an e-mail it just spins.  What's up?

    My Mac Mail program no longer stores any files in my Sent folder.  Moreover, the sent folder (off to the left) contains a highlighted "1" as if something is in there.
    When I try to send an e-mail message, it simply spins.
    This is new behavior for my Laptop of three years.  Usually, I have lots of messages in my Sent folder and can easily send e-mail.
    I see no discussion forum for "Mail" or for "e-mail" so I raise this question here.
    I would appreciate any help anyone might offer. 
    Thanks.
    norman from akron

    Thank you for your reply.  Turns out, re-started my Macbook later and the problem disappeared.  Could this have helped?

  • How can I send a PDF via mail without it becoming an attached file?

    Hi All!
    I need to know how I am able to send a PDF file via mail, without it becoming an attached file. This means when the receiver opens the mail, he automatically sees the PDF without first having to read the normal mail text and scroll down to open the attached PDF file. Just like a spam newsletter
    Also I want to know - I want some illustrations in my portfolio to be a hyperlink to a website, is this possible on a picture (not on an URL) - and if so - How?
    Hope you can help me out here!
    ** I use Adobe Acrobat Reader Pro X 10.1.10 on a Macbook Pro 10.8.5**
    Thanks,
    Carlinsky

    Carlinsky wrote:
    Hi All!
    I need to know how I am able to send a PDF file via mail, without it becoming an attached file. This means when the receiver opens the mail, he automatically sees the PDF without first having to read the normal mail text and scroll down to open the attached PDF file. Just like a spam newsletter
    Not possible with Adobe Reader or Adobe Acrobat.

Maybe you are looking for