Unable to send email for new user registration.
- Hii,
When i send email to newly created user then it give me following error.
Error
The user or users have been added successfully, but there was an error in sending the e-mail message. The server may not be set up correctly to send e-mail. To verify that e-mail is configured correctly, contact your server administrator. at Microsoft.SharePoint.ApplicationPages.AclInv.SendEmailInvitation(PeopleEditor picker, String subject, String message)
at Microsoft.SharePoint.ApplicationPages.AclInv.BtnOK_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
anybody please help me...
Thank you,
N i T i N
Answers
- Hi, I think that your problem is in the email settings.
Check the event viewer when you try to send the email.
Try to connect to your smtp server with a telnet to the port 25.
regards.
Alvaro Arias
My SharePoint Blog- Marked As Answer byLu Zou-MSFTMSFT, ModeratorFriday, August 28, 2009 7:02 AM
All Replies
- Did you Configure Outgoing e-mail settings at Central Admin.......
Configure outgoing e-mail settings
-
On the top navigation bar of the SharePoint Central Administration Web site, click Operations .
-
On the Operations page, in the Topology and Services section, click Outgoing e-mail settings .
-
On the Outgoing E-Mail Settings page, in the Mail Settings section, type the SMTP server name for outgoing e-mail (for example, mail.example.com) in the Outbound SMTP server box.
-
In the From address box, type the e-mail friendly address as you want it to appear to e-mail recipients.
-
In the Reply-to address box, type the e-mail address to which you want e-mail recipients to reply.
-
In the Character set menu, select the character set that is appropriate for your language.
-
Click OK .
K.Mohamed Faizal, Solution Architect, Singapore http://faizal-comeacross.blogspot.com/ -
- Hi K.Mohamed,
yes, i follow same steps at central administrator!!!
please give any suggestions..
Thank you,
N i T i N - Hi, it´s doens´t send the email only in newly created users? when a add a user to a group the email is sent?
Do you have a firewall or antivirus running ??
Check the SharePoint log for errors sending emails.
regards.
Alvaro Arias
My SharePoint Blog- Edited byAlvaro Arias Thursday, August 20, 2009 9:54 AMadd text
- Hii,
I checked with logs, its only showing me some messages like..
08/20/2009 03:26:09.41 75fe High Failed to determine definition for Feature with ID '749873c2-2a63-4674-9e4c-a9c4d38cde2d'. Skipping this feature for element querying consideration.
08/20/2009 03:26:12.41 8gsf High #160009: The e-mail address 'pune.nitin@gmail.com' is unknown.
08/20/2009 03:26:12.41 8kh7 High Cannot complete this action. Please try again.
08/20/2009 03:26:12.41 7946 Critical Cannot complete this action. Please try again.
08/20/2009 03:26:35.84 8xqz Medium Updating SPPersistedObject SPAdministrationWebApplication Parent=SPWebService Name=WSS_Administration. Version: 12396 Ensure: 0, HashCode: 24692173, Id: d95ea115-8a14-4e0c-8b1a-9d27f244f790, Stack: at Microsoft.SharePoint.Administration.SPPersistedObject.Update() at Microsoft.SharePoint.Administration.SPWebApplication.Update() at Microsoft.SharePoint.Administration.SPWebApplication.UpdateMailSettings(String strOutboundSMTPServer, String strFromAddress, String strReplyToAddress, Int32 nCodePage) at Microsoft.SharePoint.Administration.SPGlobalAdmin.UpdateMailSettings(String strOutboundSMTPServer, String strFromAddress, String strReplyToAddress, Int32 nCodePage) at Microsoft.SharePoint.ApplicationPages.GlobalEmailConfigPage.GlobalEmailConfigConfirm_Click(Object sender, Even...
Let me know if any other solution...
N i T i N Try to update permissions for that account and send an email, surely you´ll have the same error, the email address exists?.
Alvaro Arias
My SharePoint Blog- Hi Alvaro,
email address is exist...
I dont know where i am wrong.
Actually i have customised login.aspx form. add new some ASP.net controls like forget password and create new user wizard controls, etc...
Using these controls add new users, send registration pending email alert and administration will approve registration after adding to any one of existing group.
So after adding to group it gives error like
please give any suggestion to solve this...
I already configure Outgoing email setting from central administration.
Thank you,
N i T i N - Hi, I think that your problem is in the email settings.
Check the event viewer when you try to send the email.
Try to connect to your smtp server with a telnet to the port 25.
regards.
Alvaro Arias
My SharePoint Blog- Marked As Answer byLu Zou-MSFTMSFT, ModeratorFriday, August 28, 2009 7:02 AM
- Surely this is not a email-configuration issue. I too have the same problem, but in my case there are some times that I tend to get the e-mail alert. If this would have been the config. issue, the e-mails would have not been generated at all. If you will check the event log, u ll find these two error there.
1) Event Type: Error
Event Source: Windows SharePoint Services 3
Event Category: E-Mail
Event ID: 7946
Date: 11/9/2009
Time: 8:11:19 AM
User: N/A
Computer: abcd
Description: Cannot complete this action.
Please try again.
2) Event Type: Error
Event Source: Windows SharePoint Services 3
Event Category: E-Mail
Event ID: 6858
Date: 11/9/2009
Time: 8:11:19 AM
User: N/A
Computer: abcd
Description: An error occurred while talking to SMTP host 浳灴洮捯挮浯.
Possible issue could be the Firewall or Antivirus... If anyone could help on this apart from configuration settings change.
Thanks, Abhijit Hi Abhijit,
I am seeing the exact same errors as you are: 6858 (an error occurred while talking to SMTP host 浳灴洮捯挮浯); and 7946 (cannot complete this action).
The email notifications are working fine. But, these errors do show up time and again in the event viewer.
Did you resolve this? if yes, what was the fix??
Thanks!
Varun