Sending alert emails from SharePoint

Hi all,
I'm having trouble sending emails from SP 2013. Can someone explain me in detail how to connect SP 2013 with Exchange 2010? The CRM and Exchange are located on two different servers.
Vlastimir Sindelic

With Exchange 2010, what you want is an Anonymous Receive Connector. In SharePoint, under Central Admin -> System Settings -> Outgoing email settings, you would specify the DNS name for the IP that is tied to the Anonymous Receive Connector.
Based on the defaults, you will need to add a second IP address to the Exchange server in order to support the Anonymous Receive Connector, and bind the Connector to that IP address.
Trevor Seward
Follow or contact me at...
&nbsp&nbsp
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

Similar Messages

  • How can I send an email from Sharepoint Online using sandbox solution?

    How can I send an email from Sharepoint Online using sandbox solution?
    If possible I do not want to use workflow.
    Is It possible to do it without using workflow?

    hello Steven Andrews,
    when any user sends a message using contact us page in SharePoint online.
    1. We are inserting item in Contact Us List . - This is working fine
    for anonymous users also. We have used Office365 anonymous codeplex wsp and it is working fine. Anonymous user is able to insert new record in the Contact Us List.
    2. Once, new record is inserted in Contact Us list, we want to fire email notifying thanks to the user on his email id as well as to our company x person for notification of new inquiry. 
    We tried using Workflow having impersonation step for  anonymous user but it is not working for Anonymous users. Workflow is able to sent the email if someone logged into system but not working for Anonymous user although workflow is getting started
    but not able to send email although used Imperonsation step.
    We are stuck into implementing second step.

  • Getting duplicate emails from SharePoint Report Library subscription.

    Getting duplicate emails from SharePoint Report Library subscription.
    Users are subscribed for each item in Report Library and it is scheduled to send email at 3 PM every day.
    But, intermittently users are getting duplicate emails.
    Please let me know on how to troubleshoot...

    If you have Exchange, you can track the email from there to see if that yields any value. You can also turn up the diagnostic logging in Central Admin -> Monitoring -> Configure diagnostic logging -> SQL Server Reporting Services, and selecting:
    Report Server Email Extension
    Report Server Schedule
    Report Server Subscription
    Turn them up to Verbose in the Trace log, then monitor the ULS log when you identify a user who has received duplicate emails.
    Trevor Seward, MCC
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Cannot send an email from my alias Mobile Me account from the iPhone.

    I have a Mobile Me email account which works perfectly on my Mac and iPhone. I created a an Alias Mobile Me Account on the web.
    I am able to create a new email from the alias account on the Mac.
    The iPhone will not recognize the alias account, I cannot add it or sync the account.
    I cannot send an email from my alias Mobile Me account from the iPhone.

    To all frustrated MobileMe alias owners who want to send email from iPhone - please go to the feedback area of the apple.com and leave messages regarding this issue. I had a lengthy conversation with a tech support guy who agreed that this is a needed fix - he said to initiate a grass roots effort - and that by all of us leaving messages it will eventually get attention and fixed. Why would Apple give us the ability to create alias's, use them on mobileme website, on our mac mail programs, but NOT the iPhone, which is the MOBILE device. Silly. Please protest!! Thanks.

  • I cannot send an email from my iPad 2? No problem receiving, why does this happen? Have tried the suggestions for setting up email and after doing the sync mail through iTunes receiving worked great but still cannot send? Any help would be great

    I cannot send an email from my iPad 2? No problem receiving, why does this happen? Have tried the suggestions for setting up email and after doing the sync mail through iTunes receiving worked great but still cannot send? Any help would be great!

    The fact that you can receive means you have a valid e mail address, and have established the connection to the incoming server, so all of that works.  Since the send does not work, that means your outgoing server is rejecting whatever settings you used formthe outgoing set up.  Try them again. 
    Google your particular isp, and ipad and many times you will find the exact settings needed for your isp.  Or tell us here, and soneone else may be on the same isp.  Some mail services need you to change a port, or have a unique name for the outgoing server.  
    Kep trying.

  • TS3899 When sending email from the Mail App or through other Apps, my default From: address will change when I enter a To: address.  This sometimes leads me to send the email from the wrong outgoing email account.  It is frustrating and poor design.

    When sending email from the Mail App or through other Apps on my iPad, my default From: address will change when I enter a To: address.  This sometimes leads me to send the email from the wrong outgoing email account.  It is frustrating and poor design, especially since I had already checked the From: address.
    iPad 4 running iOS 8.1.3

    3rd party email addresses have to be deleted on every synmced mac product, although I have 1and1.co.uk and my imac updatetes the mails in that account from mac mail.
    Yahoo etc is a 2 step deleting process but good to get your emails pushed when on the go.
    LJ
    http://www.facebook.com/The.Cowboy.Party

  • I am sending an email from one account on iphone 4s but the replies are coming into another account on my phone

    I have had an iphone 4s for about a year and have 4 email accounts that come in on it: verizon, gmail, my work, and icloud.  Periodically, I send an email from one account, it shows the message as sent from that account in my sent mail, but the recipient receives it from the gmail account and therefore replies to the gmail.  Has anyone had this happen?  It is almost as if my messages are bouncing into gmail when I send them, although on my phone it shows as having been sent from another account.  I have not had this happen on my computer where I have all of these emails coming in as well.  I thought perhaps it was me not being careful about which account I was sending from when using my phone, but the mail I sent this morning I was very careful to make sure was from verizon, the sent mail on my phone shows it was sent from verizon, and the reply came in on gmail.  Gmail isn't even the default email address- verizon is! My iphone is using version 6.1.3. Does anyone have any ideas? This is a major problem for me so I appreciate any ideas!  Thank you!!!

    I am not sure whether this is related, but I had a problem with Gmail where each time I sent and email via my iPhone it would bounce back in my Gmail account as unread. You migh want to check this Google article explaining why this happens and how to avoid it:
    https://support.google.com/mail/answer/1710338?ctx=gmail&hl=en-GB&authuser=0

  • I cannot send Yahoo eMail from iPad or iPhone, but I can receive

    I cannot send Yahoo eMail from iPad or iPhone, but I can receive.

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    iPad Mail
    http://www.apple.com/support/ipad/mail/
     Cheers, Tom

  • I send an email from my Iphone to a friend.  My friend receives it on her Iphone, but as text message.  She replies and it goes back to my daughter's phone, a completely different email and phone number.  Why?

    I send an email from my Iphone to a friend.  My friend receives it on her Iphone, but as text message.  She replies and it goes back to my daughter's phone, a completely different email and phone number.  Why?

    We went through my friend's phone and my daughter's email and phone number are not in it.  I have never given my daughter's iphone number to my friend.  Is it something to do with gmail or my apple id?  My daughter (14) has been using my computer as her "base" for HER Iphone. 
    My friend does use her iphone number as an email address as well.
    For instance:  her phone number might look like this:  (493) 305-3958
    and her email address would look like this:  [email protected]
    If I Iphone/email my friend, she receives it as a text message.  Then if she replies to that text message, it goes to my daughter's phone and not mine.  It's completely crazy!  We searched her phone contacts and did not find my daughter's phone number anywhere or attached anywhere to mine.  Since when does Iphone emailing wind up in the text messaging area?

  • HT1688 How do I send an email from my Iphone to a "group" that I have established in my Yahoo account

    How do I send an email from my Iphone to a "group" that I have established in my Yahoo account?

    So I have bought a couple of apps on my iphone and would like to transfer them to my itunes library, but not sure how.
    iTunes > File > Transfer purchases
    When I plug in my iphone and try and sync the two, I get a warning from itunes that everything on my iphone will be wiped and everything from my itunes library will be moved to it.
    Have you changed the computer you are syncing with?

  • Sending encrypted emails from the iPad is not working

    I can't get sending encrypted emails working on my iPad3 running iOS 8.0.2
    Let me explain what I did:
    1. I created S/MIME certificates for 2 email addresses on my iMac in Keychain Access. One email address exists only on the iMac the other only on the iPad.
    2. I set "When using this certificate" to "Always Trust" in both certificates.
    3. I exported 1 S/MIME certificate (p12) and installed it on the iPad. Then I deleted this certificate and its private&public keys in iMac Keychain Access
    4. I exchanged public certificates between the 2 devices. I installed one certificate in iMac Keychain Access and the other in iPad/Settings/General/Profiles.
    5. On the iMac in the iPad certificate I set "When using this certificate" to "Always Trust"
    6. I tested whether I can send and receive signed and/or encrypted emails
    Results:
    1. From the iMac I can send signed and/or encrypted emails to the iPad.
        On the iPad I can read the encrypted emails. The signature is not trusted
    2. On the iPad I can send signed messages to the iMac. On the iMac the signature is trusted.
        I cannot send encrypted emails from the iPad to the iMac. The iPad doesn't know about the public certificate in iPad/Settings/General/Profiles
    So much for the straight forward part. Now it gets a bit more complicated and confusing.
    1. I deleted the iMac certificate in the iPad/Settings/General/Profiles. Then in iPad Mail I opened the signed mail coming from the iMac.
        I viewed the untrusted certificate in Mail and installed it. From this point on all signed emails from the iMac are trusted.
        Strangely the by this method installed certificate doesn't appear in iPad/Settings/General/Profiles.
        Furthermore I still cannot send encrypted messages to the iMac. This certificate installation seems to be used only to check trust worthiness of the signature.
        Installing on top the iMac public certificate in iPad/Settings/General/Profiles doesn't enable to send encrypted messages from the iPad either.
    To be sure that this problem relates to the iPad certificate management and is not related to an error by me I did the following:
    1. I transferred a p12 file for a certificate that I created in my iMac to a PC running Windows7.
    2. I transferred a p12 file plus its public key (.pem) that I created in my iMac to another iMac into Keychain Access. (I have not tested if the pem is needed).
    3. On the other iMac and the PC I made sure that the certificates are trusted.
        On the PC that means in the Certificate Manager the p12 needs to be in the "Personal" folder and in the "Trusted Root Certification Authorities" folder.
        The public keys need to be in the "Trusted People" folder and the "Other People" folder. One can just copy/paste the certificates.
    4. In both cases I deleted the certificate and public/private keys on my iMac.
    5. I exchanged public certificates between the devices.
    6. I tested exchanging signed and/or encrypted emails between my iMac and the PC and my iMac and the other iMac.
    Result:
    1. I can send signed and/or encrypted emails to the other iMac and the PC
    2. The PC and the other iMac trust the signature from my iMac and can read the encrypted emails
    3. My iMac can read encrypted emails from the PC and the other iMac
    4. My iMac trusts emails with signatures from the PC and the other iMac.
    Everything is working as it should.
    After the above test I wanted to see whether I can set up encrypted email exchange between the iPad and the PC. Strangely iPad Mail recognized the public certificate from the PC installed in iPad/Settings/General/Profiles and allowed me to send an encrypted email to the PC. However, on the PC I was unable to read the encrypted email. And the other way around, encrypted emails send from the PC to the iPad cannot be read on the iPad.
    My conclusion from all this testing is that iPad mail encryption is still "under construction".

    I was able to resolve the above described problem to some degree. Setting up sending and receiving encrypted emails between iOS and OSX I have working.
    What is still not working is reading encrypted emails on the iPad/iOS8 received from Windows 7 PC. And sending encrypted emails to Windows 7 PC.
    The details about how I solved part of the problem are described here.

  • My wife and I have iPhones 4s,s. We also have an iPad. We share hue same email address. When I send an email from my phone or the iPad it looks as if it comes from my wife instead of me(her name comes up as the person who sent it) I want my name on the ma

    My wife and I have a iPhone 4S each and an I pad. When I send a email from my phone and from my iPad her name comes up as the sender. We only have one contact email address and that is the way we warn to keep it.
    Please can someone tell me how  I can change this so when I send a mail from my phone and from the IPad that it reads from me.
    Thanks

    Rectory wrote:
    Please can someone tell me how  I can change this so when I send a mail from my phone and from the IPad that it reads from me.
    You need a separate email address but you've already ruled out that solution.

  • Sending an email from within a program

    Hi,
    I am using SO_DOCUMENT_SEND_API1 to send an email from a program. Everything works fine, but the users don't want to see the popup message titled 'SAPconnect Send Process - List of Sent Objects'.
    Is there anyway I can supress this message from the program, or is it a setting in SAPconnect?
    Thanks
    Lindy

    If your are calling RSCONN01 after your function module then remove the submit of RSCONN01. This program will run scheduled every 1 to 5 minutes anyway as background job by the basis .

  • Sending An email from BSP

    Hi All
    i need to send an email  from BSP application when check box is clicked .
    I have the details such as pernr of an employeee by using this i need to retrieve email id of that employee and have to send an email to that employee with some text
    1. How  to retireve email id of an employee using pernr 
    2.How to send email from bsp application
    Thanks

    Hi ,
    <b>To get the Email for the given PERNR:</b>
    * Get the Communication detail from Infotype 0105
          SELECT
           USRID_LONG
           FROM PA0105 INTO
             RECEIVER_EMAIL
           WHERE PERNR = PERNR AND
                 BEGDA <= SY-DATLO     AND
                 ENDDA >= SY-DATLO     AND
                 SUBTY = '0010'
    <b>Look at this code which will send a email from BSP..</b>
    DATA:
       SEND_REQUEST       TYPE REF TO CL_BCS,
       DOCUMENT           TYPE REF TO CL_DOCUMENT_BCS,
       SENDER             TYPE REF TO CL_SAPUSER_BCS,
       RECIPIENT          TYPE REF TO IF_RECIPIENT_BCS,
       EXCEPTION_INFO     TYPE REF TO IF_OS_EXCEPTION_INFO,
       BCS_EXCEPTION      TYPE REF TO CX_BCS,
       WA_MESSAGE TYPE BAPIRET2.
      DATA:
       LEN   TYPE I,
       TEXTLENGTH TYPE SO_OBJ_LEN,
       ITAB_MESSAGE TYPE SOLI_TAB,
       WA_SOLI TYPE SOLI.
    *Load class defnitions
      CLASS CL_CAM_ADDRESS_BCS DEFINITION LOAD.
      CLASS CL_ABAP_CHAR_UTILITIES DEFINITION LOAD.
    * Create persistent send request
      TRY.
          SEND_REQUEST = CL_BCS=>CREATE_PERSISTENT( ).
    * Format the message content to be sent into internal table
          IF NOT MESSAGE IS INITIAL.
            WA_SOLI-LINE = MESSAGE.
            APPEND WA_SOLI TO ITAB_MESSAGE.
          ELSE.
            WA_MESSAGE-MESSAGE = `Enter some Message and then Click "Send Your Message" button.`.
            APPEND WA_MESSAGE TO RETURN.
            ERROR = 'X'.
            RETURN.
          ENDIF.
          LEN = STRLEN( MESSAGE ).
          TEXTLENGTH = LEN.
    * Create document
          CALL METHOD CL_DOCUMENT_BCS=>CREATE_DOCUMENT
            EXPORTING
              I_TYPE    = 'RAW'
              I_SUBJECT = SUBJECT
              I_LENGTH  = TEXTLENGTH
              I_TEXT    = ITAB_MESSAGE
            RECEIVING
              RESULT    = DOCUMENT.
    * Add document to send request
          CALL METHOD SEND_REQUEST->SET_DOCUMENT
            EXPORTING
              I_DOCUMENT = DOCUMENT.
    * Get sender object
          CALL METHOD CL_SAPUSER_BCS=>CREATE
            EXPORTING
              I_USER = SY-UNAME
            RECEIVING
              RESULT = SENDER.
    * Add sender
          CALL METHOD SEND_REQUEST->SET_SENDER
            EXPORTING
              I_SENDER = SENDER.
    * Create recipient
          CALL METHOD CL_CAM_ADDRESS_BCS=>CREATE_INTERNET_ADDRESS
            EXPORTING
              I_ADDRESS_STRING = RECEIVER
            RECEIVING
              RESULT           = RECIPIENT.
    * Add recipient with its respective attributes to send request
          CALL METHOD SEND_REQUEST->ADD_RECIPIENT
            EXPORTING
              I_RECIPIENT  = RECIPIENT
              I_EXPRESS    = ' '
              I_COPY       = ' '
              I_BLIND_COPY = ' '.
          SEND_REQUEST->SET_SEND_IMMEDIATELY( 'X' ).
    * Send document
          CALL METHOD SEND_REQUEST->SEND
            RECEIVING
              RESULT = SENT.
          IF SENT IS NOT INITIAL.
            COMMIT WORK.
            WA_MESSAGE-MESSAGE = 'Your Message sent Successfully!!!'.
            APPEND WA_MESSAGE TO RETURN.
          ELSE.
            ERROR = 'X'.
            WA_MESSAGE-MESSAGE = 'Your Message could not be sent. Please try again later'.
            APPEND WA_MESSAGE TO RETURN.
          ENDIF.
        CATCH CX_ADDRESS_BCS .
        CATCH CX_SEND_REQ_BCS.
        CATCH CX_DOCUMENT_BCS.
          WA_MESSAGE-MESSAGE = 'Your Message could not be sent. Please try again later'.
          APPEND WA_MESSAGE TO RETURN.
          ERROR = 'X'.
      ENDTRY.
    Raja T

  • Sending an email from a servlet

    Hi Guys,
    Im trying to send an email from a servlet. I am using the following code:
    IMPORTING LIBRARIES
    import java.util.*;
    import java.io.*;
    import javax.servlet.http.*;
    import javax.servlet.*;
    //importing JDBC
    import java.sql.*;
    //email
    import java.net.*;
    import java.text.*; // Used for date formatting.
    BEGIN CLASS
    public class Email3 extends HttpServlet
         private Socket smtpSocket = null;
         private DataOutputStream os = null;
         private DataInputStream is = null;
    public void doPost (HttpServletRequest req, HttpServletResponse res)
    throws ServletException, IOException
    PrintWriter out = res.getWriter();
    OUTPUT TAGS FOR WEBPAGE
         out.println("<html>");
    out.println("<head>");
    out.println("<title>FYP</title>");
    out.println("</head>");
    out.println("<body>");
    out.println("<center>");
    send email
              //Date dDate = new Date();
              //DateFormat dFormat = _
         //DateFormat.getDateInstance(DateFormat.FULL,Locale.US);
         String m_sHostName="localhost";
         int m_iPort=25;
              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.
                        out.println("Connection was made. Socket is ready for use.");
                        //[ Code to send email will be placed in here. ]
                        try
                             {   os.writeBytes("HELLO\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");
                             String 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);
                             out.println("responseline= "+responseline+"<br>");
                             if(responseline.indexOf("Ok") != -1)
                                  //out.println("responseline"+responseline);
                             break;
                             catch(Exception e)
                             {  System.out.println("Cannot send email as an error occurred.");
                                  out.println("Cannot send email as an error occurred.");
              catch(Exception e)
              { System.out.println("Host " + m_sHostName + "unknown"); }
              out.println("</center>");
              out.println("</body>");
              out.println("</html>");
              out.close();
    }//end class
    it compiles fine, the connection was made ok but im not receiving the email. When the email is sent off the server reply does not seem to be Ok, as the print statement i tried there is not being executed. When i print the content of my responseline= variable before the if statement i get the following:
    Connection was made. Socket is ready for use. responseline= 220 centaur.elec.qmul.ac.uk ESMTP Exim 3.16 #2 Thu, 09 Jan 2003 15:54:34 +0000
    responseline= 500 Command unrecognized
    responseline= 250 is syntactically correct
    responseline= 550 relaying to prohibited by administrator
    responseline= 500 Command unrecognized
    responseline= 503 No recipient(s).
    responseline= 500 Command unrecognized
    responseline= 500 Command unrecognized
    responseline= 500 Command unrecognized
    responseline= 500 Command unrecognized
    responseline= 500 Command unrecognized
    responseline= 500 Command unrecognized
    responseline= 500 Command unrecognized
    responseline= 500 Command unrecognized
    responseline= 221 Closing connection. Good bye.
    Can anyone help?
    Is there an easier way to send an email from a servlet?
    Thanks
    tzaf

    It's not a matter of "easier way" to send mail from servlet...you are missing a crucial element in your code: authorization to send mail. You need something like this (some of which you have already so note what is different):
            Properties properties = new Properties();
            properties.put("mail.smtp.host", String3 );
            properties.put("mail.smtp.dsn.notify", "SUCCESS" );
            properties.put("mail.smtp.host", "mailservernamegoeshere");
            properties.put("mail.smtp.auth", "true");
            MyAuthenticator auth = new MyAuthenticator();
            auth.setUser("user whos account you want to use goes here");
            auth.setPassword("user password goes here");
            Session session = Session.getDefaultInstance( properties,auth );Here is the auth class:
    class MyAuthenticator extends Authenticator {
       protected String m_strUser     = null;
       protected String m_strPassword = null;
       protected PasswordAuthentication getPasswordAuthentication()  {
          return new PasswordAuthentication(m_strUser,m_strPassword);
       public void setUser(String strUser)  {
          m_strUser = strUser;
       public void setPassword(String strPassword)  {
          m_strPassword = strPassword;

Maybe you are looking for