Send email iOS with AIR

Hi, I developed a form mail in AS3, using an external PHP document.
It sends a mail directly to my address and it works perfectly with iPad and iPhone.
Now... what I need at the moment, is to attach to my mail a photo captured at the moment directly from my app using CameraUI.
Is there a way to do that in Flash CS5.5 and AIR 3.0 ?
Thanks for the suggestions
Brandon

Hello, I'm trying to do a simiar thing. Did you get this to work?

Similar Messages

  • The three main hurdles to porting existing Flash projects to iOS with AIR

    The purpose of this discussion is to identify significant problems currently preventing AIR for iOS from being a viable solution for porting existing Flash apps.  These issues have been largely ignored by Adobe, so I hope that everyone will add to this discussion if you have also run into these roadblocks in targeting iOS with the AIR SDK.  I hope that Adobe staff will address and provide some much needed information with regard to fixing these problems.
    There are 3 main problems with targeting iOS currently, which are probably affecting anyone who is trying to port a project that is both medium to large in size and makes use of SWF loading.  Pretty much any project that has a MVC architecture is going to load SWF assets that are compiled against a view class, so this is likely affecting many people.
    1. Bug - ADT packager runs out of memory when packaging "large" numbers of SWF assets
    https://bugbase.adobe.com/index.cfm?event=bug&id=3511656
    This is a blocking bug that prevents packaging projects with a large number of SWF assets.  It is preventing me from being able to package all the needed assets for my project.  I provided Adobe with my project to package a couple months ago so this bug can be reproduced in house and fixed.  The Adobe employee who was handling this never tried to reproduce the issue and has stopped responding to email and comments in the bug.  Adobe, please have someone take charge of testing and fixing this bug.  It seems like it would be a straightforward fix once the failure is reproduced within a debugger.
    Has anyone who has encountered this problem determined the number of files or classes where it starts to fail.  I've spent some time trying to reverse engineer what the packager is doing when it runs out of memory, so think I can determine how many classes it's working with, but obviously the size of the classes will be variable and so this number will probably be more of a range where we start to get into the failure state.
    Please let me know if you can reproduce this issue with your project with many SWF assets and upvote the bug if you are already aware of this one.
    2. Bug - SWF reloading when doing a "real" (AOT) compile
    https://bugbase.adobe.com/index.cfm?event=bug&id=3636385 
    There is already a forum post that covers the history of this issue (http://forums.adobe.com/message/4920638) but that also covers some issues in older AIR builds with loading of any SWF asset (previously fixed), where this bug deals specifically with reloading of SWF assets that include compiled bytecode (ABC).
    The expectation here is that all versions of the Flash runtime should handle SWF reloading with ABC in the same way, so that a single codebase can be used to target web and iOS (or any other platform).  This is the only issue of the 3 that has a legitimate work around, in my opinion, because the assets can be cached within the app within a loading manager layer.  All the application code that makes loading calls can stay the same, and a compiler flag can be used to enable this caching for iOS builds, with subsequent requests returning a new instance of the cached asset.  This can potentially lead to a very bloated memory footprint for the running app after a period of time, though, which could make some apps perform poorly, so a bugfix is ultimately needed.
    3. Unimplemented feature (?) - The constraint that a single ApplicationDomain is used when running AIR for iOS 
    I did ask about this in the same forum post as SWF reloading but didn't get an Adobe response.  Why does this constraint exist?  My guess is that the AIR runtime for iOS simply hasn't implemented multiple ApplicationDomain support at this point, and that this was done to focus resources on other high priority features for the iOS runtime.  It's possible that there is some aspect of the iOS operating system that makes it difficult or impossible to implement this feature, which may be why it's been avoided to this point, but obviously this is all conjecture without hearing from Adobe on it.
    This is a major issue that needs to be addressed.  For us, the problem is that our SWFs for multiple instances of the same type of asset use the same name for the AS export.  For example, each item an avatar can equip is a single SWF with multiple sub assets -- the parts which comprise the item.  Each of the parts will have an AS export name based on the avatar facing and where it is equipped, like "fv_head".  This naming is consistent across all items, so we will load a lot of assets containing "fv_head" simultaneously.  This normally works fine because the default behavior for Flash has always been that each SWF is loaded into a new ApplicationDomain instance, but for iOS a single ApplicationDomain must be used, causing these names to collide.  The last SWF loaded containing a given AS export name overwrites the previous ones of that name.
    The work around for this, and I use that term loosely, is to go through and uniquely name every AS export in every asset where sets of assets with the same export name is used. For us that is hundreds of items with multiple exports.  Maintaining unique naming across all these parts is also a very error prone process, not to mention all the code that manipulates the parts needs to be modified to handle the new naming and make sure it's referring to the now uniquely named assets.
    The expectation here is that all versions of the Flash runtime should handle asset loading in the same way and place each loaded asset into its own ApplicationDomain container as the default behavior.  I'd like an Adobe employee to address my assumption that this is an unimplemented feature of AIR for iOS at this point, and let the community know if a solution for this will be implemented.
    Summary
    All three of these issues in combination are a major roadblock to porting existing Flash games to iOS with AIR.  Issues with one can make it hard to test and try to work around others.  All need to be fixed, but If I could only pick one of these to fix, it would have to be issue 3 -- that lack of proper ApplicationDomain support when loading assets.  This issue is completely inconsistent with standard Flash behavior and creates a major roadblock to ports of existing applications with no viable solution for a workaround.
    I look forward to Adobe's feedback on each of these issues and hopefully fixes that will allow those of us working with AIR for iOS to get our products to market.

    About the 3rd issue being an AoT design limitation, I'm not sure I understand why it's necessary to know during AoT packaging what the domain is that a child will be loaded into to be able to have SWF loading work as on the browser.
    Isn't the ApplicationDomain an internal construct in the AIR runtime that you guys define in order to manage namespaces of loaded SWFs?  To be clear, when I say "runtime" I know that the resulting code isn't being interpreted within the iOS app, but clearly you have a set of AIR libraries that get compiled into the IPA that provides support for all the Flash APIs.  If that's the case, then wouldn't it be possible for the iOS version of the AIR libraries to define a new ApplicationDomain on the fly when code that has been cross-compiled to iOS native code loads a packaged SWF?
    I don't have a clear picture of how ApplicationDomains are managed internal to the runtime of course, but a little more detail would be very helpful.  Thanks.

  • Can't seem to send email from iPad Air.

    Transferred from iPad to iPad Air   Also upgraded to new iPhone.  No prelims with email with iPhone.  Receive but can't send email from iPad Air.  Says server rejected email.  Same email sent fine from phone.  Suggestions?  Settings are the same on both devices. 

    Found my own answer.  Although I carried over settings from former iPad, the outgoing server was not set up completely. 

  • Can't send email on macbook air (gmail and icloud email)

    Unable to send email on macbook air (gmail or icloud email)

    In Helsinki! I can't even go to mail right now i have no idea what's wrong
    all they say is ( Cannot load mail) and they ask me to report it
    i don't know what to do now.

  • Create and send email issue with UCCX/IP-IVR 8.0 script

    Hi all,
    I am facing issue with create and send email option with script. In my call flow there is an option to offer call to key in their phone number and script need to pass that phone number to supervisor as an email. I have created the script but every time when I key in the phone number is pass through the unsuccessful node. Please find the script as attachment.
    Thanks and Regards,
    Ashfaque

    Hi How Yee,
    Which version of UCCX/IPIVR you are using and what is the type of license? Because this feature is only supported with Premium License. Please check the UCCX data sheet from the below link.
    http://www.cisco.com/en/US/partner/prod/collateral/voicesw/custcosw/ps5693/ps1846/data_sheet_c78-629807.html
    You will get the information under "Integrated IVR Features with Server Software" of table:4.
    Thanks and Regards,
    Ashfaque.

  • How come the sight was down so long? and why does the system not send emails anymore with responses?

    how come the sight was down so long? and why does the system not send emails anymore with responses?

    The system is back up and fully functional. How long has it been since you stopped receiving notifications? Can you share your form with us so we can have a look into what might be going wrong?
    Andrew

  • Lost messages when sending email offline with iOS6?

    I'm using iOS6 on an iPad 3rd generation, WiFi only.
    When I'm in airplane mode, or I'm not connected to a Wifi access point I can compose e-mail messages and press Send, and rather than getting an error saying I'm offline, the iPad displays the "sending" progress bar and makes the "wooshing" noise that it normally does if it were offline, but obviosuly the mail isn't sent - 'cos I'm not online.
    However, when I connect to  Wifi point, the e-mail isn't sent - the mail doesn't appear in the sent folder, and it's not in a Drafts folder either, so I can't attempt to resend.
    I'm getting the same behaviour for both an Exchange and an IMAP/SMTP account.
    Both worked previously with iOS 5 (you'd get an error and it wouldn't send the message until you connect to an access point).
    Is anyone else seeing the same problem? Any pointers to a fix or work-around?
    Many thanks,
    Mike

    I have experienced a similar problem. Having sent an email and heard it go (the "wooshing" noise) I noticed a few minutes later the small symbol next to my btinternet mail box indicating that it had lost touch with its server or gone offline. I didnt think much of this but the next day I noticed that this email is not in my sent emails ( I double checked by logging into my BTemail account online and it is not in the sent email folder there either). The email was not sent, and is not saved as a draft. That's 30 minutes work gone to waste and the only reason I have found out is that I suspect this has happened before so I made  a point of checking sent items. On previous occasions I have thought that maybe I deleted the email by mistake, or didnt press send or made some other mistake. This time though I definately pressed send, definately heard the wooshing noise, and the email is now gone.
    The solution would seem to be to stop using Apple's Mail system to send emails and log into the mail account on line.

  • Send Email Report with Publisher? and  Job Manager...

    Hi, i have a great Doubt, i try to send Email with a report, first i try to send with Publisher, this is all configurations.
    Delivery Configuration
    !http://lh3.ggpht.com/_V2lpPpulbm0/Slwm-4TLiJI/AAAAAAAACag/xZ5w57zkRnM/s800/BI%20Publisher.PNG!
    Email Configuration
    !http://lh5.ggpht.com/_V2lpPpulbm0/Slwm_PKsjVI/AAAAAAAACak/baCeaA9kV_s/s800/BI%20Publisher2.PNG!
    Configuration Send Parameters
    !http://lh5.ggpht.com/_V2lpPpulbm0/SlwroVMXh4I/AAAAAAAACao/0-UaglX4N5Y/s512/configuracionparametros.PNG!
    But when i submit.. i have an error: "Must issue a STARTTLS comand first",*this error* means that Gmail Server not suporter?
    Do you know Some Mail Company to Rrealize some test.
    !http://lh3.ggpht.com/_V2lpPpulbm0/Slwm-8g_LJI/AAAAAAAACac/1CeWNWZLL18/s640/errorpublisher.PNG!
    But... It is neccesary configurate Job Manager? why is necessary configurate Publisher and Job manager, is the same? or Each one is in use for a different thing, all forms i post my Job Manager configuration too.
    !http://lh4.ggpht.com/_V2lpPpulbm0/Slwm-X7idrI/AAAAAAAACaU/eq_N_Rloqjs/s576/SchedulerConfiguration.PNG!
    thanks all and sorry for Spam Images(I think You comprehension better me)

    . i have an error: "Must issue a STARTTLS command first",this error means that Gmail Server not suporter?  yes gmail will not support to send emails from this......because our accounts are free...
    Try with your corporate mail ids it will work.
    It is neccesary configurate Job Manager? why is necessary configurate Publisher and Job manager, is the same? or Each one is in use for a different thing Bi Publisher will not use Job manager mail settings.....If yes ,why we need to configure the mail settings in BIPublisher itself??
    Two things are different......
    thanks,
    Saichand.V

  • Sounds stop playing when user locks screen on iOS with AIR 3.9 Beta

    We built a simple application that should play sounds when in background and when the screen is locked.
    Since we updated to the latest AIR 3.9 Beta SDK, all sounds stop playing when the user locks the screen on iOS.
    The sounds resume when the screen is unlocked.
    - it works on Android
    - we use renderMode : cpu
    - we use UIBackgroundModes : audio
    - we use NativeApplication.nativeApplication.systemIdleMode=SystemIdleMode.KEEP_AWAKE;
    - sounds play when the app is in background
    - was working great with AIR 3.8 SDK
    Any help would be greatly appreciated.
    Thanks!

    Thanks for reproting the issue, we have an internal already logged bug for this, which is under investigation at the moment.
    -Nimit

  • Crash on iOS with air 3.8 and higher

    Hello,
    We have an application we are deploying on PC & Mac using the FlashPlayer. We are porting the application on Android and iOS using Air Sdk. The application runs perfectly well in terms of performance. The game runs without any trouble til the end on Android but we are experiencing a crash on iOS.
    The crash seems to be related to a memory issue. We profiled the application with Instruments and when the crash appears, the application consumes 90Megs of memory. This is for an iPhone 3GS. On an iPad2, the game crashes similarly around 100Megs of Ram used. The crash log refers to a bad access exception and as we are receiving a lot of low memory warnings, we assume it comes from a malloc that fails.
    We obviously don't have any leaks left as the game runs well on all the other platforms. this is especially obvious as the game runs perfectly well on Android with the same sdk. We are rendering in gpu mode. We also tried to switch to cpu without any luck. The garbage collector seems to be triggering well as we can see the live bytes going down regularly depending on the clips being played.
    What we don't understand is that the crash log says we are using around 50000 rpages, which corresponds to a total memory of 200Megs (4k per page). This is weird as Instruments tells us the application consumes 90Megs of Ram when the crash occurs.
    The only big difference between the iOS and the other platforms is that the swf assets can't be unloaded. Therefore, once loaded, they stay in memory. Still, we tried to use as much movieclip as possible so we can stop them and remove them from the scene when they are not needed. This, to make sure the display data are released as often as possible.
    Do you have any kind of advice  to solve this issue ? This is becoming quite urgent as the game is finished and this bug prevents us from releasing the master build.
    Regards.

    Hi Chris,
    We found the crash on iOS7 devices. The game native display is 16/9 so depending on the devices screen resolution, we have to apply black stripes on top/bottom of the screen. To make sure nothing bites on those stripes we have a mask applied directly on Lib.current. If we get rid of this mask, no more crash on iOS7.
    The funniest thing is that without this mask, we also managed to reach act 6 on iOS6 and lower. Before that we couldn't get pass act 3. We are currently trying to remove all the masks we have to check if this solves our problem.
    Does this pop something in your mind ? Could these masks lead to memory leaks on iOS devices ?
    Thanks,
    Philippe

  • No more Uncompiled ActionScript warning on iOS with AIR 3?

    Hi!
    With previous versions of Air on iOS, when I was loading an external SWF that was containing library symbols using linkage names, I was getting a popup message saying that uncompiled actionscript was not allowed on this system. It was really a pain, since it was not possible to use the class system of AS3 to instanciate several instances of the same object. So I had to create all the instances on my stage in the IDE, and manipulate them using GetChildByName() in my pure AS3 code.
    Today I made some tests, and didn't realize that my SWF file was containing some symbols with a linkage name. And it was working fine! With previous versions of AIR, I was getting an instant warning message, and the app was stuck.
    So I made further tests, and now I can load an external SWF even containing AS3 code on the timeline, and it works!! Really I don't know what to think. This is wonderful news, because now we can really implement iOS apps the same way we would on any other platform. But I also know that this previous behaviour was due to some security reasons, to prevent apps made with AIR to download some external malicious code contained in an external SWF.
    So my question is: is it allowed by Apple, or will my app be rejected? Or maybe this limitation is now applied to really external SWF (like something hosted on a remote server), and AS code is accepted for SWF files that are packaged locally into the app?
    I'd really like to have Adobe employee's feedback on this, please.
    Thank you!
    Frédéric

    Doh, you're right, I was doing interpreter builds, my apologies... I had forgotten that in interpreter mode, AIR doesn't display any warning... Which makes me think that Adobe may put that restriction on all targets by the way. Someone could develop all his game in interpreter mode, just to realize that the normal AS3 instanciation approach doesn't work when switching to final target...
    As a side note though: when switching to ipa-app-store target,with AIR 2.7, my game hangs at startup, when loading the external SWF. But with AIR 3, the game seems to load fine but my movieclip is not displayed at all, as if AIR was just discarding silently all unauthorized behaviours... (actually the app behaviour looks erratic, so it must crash silently, trying to continue excecuting code). If it's the case, it might be even more confusing for people who are not aware of this restriction.

  • Send Email Report with Publisher?

    Hi all I try to send Email with Publisher, No with Job Manager scheduler
    I can send Email with Oracle Data Integrator with the same configuration with publisher, but publisher say me errors, I don´t think if I have wrong configuration or i will have to configurate others things...
    I post Images for my configuration for If you help me.
    Admin Email Configuration
    !http://img53.imageshack.us/img53/9296/configdelivery.jpg!
    !http://img376.imageshack.us/img376/7338/congfigserver.jpg!
    Send Configuration
    !http://img204.imageshack.us/img204/3590/configuracionenvio.png!
    Scheduler History
    !http://img132.imageshack.us/img132/6777/schedulerhistory.png!
    Errors
    !http://img55.imageshack.us/img55/1442/sendincorrect.png!
    Send to other Email
    !http://img54.imageshack.us/img54/3156/otheremail.jpg!
    Thaks for your time

    Thanks for response other time eejimkos, I try to do with SSL=False and nothing.
    This is my configuration with ODI(Oracle Data Integrator), With ODI I can to send perfect Emails.
    !http://img366.imageshack.us/img366/9408/odi.png!
    I have to Firewall inactive and I quit Antivirus.
    Saichand this is telnet results
    !http://img60.imageshack.us/img60/2143/telnet.png!
    This mean that I have open ports.
    Any Suggestions?
    thanks for request.

  • TS1307 Still can't send emails on my Air, can receive fine.

    My Air is running Lion 10.7.4, and I have used the same details in the mail account section as my Pro that is on Snow Leopard 10.6.8 but I can't send emails I can receive ok. Keeps saying can not connect on port 995 ( this is what my Pro is set to.)  I have used the exact details from my Pro to the Air in the email account section. Can anyone tell me where I am going wrong? thanks

    Try posting this in the 10.7 Mail forum. You'll get more help there.
    DALE

  • Sending email messages with Outlook 2007

    I use Outlook 2007 for email and have FIOS at home.  I also use it on the road and in the office.  No problems until the last week when all outgoing email get hung up in my outbox at home.  When I connect elsewhere, they are sent.  I have tried changing the account settings and did a complete shut down of the system with no luck. 
    Interestingly, my ipad and blackberry have no trouble at home.  Did something change recently in the Dallas Texas area to mess with us Outlook users?

    Viuafax, it is a pain.  Not only do we have to swap the settings, which isn't a real hardship, but many server hosts won't open another port simply because Verizon decided to block the common setting.
    In my case, I am now forced to use Verizon's outbound server to send emails, which means they are subject to the limits and spam filter.  Today is the first day of me using this and already I have had two messages blocked as spam.
    Now keep in mind that these are messages from me to just one person and that person happens to be on the same domain as me.  They are a work colleage.  So clearly not spam.
    So the pain is not changing the settings, but rather that I am now forced to either use the Verizon mail server, which I would just assume avoid.  I'd be very happy to keep my so called spammy traffic off it for them if they'd let me.

  • Sending email - problems with text in email body

    Hello all,
    for sending emails I use the FM from Thomas Jung (<a href="http:///people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface:///people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface).
    Everything works fine, except that the text I attach in documents-content_text doesn't appear as a normal text in the email body but within an .EXT-attachment. Should this be a TXT attachment?
    E.g. when I send the text 'Hello World' the email arrives with an attachment 'Hello World.EXT'.
    Did anyone have the same problem? What's wrong?
    Thanks for your help.
    Regards
    Joschi

    Try this it works fine for me,
    METHOD email_result_as_pdf.
        DATA: lo_document_bcs    TYPE REF TO cl_document_bcs VALUE IS INITIAL,
              lo_send_request    TYPE REF TO cl_bcs VALUE IS INITIAL,
              lo_sender          TYPE REF TO if_sender_bcs VALUE IS INITIAL,
              lo_recipient       TYPE REF TO if_recipient_bcs VALUE IS INITIAL,
              lo_cx_document_bcs TYPE REF TO cx_document_bcs VALUE IS INITIAL,
              lo_cx_send_req_bcs TYPE REF TO cx_send_req_bcs VALUE IS INITIAL,
              lo_cx_address_bcs  TYPE REF TO cx_address_bcs VALUE IS INITIAL.
        DATA: li_message_body     TYPE bcsy_text VALUE IS INITIAL,
              li_att_content_text TYPE soli_tab,
              lw_att_content_text TYPE soli.
        DATA: lv_result         TYPE string,
              lv_send           TYPE adr6-smtp_addr
                                     VALUE '[email protected]',
              lv_sent_to_all(1) TYPE c VALUE IS INITIAL.
    * Create Object
        lo_send_request = cl_bcs=>create_persistent( ).
    * Add Contents to Mail Body
        APPEND 'Dear Sir,<BR>' TO li_message_body.
        APPEND ' ' TO li_message_body.
        APPEND 'Please find the Report contents enclosed.<BR>' TO li_message_body.
        APPEND ' ' TO li_message_body.
        APPEND 'Thank You,<BR>' TO li_message_body.
    * Create a Document
        TRY.
            CALL METHOD cl_document_bcs=>create_document
              EXPORTING
                i_type    = 'HTM'
                i_text    = li_message_body
                i_subject = 'New ALV Sample Report'
              RECEIVING
                result    = lo_document_bcs.
          CATCH cx_document_bcs INTO lo_cx_document_bcs.
            lo_cx_document_bcs->if_message~get_text(
                                  RECEIVING
                                      result = lv_result ).
            MESSAGE lv_result TYPE 'E'.
        ENDTRY.
    * Populate the data to the Document Table
        LOOP AT i_sbook INTO w_sbook.
          CONCATENATE
            w_sbook-carrid
            w_sbook-connid
            w_sbook-fldate
            w_sbook-bookid
            w_sbook-customid
            w_sbook-custtype
            w_sbook-smoker
            w_sbook-wunit
            w_sbook-invoice
            w_sbook-class
            w_sbook-forcurkey
            w_sbook-loccurkey
            w_sbook-order_date
            w_sbook-counter
            w_sbook-agencynum
            w_sbook-cancelled
            w_sbook-reserved
            w_sbook-passname
            w_sbook-passform
            w_sbook-passbirth
            INTO lw_att_content_text-line
            SEPARATED BY cl_abap_char_utilities=>horizontal_tab.
          CONCATENATE cl_abap_char_utilities=>cr_lf lw_att_content_text-line
                      INTO lw_att_content_text-line.
          APPEND lw_att_content_text TO li_att_content_text.
        ENDLOOP.
    ** Add the attachment to the document
        TRY.
            CALL METHOD lo_document_bcs->add_attachment
              EXPORTING
                i_attachment_type    = 'RAW'
                i_attachment_subject = 'New ALV Sample Report'
                i_att_content_text   = li_att_content_text.
          CATCH cx_document_bcs INTO lo_cx_document_bcs.
            lo_cx_document_bcs->if_message~get_text(
                                  RECEIVING
                                      result = lv_result ).
            MESSAGE lv_result TYPE 'E'.
        ENDTRY.
    * Set the document to the Send Request
        TRY.
            CALL METHOD lo_send_request->set_document
              EXPORTING
                i_document = lo_document_bcs.
          CATCH cx_send_req_bcs INTO lo_cx_send_req_bcs.
            lo_cx_send_req_bcs->if_message~get_text(
                                  RECEIVING
                                      result = lv_result ).
            MESSAGE lv_result TYPE 'E'.
        ENDTRY.
    * Create Sender
        TRY.
            CALL METHOD cl_cam_address_bcs=>create_internet_address
              EXPORTING
                i_address_string = lv_send
              RECEIVING
                result           = lo_sender.
          CATCH cx_address_bcs INTO lo_cx_address_bcs.
            lo_cx_address_bcs->if_message~get_text(
                          RECEIVING
                              result = lv_result ).
            MESSAGE lv_result TYPE 'E'.
        ENDTRY.
    * Add Sender to Mail
        TRY.
            CALL METHOD lo_send_request->set_sender
              EXPORTING
                i_sender = lo_sender.
          CATCH cx_send_req_bcs INTO lo_cx_send_req_bcs.
            lo_cx_send_req_bcs->if_message~get_text(
                                  RECEIVING
                                      result = lv_result ).
            MESSAGE lv_result TYPE 'E'.
        ENDTRY.
    * Create Receipient
        lv_send = '[email protected]'.
        TRY.
            CALL METHOD cl_cam_address_bcs=>create_internet_address
              EXPORTING
                i_address_string = lv_send
              RECEIVING
                result           = lo_recipient.
          CATCH cx_address_bcs INTO lo_cx_address_bcs.
            lo_cx_address_bcs->if_message~get_text(
                          RECEIVING
                              result = lv_result ).
            MESSAGE lv_result TYPE 'E'.
        ENDTRY.
    * Add Receipient to Mail
        TRY.
            CALL METHOD lo_send_request->add_recipient
              EXPORTING
                i_recipient = lo_recipient
                i_express   = 'X'.
          CATCH cx_send_req_bcs INTO lo_cx_send_req_bcs.
            lo_cx_send_req_bcs->if_message~get_text(
                                  RECEIVING
                                      result = lv_result ).
            MESSAGE lv_result TYPE 'E'.
        ENDTRY.
    * Set Send Immediately
        TRY.
            CALL METHOD lo_send_request->set_send_immediately
              EXPORTING
                i_send_immediately = 'X'.
          CATCH cx_send_req_bcs INTO lo_cx_send_req_bcs.
            lo_cx_send_req_bcs->if_message~get_text(
                                  RECEIVING
                                      result = lv_result ).
            MESSAGE lv_result TYPE 'E'.
        ENDTRY.
    * Send Mail
        TRY.
            CALL METHOD lo_send_request->send
              EXPORTING
                i_with_error_screen = 'X'
              RECEIVING
                result              = lv_sent_to_all.
            COMMIT WORK.
          CATCH cx_send_req_bcs INTO lo_cx_send_req_bcs.
            lo_cx_send_req_bcs->if_message~get_text(
                                  RECEIVING
                                      result = lv_result ).
            MESSAGE lv_result TYPE 'E'.
        ENDTRY.
    * Inform User
        IF lv_sent_to_all EQ 'X'.
          COMMIT WORK AND WAIT.
          MESSAGE 'Mail Sent Successfully' TYPE 'I'.
        ELSE.
          MESSAGE 'Error Sending Mail to External Id' TYPE 'E'.
        ENDIF.
      ENDMETHOD.                    "email_result_as_pdf
    Regards
    Kathirvel

Maybe you are looking for

  • Variable substitution in reciever file adapter

    will any one please help me in sloving this problem , i have designed my reciever structure as shown in the below <RECORDSET>       <HEADER>            <NAME1/>          <ADDRESS1/>          <ADDRESS2/>          <ADDRESS3/>          <ADDRESS4/>      

  • Regarding Deletion of Chart of Accounts

    Dear All, When I am trying to delete the chart of accounts in development server it is saying that Chart of accounts is used in Special Purpose Ledger and entries cannot be deleted. So i removed all the accounts for down payments received and down pa

  • Permit internal Read Receipts but prevent them from exiting organisation

    http://blogs.technet.com/b/exchange/archive/2011/02/23/3412028.aspx Above article explains how to delete Read Receipts in Exchange altogether. Can I use Exchange to allow Read Receipts between internal users within the organisation but prevent read r

  • Need help with syncing error!

    hey guys... kam here... every time i try to sync my iphone 4 up with itunes i get an error message saying unable to sync... i've updated all the dumb updates and all that crap but it still won't work... any ideas?

  • Audio failure on Solaris

    Is there a known issue with audio on a Solaris SGD server? I've configured two similar setups, and audio works on the 32-bit Pentium system and not on the Sun X4200 system. In both cases, the application server is the SGD server. I've run through the