.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

2010 E-Mail Alerts with External SMTP Mail Server

Posted By:      Posted Date: October 25, 2010    Points: 0   Category :SharePoint

I'm using SharePoint Server 2010 internally for testing purposes/development purposes.  I don't have Exchange Server or any other SMTP mail server setup.

I have a hosted SMTP mail server.

Can I connect SharePoint Server 2010 to an externally hosted SMTP mail server for e-mail notification testing?

In this case, my hosted SMTP server requires authentication... so I'm not sure SharePoint Server 2010 will be able to connect.

Any ideas?



View Complete Post

More Related Resource Links

SharePoint Server 2010 - E-Mail Alerts on Tasks

I want an e-mail alert to be sent to the user I assign to a task in a Task List web part. I'm going to be assigning tasks to everyone in my organization (200+) so I don't want to setup alerting for all of them or for an AD group. How can I do this?  Should I use SharePoint designer or will I need managed code? TIA  

I cannot send mail using gmail smtp server


 Here is my code

Dim message As System.Net.Mail.MailMessage = New System.Net.Mail.MailMessage()
        message.To.Add("from textbox field")
        message.Subject = "Testing"
        message.From = New System.Net.Mail.MailAddress("sender email ")
        message.Body = "Just Testing"

        Dim smtp As System.Net.Mail.SmtpClient = New System.Net.Mail.SmtpClient()

        Dim client As SmtpClient = New SmtpClient()
        smtp.Credentials = New System.Net.NetworkCredential("username", "password")
        smtp.Port = 25
        smtp.Host = "smtp.gmail.com"
        smtp.EnableSsl = True
        smtp.DeliveryMethod = SmtpDeliveryMethod.Network
        lblmsg.Text = "Your Email has send"


sening mail using asp.net smtp server


Hi i am using  code for sending email

i have uploaded my code to web server. It gives me error

(No connection could be made because the target machine actively refused it XX.XXX.XXX.XXX:XXXX )

 i am using this code for smtp configure http://www.codeproject.com/KB/vb/Email_and_SMS_.aspx?msg=3265289


Write a mail : problem in SMTP server ?


Hai to all,

I want to sent and receive a mail to any maild id(based on user mind), now every time I need to give smtp server name of the sender mail in my code, but lot of smtp servers

available for different mail providers (we never assume what the mail user will give in to sender area), i have  a separate server with smtp and pop3 enabled,  I don't know how

to use this server for mail purpose.

If i use this server then will my problem is solved then how to use that server or any other solution ?


Members have any idea ?


How to configure Gmail SMTP server to send mail



I'm using forgot password wizard and I configure my smtp like this:

and the SMTP server:

smtp.gmail.com (use authentication)
Use Authentication: Yes
Use STARTTLS: Yes (some clients call this SSL)
Port: 465 or 587

   <smtp from="myemail@gmail.com">
    <network host="smtp.gmail.com" password="pass" port="587"
     userName=myemail@gmail.com />

 but, the error:

The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must issue a STARTTLS command first. 23sm5887003pzk.8

Please gives me some advices,

Thank you.

How to intercept mail messages before reaching a SMTP server


I need an application that will intercept all incoming mail messages and modify them according to some specs. I am an absolute rookie at this, please detail :)

a)     I need to either hook into it's SMTP events, and modify the message before it is passed on to the local intended user.


b)    A SMTP proxy service, that sits in front of your real SMTP server. Inside of the SMTP proxy,

Creating SharePoint Server 2010 External Content Type Associations with SharePoint Designer 2010

Learn how to use Business Connectivity Services (BCS) to create associations between external content types in SharePoint Designer 2010 without using code.

Consuming External Data Using SharePoint Server 2010 Business Connectivity Services and an Excel 201

Learn how to use BCS in SharePoint Server 2010 to access and update external data by using Microsoft Excel 2010 as a client.

E-Mail Alerts for users on Task List


Is there any way to send e-mail alerts to a specific user wihtout assigning them the task or having them subscribe to the list.

It's a Task List on WSS 3 on Win2k3 Enterprise'


link to outlook mail in sharepoint 2010?

Hi, How to link to outlook mail in sharepoint 2010? Thanks

how send mail with out help of sp_send_dbmail in sql server 2005

Hi all, I want to sent mail using sp_send_dbmail but the hosing have problem as it require admin permission on master db so  they told me not use this SP is there any other method so that i can send the mail using SQL Server 2005  Thanks and Regards Er.Pradipta Nayak

Configure Incoming Email in SharePoint 2010 with a remote (public) SMTP Server

I have a standalone SharePoint 2010 Installation on my local network. Have configured the SMTP Services and a SMTP domain called "internalcompany.com". Created a hosts file entry also for that - now outlook is able to send emails to this domain; it reaches the drop folder and from there SharePoint picks it up and pushes to the document libraries. So far so good. But obviously this is not what I want to do: my www.company.com is my public domain and mail server is mail.company.com - how do I get the local SMTP point to this address - so that if someone sends an email to shareddocs@company.com (just like any other normal id), it comes to my local server and then SharePoint. How do I do this? Remember, my server is standalone and my network is not domain based and does not have exchange.Karthick

Real Server noob having mail problems.

Hi Everyone, I have coded my application to send mail and it works fine some of the time depending on the to or from address specified in the particular message but at other times I am getting a relay error. "The server will not relay mail for foreign domains". I HAVE authenticated myself to the mail server using a valid username and password in the code. Basically here is the setup. Our site is hosted overseas in the states with one company, our nameservers are also in the states but with our company not the hosting company. Our mail server is local (that is here in New Zealand). I'm pretty sure that the code is right because I've read dozens of posts on here which point to coding errors and it seems to be right. Do I need MX records or anything like that in some place? What do I do? Thanks  

Unable to update Work E-Mail in My Setting of Sharepoint 2010

Hey,   i am trying to update Work E-mail in My settings but it will not allow me to edit.   when i click on Edit Items then Attach file comes as user personal information   Please suggest me solution.   Regards, Sachin Phapale  

Mail Enable Sharepoint 3.0 with Exchange 2007 on same server.


Windows 2008 SBS with 2007 and Sharepoint 3.0.  I can create the email contact and it works fine but when I attempt to send the email with the attached document I get the following error and the email never makes it to the document library.

#554 5.4.4 SMTPSEND.DNS.MxLoopback; DNS records for this domain are configured in a loop ##

Can I get the STEP by STEP procedures to mail enable a Document Library on Sharepoint 3.0 with EXCHANGE 2007 on the same server or is there a simple fix that I can do to get this resolved.


PLEASE advise ASAP. I have been working on this issue off and one for weeks and the client really wants this for their timesheets.

Thanks in advance!

Mike Pratt

Outgoing mail server in Not Configured status!


Hi all,

We have one test SP 2010 server on our LAN, it's a standalone server. Everything is working as it should be, except Outgoing Mail setup. The thing is we point outgoing mail server to internal Exchange mail server. We have same configuration for our five MOSS 2007 servers, and they work flawlessly. On 2010 we have same settings from same network but with “not configured” status under Servers Services. What is difference between these two SP setups? Is there something else we needed to do after SP setup or…? Thanks in advance for tips and answers…  



sending mail in SQL using SQL Server Agent Jobs



 I am using SQL Server 2008 and I want to create one job in that.

 Job should be like that it will run any T-SQL and the output of that query

should be mail to me. But I am not able to do this.

Please help me...

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend