Email from Application to clients

Hi, Experts
Is there any way we can also start a process that when we receive an order and this is input to our SAP B1 then automatic email similar (not the same but similar) go to the customer automatically. Similarly once the item delivered and installed another email can do confirming all this with an attachment of the bill?
Regards

Hi Zubair.......
Off course its possible. You can do it via SDK.
You have to define some standard Email Template as per the document. So whenever you add the document
It will send the mail alongwith PDF attachment and the Email Text will be your predefined Text.
Regards,
Rahul

Similar Messages

  • EMAILING FROM APPLICATION

    Hi:
    In our application we have created a unix shell script and SQR that combine to help us send emails from the application. It works great when we are sending text messages. However, somebody has asked us to find if we can send attachments. The SQR uses "/usr/ucb/Mail" to send emails. I was wondering if anybody out there is familiar with this executable and if they can give me a hint as to how to send file attachments. I tried differnt syntax combos and cannot make it work.
    Any help would be greatly appreciated.
    Thanks,
    Thomas

    You can try something like this:
    import sun.net.smtp.SmtpClient;
    SmtpClient smtp = new SmtpClient();
    smtp.from("fromUser");
    smtp.to("toUser");
    PrintStream msg = smtp.startMessage();
    msg.println();
    msg.println("This is the body of the email...");
    smtp.closeServer();
    (This example assumes you have access to a mail server). Just one possible solution -- hope it helps!
    -sheepy.

  • Can i send a email from application without using exchange server?

    Hello
    I am developing a 3 tier application using EJB, JSP....and i want to incorporate the mail sending facility.
    Can i send a email from the application without using exchange server?
    plzz help!!!!
    Pavan

    You will require some kind of SMTP server to be able to send mail from your app (not necessarily M$ exchange.) Just look for mail servers for the platform of your choice.
    Vijayan

  • Sending emails from application

    Hello techies,
    I want to send emails from my application.
    Iam using java.net.*,java.util.*,java.io.*; packages upto now .
    I dont want to use javax.mail.* package.
    What is the alternative to my problem. Is there any package or class which is usefull to send mails????
    regards,
    ramu

    Sending email using SMTP and Java
    I was on a project a while ago where we needed to be able to send email notifications from the application to the administrator of the database whenever certain errors were trapped. This example shows you how. There are a few libraries that we will need to add in order to get started.
    Include the following in your project:
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import java.text.*;     // Used for date formatting.
    After you have added the above libraries you are ready to start to get into the good stuff!
    The first step to be able to send email it to create a connection to the SMTP port that is listening. Most of the time the SMTP port for a server is usually 25 but check with your email administrator first to get the right port.
    Here is the code to make that initial connection:
    private Socket smtpSocket = null;
    private DataOutputStream os = null;
    private DataInputStream is = null;
    Date dDate = new Date();
    DateFormat dFormat = _
        DateFormat.getDateInstance(DateFormat.FULL,Locale.US);
    try
    { // Open port to server
      smtpSocket = new Socket(m_sHostName, m_iPort);
      os = new DataOutputStream(smtpSocket.getOutputStream());
      is = new DataInputStream(smtpSocket.getInputStream());
      if(smtpSocket != null && os != null && is != null)
      { // Connection was made.  Socket is ready for use.
        [ Code to send email will be placed in here. ]
    catch(Exception e)
    { System.out.println("Host " + m_sHostName + "unknown"); }
    Now that you have made the connection it is time to add the code to send off the email. This is pretty straight forward so I will add comments into the code sample itself.
    try                       
    {   os.writeBytes("HELO\r\n");
        // You will add the email address that the server
        // you are using know you as.
        os.writeBytes("MAIL From: <[email protected]>\r\n");
        // Who the email is going to.
        os.writeBytes("RCPT To: <[email protected]>\r\n");
        //IF you want to send a CC then you will have to add this
        os.writeBytes("RCPT Cc: <[email protected]>\r\n");
        // Now we are ready to add the message and the
        // header of the email to be sent out.               
        os.writeBytes("DATA\r\n");
        os.writeBytes("X-Mailer: Via Java\r\n");
        os.writeBytes("DATE: " + dFormat.format(dDate) + "\r\n");
        os.writeBytes("From: Me <[email protected]>\r\n");
        os.writeBytes("To:  YOU <[email protected]>\r\n");
        //Again if you want to send a CC then add this.
        os.writeBytes("Cc: CCDUDE <[email protected]>\r\n");
        //Here you can now add a BCC to the message as well
        os.writeBytes("RCPT Bcc: BCCDude<[email protected]>\r\n");
        sMessage = "Your subjectline.";
        os.writeBytes("Subject: Your subjectline here\r\n");
        os.writeBytes(sMessage + "\r\n");
        os.writeBytes("\r\n.\r\n");
        os.writeBytes("QUIT\r\n");
        // Now send the email off and check the server reply. 
        // Was an OK is reached you are complete.
        String responseline;
        while((responseline = is.readLine())!=null)
        {  // System.out.println(responseline);
            if(responseline.indexOf("Ok") != -1)
                break;
    catch(Exception e)
    {  System.out.println("Cannot send email as an error occurred.");  }I hope this has helped you out!
    [i code above code from someone else,  thanks to him, her ]

  • Not receiving emails from certain people/clients?

    Hi like the tiltle says, i'm not receiving emails from certain clients.
    it doesnt even go into spams, there is no trace at all... like it was never sent
    this makes me worries about how many other emails i've never received
    this particular domain is a domain that i own, and hosted on a dedicated server (i'm the one sending the emails)  i was doing tests before moving that specific site to BC.
    i've tested with a bunch of other accounts that i own and i'm receiving them no problem on my gmail account, and other accounnt that i have on a dedicated server)
    But from that specific domain ie: thatdomain.com i'm am not receiving anything in any accounts of my partner domain.
    where should i look?
    help
    Doesnt help me loving BC, i'v been having a bunch of deceptions ever since i "made the big move"

    Just FYI, everyone here is just a fellow user. .Mac employees provide no technical support here and probably never read any of these posts. If you want to contact .Mac support, you need to fill out and submit the form on this web page. When you fill out the form, provide as much detail as possible - the most important items will be the domain(s) (i.e. someplace.com) that the problem emails are being sent from.
    Good luck.

  • Email from Application

    From the application level, how can I send an email to an assigned resource once the 'Create' button is clicked. I have a table set up with the columns below. End user accounts have also been set up with PERSON_EMAIL as their username.
    PERSON_ID - NUMBER (pk)
    PERSON_NAME - VARCHAR2(100)
    PERSON_EMAIL - VARCHAR2(100)
    PERSON_ROLE - VARCHAR2(255)
    ASSIGNED_PROJECT - NUMBER

    Hello,
    You can create an after submit process like:
    declare
      v_body varchar2(4000);
    BEGIN
      v_body := 'Person Name: ' || :P1_PERSON_NAME;
      v_body := v_body || CHR(10) || CHR(13) || 'Email: '       || :P1_EMAIL;
      apex_mail.send(p_to => '[email protected]', p_from => :P1_EMAIL, p_body => v_body, p_subj => 'Info');
    END;--
    Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/
    http://www.apexblogs.info/

  • Cannot send email from yahoo mail client

    I cannot open or send or attach anything to my email in the yahoo mail.  I know there's nothing wrong with the email because it works on my laptop, just not on my computer.  Could there be a setting problem, or a cookie problem or something?
    I also cannot open Bonjour to see my printer settings.  Everything was working fine yesterday.

    outgoing mail server
    SMTP - Yahoo! SMTP Server
    primary server
    Yahoo! SMTP server - ON
    server port 465
    That's what I have for my yahoo account.

  • Why do emails from Business Catalyst site not show up on iPhone?

    I have an email setup on my own Business Catalyst website with a few alias's. The email account is setup in my Outlook 07 Windows 7 64 pro desktop, and I can send and receive emails from all of the alias's and the main email. However I am noticing that on some emails from clients, I get the email on my desktop Outlook 07, but it never shows up on my iPhone.
    EXAMPLE: Today I received an email at 12:57pm. It shows on my desktop. But never showed up on my iPhone. Once I saw this I forwarded the message from my desktop to the same email address that my client had sent his email to. Once I did that I did get the forwarded email of the original email on my iPhone. And yes, I have received other emails from the same client email address before on several occasions.
    Problem is that I left my office at 12:15 and did not see this 12:57 email until I got back to the office much later in the day.  And thus, ending my day very badly due to.....???      A) the Business Catalyst email I have setup is not setup correctly  B) my email settings in my iPhone is not setup correctly.
    Wondering if anybody else has experienced the same issue and figured out what step was missed.

    Hi bluetaildesign,
    Not sure how is that working on one instance but not other. Can you please try to use mail.b.hostedemail.com as incoming and/or outgoing mail server on iphone and try again. This hostname has the SSL certificate installed on it and can be used for transferring the emails in a secured manner. 
    Hope that helps!
    Kind Regards,

  • Copy email from outlook/thunderbird into adf screen

    Hi
    I would like to create a screen using jdeveloper/adf 11g where the user can fill in some information and drag and drop an email from a mail client e.g. outlook or thunderbird to the screen and have the information provided by the user and the email subject line, message and addressee list (including any attachments) stored in the database.
    I can find lots of information about sending emails from a jsp page but have no idea how to "receive" one.
    Does anyone have any thoughts on how to do it please?
    I think I could work out how to do it if the email was being processed by a job running on the database or on a mail server using javamail but I really wanted to do it via a screen as it needs some user input to classify the email and provide some info for storage.
    Thanks in advance
    Dave

    Hi TeaWatch,
    To copy e-mail message to office format with powershell, these scripts may be helpful for you:
    Convert an Email Message to a Text File:
    http://gallery.technet.microsoft.com/office/a00d133e-dd1e-471d-a999-7d72685b5ba5
    You can also save your e-mail as .msg file, then run the script below:
    How to Convert MSG Files to DOC Files using PowerShell
    I hope this helps.

  • Sending email from a user in another AD Domain

    Hi All
    I have two AD domains, domainA and domainB.  domainA is running Exchange 2010, domainB has no exchange at present. 
    I have users that exist in both domains.  I have setup trusts between domains.
    I want to be able to send emails from an outlook client and user in domainB using Exchange in domain.
    I have the user setup with Outlook 2010 and can see emails coming in but cannot send emails.  I get the message " Delivery has failed to these recipients. You cannot send a message on behalf of this user unless you have permission to do so. 
    Please make sure your sending on behalf of the correct sender or request the necessary permissions."
    As far as I can see I have granted rights to send.  Can anyone give me a step by step guide as to how I can achieve what I'm looking for.
    Thanks in advance
    Darren

    Hi  Ware
    Thank you for your question.
    By your state, I think you can configure exchange 2010 to accept e-mail for more than one authoritative domain ,
    you can refer to the following link:
    http://technet.microsoft.com/en-us/library/aa996314(v=exchg.141).aspx
    you can refer to the following link ,because he has similar error with you.
    https://social.technet.microsoft.com/Forums/exchange/en-US/3b19cc0f-724d-4564-99ed-022db97ef15e/configuring-exchange-2010-to-send-and-receive-email-from-multiple-domains?forum=exchange2010
    If any questions, please let me know.
    Best Regard,
    Jim Xu

  • When I delete an email from my hotmail account in the 'mail' application on my MacBook Pro, it is not deleted from the same 'mail' application on my iPhone 4s which my hotmail account has also been added. I thought my emails were synced over iCloud?

    It is so frustrating because I cannot understand what is wrong. When I add an event to my calender on my iPhone it appears in my calender on my MacBook which is perfect and very convenient. The same thing occurs with reminders; everything syncs perfectly here. However when I delete an email from my MacBook from the 'mail' appliaction it doesn't delete from the same built-in application on my iPhone. This is extremely frustrating as I have to delete the same email twice on two different devices. I'd appreciate any feedback that would help resolve this problem!

    Calendars (and contacts) can "sync" between your MBP and your iPhone through iCloud because they really live on the iCloud servers and the two devices are clients. iCloud can accomplish much the same trick for email messages because the email really resides on iCloud email servers.
    If the email resides on some other server, that server is responsible for whatever syncing will be done. IMAP servers like the iCloud servers are built for such syncing; other mail servers may or may not be. iCloud would not be involved with email other than iCloud email.
    I understand Hotmail has been changing how their email servers are accessed. Check with Hotmail support for any changes you may need to make to keep up.

  • Problems viewing email from outlook clients

    hey
    i am getting something like this on my apple mail when viewing email from outlook with attachments
    ------=_NextPart_00101C8CF90.2BC31259
    Content-Type: text/plain;
    charset="iso-8859-1"
    content-transfer-encoding: quoted-printable
    <<mehlerkabelkatalog bmakabel.pdf>> detto
    Lg frb
    -----Urspr=FCngliche Nachricht-----
    Von: Name changed
    Gesendet: Montag, 16. Juni 2008 09:53
    An: 'Name changed'
    Cc: 'IName changed'
    Betreff: mehlerkabelkatalog bmakabel.pdf
    zum hinzuf=FCgen
    Lg frb
    ------=_NextPart_00101C8CF90.2BC31259
    Content-Type: application/octet-stream;
    name="mehlerkabelkatalog bmakabel.pdf"
    Content-Transfer-Encoding: base64
    Content-Disposition: attachment;
    filename="mehlerkabelkatalog bmakabel.pdf"
    JVBERi0xLjMKJcfsj6IKNSAwIG9iago8PC9MZW5ndGggNiAwIFIvRmlsdGVyIC9GbGF0ZURlY29k
    ZT4CnN0cmVhbQp4nNVcyZKcN46+11PkMXOm6jf35Si13avdM9PWaCKmew61ZC1TlSW5Fsuhpo3
    this goes up to a kilometer down and attachment not readable
    i am using mac os x on english with german keyboard layout
    what i can see is that the text encoding wont change anything
    any clues
    J

    Unfortunately - this happens with Outlook generated messages on occasion. Sometimes even Entourage can't cope. I find that the Gmail web interface does a pretty good job of dealing with messages that nearly every other email client fails with.
    Equally, there are occasionally problems for Outlook users when they receive messages from Thunderbird users.
    I am convinced that the problem lies in Outlook, and that there is little you can do about it.
    Sorry to be the bearer of bad news. Perhaps I am wrong.... (hint for someone else to come in with a solution).

  • Send email from within apex 2.1 application

    Hello,
    I like to send email from within apex application. I use oracle 10g xe with apex 2.1
    thx for advice
    Edited by: wucis on Feb 27, 2012 11:49 AM

    That is a very old version indeed. The documentation for sending emails from Apex 2.2 is here:
    http://docs.oracle.com/cd/B31036_01/doc/appdev.22/b28550/advnc.htm#BABJHJJF

  • File from application server-- Email ?

    Hi,
    I need to pickup a file from application server and Email the same to the intended receipents through ABAP program
    For that i had used the following code:
    REPORT  ZEMAIL_APP_SER_FAIL.
    DATA :is_doc_chng        TYPE sodocchgi1,
          it_objtxt          TYPE STANDARD TABLE OF solisti1,
          is_objtxt          TYPE solisti1,
          it_objpack         TYPE STANDARD TABLE OF sopcklsti1,
          is_objpack         TYPE sopcklsti1,
          it_objbin          TYPE STANDARD TABLE OF solisti1,
          is_objbin          TYPE solisti1,
          it_reclist         TYPE STANDARD TABLE OF somlreci1,
          is_reclist         TYPE somlreci1,
          w_lines_tx         TYPE i.
    ** Create Message Body
    **   Title and Description
    *is_doc_chng-obj_name  = 'MAIL'.
    is_doc_chng-obj_descr = 'Auto genareted Mail from Application server'.
    ** main text
    is_objtxt-line = 'This is an automatically generated mail. Please do not reply  to it.'(028).
    APPEND is_objtxt TO it_objtxt.
    is_objtxt-line = space.
    APPEND is_objtxt TO it_objtxt.
    *   write packing list (main)
    DESCRIBE TABLE it_objtxt LINES w_lines_tx.
    READ     TABLE it_objtxt INTO is_objtxt INDEX w_lines_tx.
    is_doc_chng-doc_size = ( w_lines_tx - 1 ) * 255 + STRLEN( is_objtxt ).
    CLEAR is_objpack-transf_bin.
    is_objpack-head_start = 1.
    is_objpack-head_num   = 0.
    is_objpack-body_start = 1.
    is_objpack-body_num   = w_lines_tx.
    is_objpack-doc_type   = 'CVS'.
    is_objpack-OBJ_NAME   = 'GIND_EXP'.
    is_objpack-Obj_langu  = 'E'.
    APPEND is_objpack TO it_objpack.
    is_reclist-receiver = 'XXX'@'YYY'.COM'.
    is_reclist-rec_type = 'A'.
    Break-point.
    *is_reclist-REC_ID   =  'XXX@YYY'.COM'.
    APPEND is_reclist TO it_reclist.
    CLEAR is_reclist.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
       document_data              = is_doc_chng
       put_in_outbox              = 'X'
       commit_work                = 'X'
    TABLES
       packing_list               = it_objpack
       contents_txt               = it_objtxt
       receivers                  = it_reclist
    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 NE 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
             WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    when i execute this program:
    I get the following error msg:
    Activation setting not yet maintained
    May i know what is the problem?

    If you are sending an email, the receiver type should be U (internet mail address type). From your code it appears that you have input it as 'A'. I am not sure if the error message is related to this. Have you checked in transaction SOST, whether an email has been triggered from your program? At what point of execution is this error message triggered?

  • Sending EMail "Text-File" from Application Server!

    Hi Experts,
    how can I sending a Text-File from Application Server via Email?
    Is there existing a Function Modul?
    With Kind regards
    Ersin
    Moderator message: sending emails = FAQ, please search before posting.
    Edited by: Thomas Zloch on Nov 25, 2010 4:23 PM

    STF (Search the forum)!  This type of question has been asked...and answered....many times.

Maybe you are looking for