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

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

email notification error 5.1.1

Posted By:      Posted Date: August 21, 2010    Points: 0   Category :ASP.Net

 I am getting an error when sending email via asp.net.  The error is "Mailbox unavailable. The server response was: 5.1.1...User unknown."

However, the email is getting sent.  Why is asp.net returning this error?

I'm using VS 2008, vb.net,  running 2.0 framework.  This happens regardless of whether I'm testing my application from my local machine or running production version.  Also, I can send a batch of emails and get the error for some but not all.

I would like to be able to count of the error messages really being accurate, so this situation is unhelpful to our users, because they will start to just ignore all error messages.




View Complete Post

More Related Resource Links

Error While sending Email using Outlook object in asp.net 4.0


Hi ,

            I am trying to send Email using Outlook object but  it gives following error :

Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE)).

I have added outlook reference "using Microsoft.Office.Interop.Outlook"  version

and i am using below code :

Microsoft.Office.Interop.Outlook.Application oApp = new Microsoft.Office.Interop.Outlook.Application();
            Microsoft.Office.Interop.Outlook._NameSpace oNameSpace = oApp.GetNamespace("MAPI");
            Microsoft.Office.Interop.Outlook.MAPIFolder oOutboxFolder =
            oNameSpace.Logon(null, null, false, false);
            Microsoft.Office.Interop.Outlook._MailItem oMailItem =

notification email not sent when updating a task programmatically

I have a task that's in the task list and has no value in the Assigned To field. When I update the field like this: listItem[SPBuiltInFieldId.AssignedTo] = SPContext.Current.Web.CurrentUser.ID; ListItem.Update(); The task is updated (the assigned to has filled in). But no notification has been send to the person in the assigned to. But when I change the assigned to manualy to another person, and then again to the person it was before, the notification is send. So the email works and the notifications are activated, why is there no notification sent when I change the assigned to programmatically?

Site FAQ: Email Notification Settings

