|
|
|
Joined: 12/14/2006
Posts: 56
|
|
|
i enabled my notification in event module and my email address is also correct but it does not work.
that's my schedule log:
Event Notification failed.System.FormatException: The specified string is not in the form required for an e-mail address.
at System.Net.Mime.MailBnfHelper.ReadMailAddress(String data, Int32& offset, String& displayName)
at System.Net.Mail.MailAddress.ParseValue(String address)
at System.Net.Mail.MailAddress..ctor(String address, String displayName, Encoding displayNameEncoding)
at System.Net.Mail.Message..ctor(String from, String to)
at System.Net.Mail.MailMessage..ctor(String from, String to)
at DotNetNuke.Services.Mail.Mail.SendMail(String MailFrom, String MailTo, String Cc, String Bcc, MailPriority Priority, String Subject, MailFormat BodyFormat, Encoding BodyEncoding, String Body, String Attachment, String SMTPServer, String SMTPAuthentication, String SMTPUsername, String SMTPPassword, Boolean SMTPEnableSSL)
at DotNetNuke.Services.Mail.Mail.SendMail(String MailFrom, String MailTo, String Cc, String Bcc, MailPriority Priority, String Subject, MailFormat BodyFormat, Encoding BodyEncoding, String Body, String Attachment, String SMTPServer, String SMTPAuthentication, String SMTPUsername, String SMTPPassword)
at DotNetNuke.Services.Mail.Mail.SendMail(String MailFrom, String MailTo, String Bcc, String Subject, String Body, String Attachment, String BodyType, String SMTPServer, String SMTPAuthentication, String SMTPUsername, String SMTPPassword)
at DotNetNuke.Modules.Events.EventNotification.SendEventNotifications()
at DotNetNuke.Modules.Events.EventNotification.DoWork()
and my "log viewer"
THREAD ID: 6
TYPE: DotNetNuke.Modules.Events.EventNotification
EXCEPTION: The specified string is not in the form required for an e-mail address.
RESCHEDULED FOR: 5/14/2007 2:27:51 PM
SOURCE: STARTED_FROM_BEGIN_REQUEST
ACTIVE THREADS: 0
FREE THREADS: 1
READER TIMEOUTS: 0
WRITER TIMEOUTS: 0
IN PROGRESS: 0
IN QUEUE: 4
Server Name: CFWINTRANET
|
|
|
|
| |
|
|
|
Hi. Here are a couple of basic tips that may or may not help narrow down the problem. By the way, I'm using DNN 3.3.7. If you are using DNN 4.x, there might be some slight differences in the menu paths that I mention.
Step 1: Verify that the email function on the web site is functioning properly. Go to the following location:
Host -> Host Settings -> Advanced Settings -> SMTP Server Settings
Click the "Test" link, and see if you get an email message. If this doesn't work, fix the SMTP settings.
Step 2: Once Step 1 is functioning, temporarily use the "host" email address for event notifications while troubleshooting. This email address found at the following location.
Host -> Host Settings -> Basic Settings -> Host Details -> Host Email
Step 3: Make sure that Event Notification is enabled in the Scheduler. I don't believe that it's enabled by default. It's been a while since I've enabled Event Nofications, so I don't remember the details. However, you should be able to do a search in this forum to find the details.
Step 4: What version of the Events module are you using? I believe that there might have been some quirks pertaining to event notifications in one or more of the earlier versions of this module. I would make sure that you have downloaded and installed the latest beta version (3.3.8) from www.avanced.net. As always, do a complete backup of the SQL database and web site tree before upgrading any module!
You may have already performed the steps above. If so, hopefully someone else can chime in and help you troubleshoot your problem further.
See Ya,
Van
See Ya!
Van
|
|
|
|
| |
|
|
Joined: 12/14/2006
Posts: 56
|
|
|
hi
thanks for your reply.actually i have dnn4.4.1 my event module was 3.3.7 which i upgraded to 3.3.8 .but i still have problem.my smtp works fine and my email address is correct.i have this error in my schedule log
Event Notification failed.System.FormatException: The specified string is not in the form required for an e-mail address.
at System.Net.Mime.MailBnfHelper.ReadMailAddress(String data, Int32& offset, String& displayName)
at System.Net.Mail.MailAddress.ParseValue(String address)
at System.Net.Mail.MailAddress..ctor(String address, String displayName, Encoding displayNameEncoding)
at System.Net.Mail.Message..ctor(String from, String to)
at System.Net.Mail.MailMessage..ctor(String from, String to)
at DotNetNuke.Services.Mail.Mail.SendMail(String MailFrom, String MailTo, String Cc, String Bcc, MailPriority Priority, String Subject, MailFormat BodyFormat, Encoding BodyEncoding, String Body, String Attachment, String SMTPServer, String SMTPAuthentication, String SMTPUsername, String SMTPPassword, Boolean SMTPEnableSSL)
at DotNetNuke.Services.Mail.Mail.SendMail(String MailFrom, String MailTo, String Cc, String Bcc, MailPriority Priority, String Subject, MailFormat BodyFormat, Encoding BodyEncoding, String Body, String Attachment, String SMTPServer, String SMTPAuthentication, String SMTPUsername, String SMTPPassword)
at DotNetNuke.Services.Mail.Mail.SendMail(String MailFrom, String MailTo, String Bcc, String Subject, String Body, String Attachment, String BodyType, String SMTPServer, String SMTPAuthentication, String SMTPUsername, String SMTPPassword)
at DotNetNuke.Modules.Events.EventNotification.SendEventNotifications()
at DotNetNuke.Modules.Events.EventNotification.DoWork()
and also another issue appears!!!:( .i had 2 event module in one of my pages ,which one of them referes to the other one which shows its event,so now my event does not show the list of the other event module however i set the "list setting" to show just today events,it seems it can not get my seeting correctly. also in my log i have this log to which maybe that cuases the problem(i disabled tooltip in my event)
AssemblyVersion: 04.04.01
PortalID: 0
PortalName: City of Federalway Intranet
UserID: 2
UserName: admin
ActiveTabID: 36
ActiveTabName: Home
RawURL: /Home/tabid/36/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://intranet2/Home/tabid/36/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; MEGAUPLOAD 1.0; .NET CLR 3.0.04506.30)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 37ae0afc-4807-435f-b78d-9f1aa57d7f66
InnerException: Unhandled Error:
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.String.InternalSubStringWithChecks
StackTrace:
Message: System.Exception: Unhandled Error: ---> System.ArgumentOutOfRangeException: StartIndex cannot be less than zero. Parameter name: startIndex at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) at BizModules.PortalTooltip.PortalTooltipFilter.IsFinalBlock(String strBlock) at BizModules.PortalTooltip.PortalTooltipFilter.Write(Byte[] buffer, Int32 offset, Int32 count) at System.Web.HttpWriter.Filter(Boolean finalFiltering) at System.Web.HttpResponse.FilterOutput() at System.Web.HttpApplication.CallFilterExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---
Source:
Server Name: CFWINTRANET
|
|
|
|
| |
|
|
|
www.avanced.net Joined: 5/7/2003
Posts: 552
|
|
|
raheleh_a wrote
hi
thanks for your reply.actually i have dnn4.4.1 my event module was 3.3.7 which i upgraded to 3.3.8 .but i still have problem.my smtp works fine and my email address is correct.i have this error in my schedule log
Event Notification failed.System.FormatException: The specified string is not in the form required for an e-mail address.
at System.Net.Mime.MailBnfHelper.ReadMailAddress(String data, Int32& offset, String& displayName)
at System.Net.Mail.MailAddress.ParseValue(String address)
at System.Net.Mail.MailAddress..ctor(String address, String displayName, Encoding displayNameEncoding)
at System.Net.Mail.Message..ctor(String from, String to)
at System.Net.Mail.MailMessage..ctor(String from, String to)
at DotNetNuke.Services.Mail.Mail.SendMail(String MailFrom, String MailTo, String Cc, String Bcc, MailPriority Priority, String Subject, MailFormat BodyFormat, Encoding BodyEncoding, String Body, String Attachment, String SMTPServer, String SMTPAuthentication, String SMTPUsername, String SMTPPassword, Boolean SMTPEnableSSL)
at DotNetNuke.Services.Mail.Mail.SendMail(String MailFrom, String MailTo, String Cc, String Bcc, MailPriority Priority, String Subject, MailFormat BodyFormat, Encoding BodyEncoding, String Body, String Attachment, String SMTPServer, String SMTPAuthentication, String SMTPUsername, String SMTPPassword)
at DotNetNuke.Services.Mail.Mail.SendMail(String MailFrom, String MailTo, String Bcc, String Subject, String Body, String Attachment, String BodyType, String SMTPServer, String SMTPAuthentication, String SMTPUsername, String SMTPPassword)
at DotNetNuke.Modules.Events.EventNotification.SendEventNotifications()
at DotNetNuke.Modules.Events.EventNotification.DoWork()
and also another issue appears!!!:( .i had 2 event module in one of my pages ,which one of them referes to the other one which shows its event,so now my event does not show the list of the other event module however i set the "list setting" to show just today events,it seems it can not get my seeting correctly. also in my log i have this log to which maybe that cuases the problem(i disabled tooltip in my event)
AssemblyVersion: 04.04.01
PortalID: 0
PortalName: City of Federalway Intranet
UserID: 2
UserName: admin
ActiveTabID: 36
ActiveTabName: Home
RawURL: /Home/tabid/36/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://intranet2/Home/tabid/36/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; MEGAUPLOAD 1.0; .NET CLR 3.0.04506.30)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 37ae0afc-4807-435f-b78d-9f1aa57d7f66
InnerException: Unhandled Error:
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.String.InternalSubStringWithChecks
StackTrace:
Message: System.Exception: Unhandled Error: ---> System.ArgumentOutOfRangeException: StartIndex cannot be less than zero. Parameter name: startIndex at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) at BizModules.PortalTooltip.PortalTooltipFilter.IsFinalBlock(String strBlock) at BizModules.PortalTooltip.PortalTooltipFilter.Write(Byte[] buffer, Int32 offset, Int32 count) at System.Web.HttpWriter.Filter(Boolean finalFiltering) at System.Web.HttpResponse.FilterOutput() at System.Web.HttpApplication.CallFilterExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --- End of inner exception stack trace ---
Source:
Server Name: CFWINTRANET
See above...I believe we've already given you the answer...THIS IS NOT A MODULE ISSUE!
|
|
|
|
| |
|
|
Joined: 12/14/2006
Posts: 56
|
|
|
my email address is correct!! my smtp works.but it still says "The specified string is not in the form required for an e-mail address" .
i set up everything but the notification does not work and it seems that the new version also add another problem too as i told.my event sub calender also does not work .
|
|
|
|
| |