Send an automatic mail

Hi,
I need to send an automatic mail through lotus notes.In the mail i should attach a PDF document . Pls give me solution how can i attach pdf document in my mail and it will we be attach automatically.This mail should be sent to multiple recipients.The problem is the mail.
Vikas Kashyap

Use the database procedure      UTL_MAIL.SEND to send mail and attachments.
UTL_MAIL.SEND(from_addr,to_addr,nvl(cc_addr,null),null,subject,mail_body);
And you can call this from forms.
If you search in this forum , u can get the whole code. I have pasted the code earlier.
Rajesh Alex

Similar Messages

  • Sending an automatic mail on changing message status

    Hey,
    I faced this problem previously where i wanted to send a mail to the key user as soon as the message status of any Service Desk message changes from new to In Progress. I received a SAP Tutor file from SAP Support which showed the whole process of configuring it. I implemented it and it was working fine. Now i have this situation that i want to send an email to the user everytime the message status is changed. So what i basically did was that i editted the condition to include all the statuses.
    Now the problem i am facing is that the email is only sent when the message status is changed for the first time. Any subsequent changes later on dont result in mail being delivered. Actually that action of
    sending mail is not being generated after the first time. Please help mein this regard.
    Regards,
    Bilal Nazir

    Hello Chetan,
    First of all, are you using SolMan 3.2 or 3.1? I am asking that because the SAP Tutor file shows old version of Service Desk. If you have 3.2, are you working with SLFN transaction type or SLF1? With SLFN, you have to change action profile SLFN0001_ADVANCED. In order to send email on status change, create a new action as explained in the SAP Tutor, but using the correct action profile. Then create a condition for action for the correct status profile. It should work, it works for me..
    I use the standard action "Email to message creator" to send email to message creator. I just configured "Max. 1 Unprocessed Action for Each Action Definition", Scheduled Automatically, Partner Dependent and put the message creator partner function in the Action Definition.
    If it does not work for you, please explain in details what you have done and if you have any error message.
    Did you check the Actions tabstrip in your Service Desk Message? You have all the log of the actions there, if the action was scheduled and did not work, you should find an error.
    Regards,
    Raquel Cunha

  • Need to send a automatic mail to an id while clicking a button

    hi
    i am new to APEX. My current assignment is when click on a button a mail should go to a particular mail id automatically.
    Please help me to achieve this.
    Regards
    Hisham.A

    Hi,
    See APEX_MAIL package documentation
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_mail.htm#CIHDIEJI
    Also this OBE might help. It should work also with APEX 4.x
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/apex/r31/apex31nf/apex31email.htm
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • You can send an automatic mail from an application to own ePrint?

    I have an android application which displays documents in jpg hosted on a server, the idea is to type the mail ePrint printer in the GUI and send an email with the attachment to this email from a process server, is it possible? is there any restriction on that?, because I tested smtp clients GMAIL, HOTMAIL aND MAIL tO CORPORATE and I fail to print. The printer works correctly when I send the document from another side, even print the document sent to the server but previously forwarded from another account.
    I hope I can lead, thanks in advance

    Hello cmjicar,
    To the best of my knowledge, there are no restrictions on that.  The only problems you may run into is that the emails might be rejected as spam, and what you are doing would be entirely unsupported.  To prevent the emails form being rejected, make sure there is no signature on the emails, and that there is not forward or reply tag in the subject line of the email.  Other than that I can not think of a reason it will not work.
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • Trigger Automatic Mail

    Hi All,
    Pls guide me where the settings can be done to trigger an internal mail (SAP Business Workplace) at any user exit, like UD, QI01 Save, GR (MIGO) save etc.
    And what to do if I want to mark the same to MS Out look E-mail ID.
    With Best Regards,
    Shyamal H. Joshi.

    Hi,
    For which type of business functionality you want to send automatic mails.
    After the batch job finish you can set the automatic mail in transaction SM36.
    in the user defination you have to do the settings related to automatic mail of SAP office mail.
    If you are using SCM then try to use SCM's event management.
    Most of the places Work flow used to send the automatic mails as per the business event happens.

  • Is it possible to have Thunderbird send an e-mail automatically when a message with a specific subject is received?

    Is it possible to have Thunderbird send an e-mail automatically when a message with a specific subject is received?
    I basically want to create a rule that will send an automatically crafted form e-mail to the sender when I receive an e-mail with the subject line "New Swimmer". Is this possible?

    Thank you Todd, I was able to get it to work but I do have a few more questions...
    1) When I tested this, at the top of the message, before any of the text I created, this showed up: This is a multi-part message in MIME format. --------------040406040801080102080500 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
    2) After the signature line, this showed up: --------------040406040801080102080500 Content-Type: image/jpeg Content-Transfer-Encoding: base64 Content-ID: /9j/4AAQSkZJRgABAQEAYABgAAD/4QAiRXhpZgAATU0AKgAAAAgAAQESAAMAAAABAAEAAAAA AAD/2wBDAAIBAQIBAQICAgICAgICAwUDAwMDAwYEBAMFBwYHBwcGBwcICQsJCAgKCAcHCg0K CgsMDAwMBwkODw0MDgsMDAz/2wBDAQICAgMDAwYDAwYMCAcIDAwMDAwMDAwMDAwMDAwMDAwM DAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAz/wAARCAC5ApUDASIAAhEBAxEB/8QA HwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQID AAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6 Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWm p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/
    (It was actually much longer than that)
    Is there anyway that I can get that to go away? I obviously would prefer a nice, cleanly formatted e-mail to be sent just like I would send if I were creating it on the spot.
    Thanks,
    Evan

  • How to send automatic mail and put attache file on batch file ?

    how to send automatic mail and put attache file on batch file ?
    START MAILTO:[email protected]?SUBJECT=PHONE%CALL^&BODY=Testing

    Hi,
    Do you want to use a batch file to create new email message (including recipients, subject and email body) with attachments? If so, I'd recommend you post your question in the Scripting Guys forum for further assistance:
    https://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Please feel free to let me know if I've misunderstood something.
    Regards,
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • IDOC - Automatic Mail Sending

    Hi All,
    Basically I need to remove the automatic mail sending feature in the IDOC, please give me the solution, whether  it is standard functionality, or is there any user exit to avoid.
    If it is a Standard functionality then mention the Std. Program name or
    If it is from userexit then plz mention the Exit name.
    Thanks In Advance.

    think u need to check tcode swu3 for automatic workflow customizing and check in we40 (error AND STATUS PROCESSING) whether the processing code is assigned to the workflow task.
    if it is assigned,the workflow will be automatically triggered and the mail will be sent to the user by itself.
    ALE error handling uses workflow. A standard task is provided for each message type. Task TS20000051 is used for all BAPIs.
    Workflow functions as follows:
    A task (work item) is generated for the error handling and stored as a message in the inboxes of the employees responsible.
    If one of these employees processes the work item, the standard task method for error handling is started. The user can, for example, restart IDoc processing.
    If the IDoc is processed successfully, the work item is deleted from the inboxes of all the employees involved.
    For this procedure to function, the employees responsible for a particular message type and partner (sender or receiver) must be defined as follows:
    1. A hierarchy of organizational units (for example, "sales office") and positions (for example, "customer officer for customer X") is created and employees are assigned to it.
    2. The standard tasks for error handling (for example, an error related to an inbound sales order) are assigned to the relevant organizational units or positions (for example, "sales office").
    3. The organizational unit, position or employee responsible for dealing with the error are specified for each partner and message type in the partner profiles.
    If an error occurs, the system determines:
    1. The employees responsible using the staffing schedule of the organizational unit or position linked to the standard task.
    2. The employees defined in the partner profiles (using position, user ID, or organizational unit).
    3. The employees appearing in both groups represent those who will receive a work item in their inboxes.
    Please give me reward point If it is useful
    Thanks
    Murali Poli

  • Send result e-mail automatically

    Hi,
    I've just finished my quiz asking a bunch of Word and Excel
    questions. The questions I added are a combination of Multiple
    choice questions and blank slides with a click-box (which has to be
    clicked on the good position to proceed).
    The results are published to an e-mail which will be sent to
    the tutor. Only problem is that when clicking the 'send e-mail'
    button at the results page, the e-mail is still editable. In this
    way it is possible to cheat (just change the values and then send
    it). Is there a way to have the e-mail sent automatically when
    finishing the last question (even without clicking a button to
    actually send the e-mail).
    The second thing I would like to add is a summary of the
    questions and all the given answers in such a way that the trainee
    is able to review the questions and the end of the test.
    Thanks in advance!

    Hi Fabrizio81 and welcome to our community
    Unfortunately, there is no easy way to accomplish what you
    are trying to do. About the only way I can fathom it happening is
    through some custom developed JavaScript.
    Warning - Theory ahead
    Using JavaScript combined with Captivate, you might be able
    to construct a form in the companion HTML page that Captivate
    produces when you output as .SWF and have the "Export HTML" check
    box selected. You could have some trigger that invokes JavaScript
    that would then interact with a hidden form on the companion page.
    This hidden form would then interact with some PHP scripting on a
    server that would send E-Mail from the server side and the user
    would be totally unaware.
    Again, this is total theory at this point. I'll have to put
    it to the test soon and see if I can make it fly, as I do have all
    the building blocks configured to do so.
    I'll post back with specifics after I test.
    As for the summary bit, that too may be possible using
    JavaScript, but it would be more tricksy to accomplish. Certainly
    cannot do this with Captivate "As Is". I'll ponder that one.
    Cheers... Rick :)

  • Automatic Mail Sending in Java/JSP/Servlets

    Hi,
    How to send mails with a specified format automatically after a stipulated no of days when the user does not access a file/page.
    TIA

    1. In your web application, have a database that keeps track of when a user accesses a page.
    2. Once a day, run a program that scans that database looking for cases when a user has not accessed a page for N days, or whatever your criterion is. Use JavaMail to send an e-mail message to each of those users.
    If you have specific questions about any of these things, don't hesitate to ask them in the appropriate forum.

  • Using javamail to send automatic mails to an smtp server

    hello every body
    i'm trying to develop an application which will be implemented in a entreprise network (it's a project for my studies).
    this application will be web oriented and will consist on sending automatic mails to persons using the mail server of the entreprise.
    so i don't really know how to act, because i have to test my application by simulating the use of the mail server and i don't know how tu use a mail server for that, neither how to define the sender (because the operation will be automatic by a program), in other terms, i'm trying to send mail in a local network wich is connected to the internet.
    thanks for ur answers

    You can find "simulated" mail servers, good for
    testing, but it's probably not worth the effort.
    Just use your real mail server.
    Best would be to create an email address on your
    local mail server and use that as the From address
    for your automated mails.
    Don't forget to read the JavaMail FAQ.

  • I'm trying to off my email but when i go through mail,contacts,calendar it send me automatically to main screen. Any help pls??

    I tried to restart so many times but still not working, now my email is open and everybody can check it. Pls help

    I'm not at all sure about this - if it has any bearing is what I mean - do you have restrictions turned on?
    Settings>General>Restrictions>On.... if you do have it turned on, that can prevent anyone from making changes to email accounts. But the way you describe what is happening - it sounds like the Mail, Contacts, Calendars Setting is crashing for some reason. "Send me automatically to the main screen" sounds like a crash - that is what apps do when they crash or quit unexpectedly.
    I don't use restrictions and I've never seen them "in action" so to speak. I just assumed that if you had restrictions enabled, the setting is greyed out and "unselectable" if you will.
    The only other things I can think of that you can try are to reset the iPad and then restore it if that fails.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    If the setting went bad, I know of nothing else to try other than to restore.

  • Plz help : "AUTOMATIC" Mail sending

    Hey Friends
    Please see the word "automatic", as soon as user enters a good receipt in MB01 or MIGO, an automatic mail should be send to [email protected] stating:
    Material # XXXX quantity XXX has been received into Plant XXXX (field WERKS) Storage Location XXXX (field LGORT) and the date received in.
    Please tell me how to do this as automatic.
    i have found that data is stored in the MSEG table, but how to use it so that and automatic mail is send.
    Thanks

    Hi,
    To send an email please use this sample code:
    * Declarations.
    PARAMETERS: p_email(50) LOWER CASE.
    DATA: document_data LIKE sodocchgi1.
    DATA: t_content LIKE STANDARD TABLE OF solisti1.
    DATA: s_content LIKE solisti1.
    DATA: t_receivers LIKE STANDARD TABLE OF somlreci1.
    DATA: s_receivers LIKE somlreci1.
    START-OF-SELECTION.
    * Receivers.
    s_receivers-receiver = p_email.
    s_receivers-rec_type = 'U'.
    s_receivers-express = 'X'.
    APPEND s_receivers TO t_receivers.
    * Subject
    document_data-obj_descr = 'New mail from Sap'.
    * Body
    s_content = 'Hi,'.
    APPEND s_content TO t_content.
    CLEAR: s_content.
    APPEND s_content TO t_content.
    s_content = 'Test email from sap, please don''t reply to this email'.
    APPEND s_content TO t_content.
    CLEAR: s_content.
    APPEND s_content TO t_content.
    s_content = 'Thanks,'.
    APPEND s_content TO t_content.
    s_content = 'Naren.'.
    APPEND s_content TO t_content.
    * Send the email.
    CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
    EXPORTING
    document_data = document_data
    TABLES
    object_content = t_content
    receivers = t_receivers
    EXCEPTIONS
    too_many_receivers = 1
    document_not_sent = 2
    document_type_not_exist = 3
    operation_no_authorization = 4
    parameter_error = 5
    x_error = 6
    enqueue_error = 7
    OTHERS = 8.
    IF sy-subrc <> 0.
    MESSAGE e208(00) WITH 'Error in sending email :-(('.
    ELSE.
    MESSAGE s208(00) WITH 'Email sent :-))'.
    ENDIF.
    SUBMIT rsconn01 WITH mode = 'INT' AND RETURN.
    In order to do it automaticly either:
    - create program which will read a table and look for new entries and schedule it SM36
    - use workflow (configure event handling)
    Regards,
    Wojciech

  • Output--- automatic mail is not firing to sold to party.

    Dear Gurus,
        My client requirement is to sent mail to sold party when saving a sales order.
      For this I creted a new output type with following assignments
    In General data tab:acess sequence assigned and Access to conditions is checked
    In Default values tab: Dispatch time(send immadiately), transmission medium(External send), partner function(Sp
    ),Communication strategy(CS01) assigned.
    In Time tab: no information given
    In Storage system tab :Storage mode(print and archive),Document type(SDOORDER) info given.
    In Print tab: print parameters(sales org) assigned.
    In mail tab: nothing assigned.
    In sort order tab:nothing assigned
    In mail title and texts: En and DE languages are assigned.
    in processing routines: program and form routine is assgned.
    in partner functions: External send+ SP is maintained.
    and in condtion record maintained in VV11 tcode with details
    Partner function and in communication assigned printer and  selected check box print immadiately and release after out.
    But automatic mail is not firing when saving the sales order, but in change sales order in menu bar selected sales document and issue output to and selected print then mail is firing to the sold to party, pls tell me where i had done the mistake.
    Rgrads,
    kishore.
    Edited by: kishore gopala on Sep 13, 2008 1:42 PM

    Check whether you have maintained the email address in the customer master of Sold to party in the General Data>Address Tab> Under Communication Area??
    In the SCOT Transaction, check under SMTP (SMTP Mail Server)-->under INT (Internet) --> an  '*' asterisk has been maintained or not.
    Check the status of the email output in the Sales Order, is it showing with a green traffic light???
    If it is showing with a green traffic light you can manually see the status of the mail mesages in Transaction SOST.(by executing, by putting the Sender Id)
    If they have not gone you will be able to see them queued up there.
    Select the individual messages and press execute button. By doing this email outputs will be released.
    Hope this helps you.
    Caution: One word of caution is that SCOT is a very critical transaction. And if you are working on a live server, do not play with it as it controls the entire SAPconnect Administration Nodes.
    Hope this helps.
    Regards,
    Vivek

  • How to send an e-mail when the logger produces a severe error ?

    All,
    I'm using ADF Logger, and I wonder if there is the possibility to make the WLS to automatically send an e-mail when an error occurs.
    I've heard that that would be possible using log4j; would you mind to share some know-how ?
    Regards,
    Sergio

    Sergio,
    you better ask this here {forum:id=570} or {forum:id=729}
    Timo

Maybe you are looking for

  • How do I transfer my pictures from iPad to windows 7 operating computer?

    How do I transfer my pictures from iPad to windows 7 operating computer?

  • Toshiba X770 Not performing as it should.

    I purchased my Toshiba X770 around summer of last year for playing games on , which for a while it was doing very well, until recently the perfomance is non existant. Im playing a game called Team Fortress 2, which is not a very demanding game at all

  • LDAP failover - what happens when the primary LDAP server returns...?

    Hi, Got a question regarding LDAP failover... I`m running IMS5.2hf2.09 and when our corporate LDAP server has a hiccup the IMS box succesfully fails over to the next one according to the 'local.ugldaphost' configutil entry and the following entry is

  • Mapping InDesign style names to PDF tags

    I've mapped style sheet names to tags in InDesign, and they display correctly in the InDesign structure panel, but when I export a PDF, it is my style sheet names that persist in the PDF tag window. Any ideas how to fix this?

  • BOM validity by order batch (pharmacy)

    Dear PP Gurus, Currently we are implementing PP-PI in pharmacy. There is one requirement that i think it is impossible in PP-PI but maybe you can give me some idea about this. My client want the BOM validity is by batch. The change active is not by d