There are several settings that come into play with email notifications coming from the ASP.NET forums:Edit Profile (http://forums.asp.net/user/EditProfile.aspx)1. Receive Emails: [ ] Yes  [ ] No - This is the master email switch. Setting this to [ ] No will prevent ALL forums-related emails from being sent to you, including password reset emails (if you find yourself in that situation, please use the site's Contact form to request password reset assistance).  Setting this back to [ ] Yes will allow emails to once again be sent to you.  This setting could be handy if you will be away from the ASP.NET Forums for a while and are not interested in receiving emails from the site while you are away.2. Receive rich (HTML) emails [ ] Yes [ ] No - This affects only the format in which emails are sent.  It has no bearing on whether or not emails are sent.  If [ ] No is chosen, the email will be sent in plain text.3. Enable Email Notifications of forum/thread subscriptions and replies to my posts. [ ] Yes  [ ] No - This is the default value of thread subscriptions. This value is checked only at the time of your first post to a thread, and the thread subscription is set to this value. Changing this value has no effect on any existing thread subscriptions. To discontinue (or start) receiving email notifications for a particular thread, see #5 below.&n

Persistant Status Bar Notification ... error 'SP.UI.Status' is null or not an object

I want to show a status bar that needs to be persistent on a page. for this I used the following in my master page function ShowStatusBarMessage(title, message) { var statusId = SP.UI.Status.addStatus(title, message, true); SP.UI.Status.setStatusPriColor(statusId, 'yellow'); /* Set a status-color */ } HTML, call the JS method: <a onclick="ShowStatusBarMessage('Title'!','Awesome message!')"> Display Status Bar message! </a> ref: http://www.zimmergren.net/archive/2010/03/17/sp-2010-dynamically-displaying-messages-to-your-users-with-the-notification-and-status-bar-areas-in-sharepoint-2010.aspx   But what I want is to call the function on load. So I used pushed ny function to _spBodyOnLoadWrapper using _spBodyOnLoadFunctionNames.push("YourFunctionName");, it throws an error 'SP.UI.Status' is null or not an object Next I created and deployed a webcontrol and did a registerclientscript, that too gives me 'SP.UI.Status' is null or not an object // Define the name and type of the client scripts on the page. String csname1 = "AlertScript"; Type cstype = this.GetType(); // Get a ClientScriptManager reference from the Page class. ClientScriptManager cs = Page.ClientScript; // Check to see if the startup script is already registered. if (!cs.IsStartupScriptRegistered(cstype, csname1)) {

Sharepoint 2010 WorkFlow Task AssignedTo Windows Group doesnt send email notification

Hi, Which configuration would prevent sharepoint to send a notification when a workFlow task is assigned to a Windows Group with an email ? The same task with a single User send a notification. Thanks, Patrice      

Error while sending email using ASP.NET 2.0 Beta 2 (Visual Studio 2005 Beta 2)

While trying to send email using<code> SmtpClient obj_SmtpClient = new SmtpClient(); obj_SmtpClient.Host = ""t; obj_SmtpClient.Send(s_from, s_recipients, s_subject, s_body);</code>I get the error message:Failure sending mail. Unable to connect to the remote server An established connection was aborted by the software in your host machine at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) SystemSMTP is installed on my Windows XP Sp2 laptop. I have also tried disabling the Windows firewall but still the same error. The SMTP server is a Microsoft Exchange Server that is part of the same domain as myself. I was logged on to the domain while running the email code.There is an excellant article on ORCS web by BradKingley (http://www.orcsweb.com/articles/sending_smtp_authenticated_email.aspx) on sending authenticated email using username/password, however what I need is how to authenticate in a purely Microsoft environment. Any suggestions as to how to fix this problem, gratefully accepted.

Error while sending email using ASP.NET 2.0 -'System.Net.Mail.SmtpException: Failure sending mail


'System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed.   at System.Net.Mail.SmtpReplyReaderFactory.ProcessRead(Byte[] buffer, Int32 offset, Int32 read, Boolean readLine)   at System.Net.Mail.SmtpReplyReaderFactory.ReadLines(SmtpReplyReader caller, Boolean oneLine)   at System.Net.Mail.SmtpReplyReaderFactory.ReadLine(SmtpReplyReader caller)   at System.Net.Mail.SmtpReplyReader.ReadLine()   at System.Net.Mail.CheckCommand.Send(SmtpConnection conn, String& response)   at System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, String from)   at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception)   at System.Net.Mail.SmtpClient.Send(MailMessage message)   --- End of inner exception stack trace ---   at System.Net.Mail.SmtpClient.Send(MailMessage message) 

 i tried many things but still awaiting solution



sometimes  i get this error

 'System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: The remote name could not be resolved: 'smtp.mail.y

maintenance plan error send email


Some body have this error : Could not generate mail report.An exception occurred while executing a Transact-SQL statement or batch.No global profile is configured. Specify a profile name in the @profile_name parameter. When i execute my maintenance plan.



SSRS 2008 R2 Email error


I'm attempting to ude the email notification through a subscription in SSRS 2008 R2 but am getting the following error:

An error has occurred during report processing.

The logs say:

library!WindowsService_19!720!09/24/2010-10:10:25:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: AuthzInitializeContextFromSid: Win32 error: 5; possible reason - service account doesn't have rights to check domain user SIDs., Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error. ;
processing!WindowsService_19!720!09/24/2010-10:10:25:: e ERROR: An exception has occurred in data set 'ComponentList'. Details: Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration error.
processing!WindowsService_19!720!09/24/2010-10:10:25:: i INFO: DataPrefetch abort handler called for Report with ID=. Aborting data sources ...
processing!WindowsService_19!720!09/24/2010-10:10:25:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: , Microsoft.ReportingServices.ReportProcessing.ProcessingAbortedException: An error has occurred during report processing. ---> Microsoft.ReportingS

Error for delivering a report via email by using the data-driven subscription



I have created a SSRS 2005 report to export in the Excel format as a batch execution. I have made a data-driven subscription, I have specified the from mail address (with my address) and the smtp server in the RS configuration tool, I have set the SQL Server Agent account with my domain user, but I have an error about the from address is refused from the server and the client was not authenticated. I have tried to specify the IP for the smtp server.

Any suggests to me in order to solve this issue, please? Many thanks

calendar - incoming email error - The user does not exist or is not unique..


I am sending calendar appointments to a sharepoint calendar.  It works fine if i send from my exchange email on the domain.  However if i try to send from outlook, which has a gmail (live account same error) account off network, the mail comes to the drop folder on my incoming email sharepoint server but then i get this error:

An error occurred while processing the incoming e-mail file C:\inetpub\mailroot\Drop\4ab7332801cb38a6000000c7.eml. The error was: The user does not exist or is not unique..

next error is

The Incoming E-Mail service has completed a batch.  The elapsed time was 00:00:00.0625004.  The service processed 1 message(s) in total.  Errors occurred processing 1 message(s): Message ID: <000001cb38a5$00a4f100$01eed300$@com>

external users can just find send email and documents to other document libraries but this calendar is giving me problems.

all servers sharepoint 2007 sp2 enterprise edition.


email notification


I have a document library with Content Approval value set to “Yes”.

When contributor clicks a "submit for approval" button, I would like send an email out to approvers automatically. I can setup a workflow to do it. But would like to find if there is OOTB function I can enable at document library level so it will send out email notification without any build customized workflow process.





Error sending email outside the organization from SSRS

I have a subscription that I was asked to start emailing to the client instead of internal personnel.  The subscription now fails with (The email address of one or more of the recipient is not valid).  My network guy told me you can't send email outside the organization without authenticating and is asking me for a log and I cannot find where reporting services stored detailed info about this email failure.  Can someone please point me in the right direction

Removing standard text from custom feedback process email notification


My workflow has a Start Feedback Process action, which contains some pre-defined instructions. One of my instructions is to use a particular link to open the workflow history page – I have added this to force the user to open the form via the workflow history page (we're using Forms Services) because the email’s default link opens the form in the InfoPath client, not the browser. It also allows the user to be returned to the page where they will complete their workflow task (we're trying to make navigation as easy for them as possible).

Although I have defined my own set of instructions, the email notification I receive includes some standard text that links to the InfoPath form’s xml file. I don’t want users inadvertently clicking the “To complete this task…” link at the bottom of the email and having the form open in InfoPath. Here is an example of the email I’m referring to:


Email Notification Field when uploading documents?


Hi All,

I am in the modist of rolling of SharePoint2010 pilot phase to internal users in my organization, I would like to hear from the experts on the following.

While trying to cerate a re-usable workflow in SharePoint Designer 2010, I am using the default action of "To-Do Task" , the issue here is in the out-of-the-box it sates that I got to hard-code the users whom I want to send this email, but I would like users to choose whom they would like to notify rather than hard-coding.

Any advice?

Email Notification in SSIS


Can anyone please provide a good link on 'Sending Email Notification in SSIS' in HTML format.


Error setting up incoming email SharePoint 2010



We are setting up incoming email for SharePoint 2010. We have created the OU SharePoint Contacts and enabled delegate control using the user (XYZ\sharepointadmin) which is the identity for the SharePoint Central Administrator application pool.

We delegated the following tasks (account create delete and manage user accounts)

Our Domain Controller Server 2003

Domain Name is: XYZ.local

Configuration for incoming Mail

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