General Exception with Email
Last Post 12-09-2008 05:33 AM by Chad Nash. 3 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages
Marc FullerUser is Offline
going with the flow
going with the flow
Posts:59
Avatar

--
12-05-2008 12:19 AM

    Hey Guys,

    Just started using the module. It looks to do exactly what I want, except it's not working. I am getting the following in the Event Log:

    AssemblyVersion: -1
    PortalID: -1
    PortalName:
    UserID: -1
    UserName:
    ActiveTabID: -1
    ActiveTabName:
    RawURL:
    AbsoluteURL:
    AbsoluteURLReferrer:
    UserAgent:
    DefaultDataProvider:
    ExceptionGUID:
    InnerException: The specified string is not in the form required for an e-mail address.
    FileName:
    FileLineNumber: -1
    FileColumnNumber: -1
    Method:
    StackTrace:
    Message: 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.Mime.MailBnfHelper.ReadMailAddress(String data, Int32& offset) at System.Net.Mail.MailAddressCollection.ParseValue(String addresses) at System.Net.Mail.MailAddressCollection.Add(String addresses) 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, String ReplyTo, MailPriority Priority, String Subject, MailFormat BodyFormat, Encoding BodyEncoding, String Body, String[] Attachment, String SMTPServer, String SMTPAuthentication, String SMTPUsername, String SMTPPassword, Boolean SMTPEnableSSL)
    Source:
    Server Name: IIS6114



    I think it is due to the email field when setting up a reminder. I have tried to use token [email] and [User:Email] and neither seems to work.

    Any help appreciated.. please !!!

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    12-08-2008 12:17 PM
    Hi. Well I think that if you leave the email 'blank' it will setup the email to go out to the current user for the renewal reminder notice etc... Otherwise it would be the email from address which might be the portal administrators email address.

    -Chad
    Marc FullerUser is Offline
    going with the flow
    going with the flow
    Posts:59
    Avatar

    --
    12-08-2008 11:25 PM

    Leaving it blank doesn't work either...

     

     

    AssemblyVersion: -1
    PortalID: -1
    PortalName:
    UserID: -1
    UserName:
    ActiveTabID: -1
    ActiveTabName:
    RawURL:
    AbsoluteURL:
    AbsoluteURLReferrer:
    UserAgent:
    DefaultDataProvider:
    ExceptionGUID:
    InnerException: The parameter 'to' cannot be an empty string. Parameter name: to
    FileName:
    FileLineNumber: -1
    FileColumnNumber: -1
    Method:
    StackTrace:
    Message: System.ArgumentException: The parameter 'to' cannot be an empty string. Parameter name: 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, String ReplyTo, MailPriority Priority, String Subject, MailFormat BodyFormat, Encoding BodyEncoding, String Body, String[] Attachment, String SMTPServer, String SMTPAuthentication, String SMTPUsername, String SMTPPassword, Boolean SMTPEnableSSL)
    Source:
    Server Name: IIS6114

     

     

    I've also tried setting it to the portal admin address and all that does is send the reminders to the portal admin. That means it HAS to be the email address to send to, but it doesn't recognize tokens.

    I am guessing from the lack of interest from DynamicSprigs that this module is dead and not worth continuing with. Guess it's time to look for an alternative

    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    12-09-2008 05:33 AM
    Marc, Hi. Well the module is not 'dead' as its still in beta which is why its a free release and we can collect user feedback. We were planning to have a full release before the end of the year but its probably going to be first quarter 09.

    I checked out the code for this though. It looks like its pulling in profile properties and profile property values but only for core profile fields and extended profile fields. Since email address is not a profile field (its a user credential, its not under Admin, User Accounts, Manage Profile Properties) so this is a bug or fix that we will put in place before the full release.


    -Chad


    ---
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi