|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 10/11/2007 8:47:19 AM
Posts: 3,
Visits: 5
|
|
| Has anyone succesully used the CreateUserWizard control and had it send an email? When I run this on my local test server, it works correctly, but when I run it on re-invent, it doesn't error, but I never receive an email. I have my web config setup as follows < system.net> <mailSettings> <smtp from=support@mydomain.com> <network host="mail.mydomain.com" port="25" userName="user@mydomain.com" password="mypassword" defaultCredentials="false" /> </smtp> </mailSettings> </system.net>however, it never sends the email after the user is created. I have the maildefinition setup as <MailDefinition From="support@mydomaim.com" Subject="Thank you for registering with mydomain!" BodyFileName="~/Controls/RegistrationMessage.txt"></MailDefinition>
Donovan Zimmerman
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 10/11/2007 8:47:19 AM
Posts: 3,
Visits: 5
|
|
Well, I got it to work after trying something I saw in another post. I changed the subject from "Welcome to cartango" to "Thank you for registering with cartango" and now the email is being sent.
Donovan Zimmerman
|
|
|
|
|
Supreme Being
      
Group: Administrators
Last Login: Today @ 8:28:12 AM
Posts: 91,
Visits: 194
|
|
That is strange. I wonder if where you are sending the email to is filtering the email with spam filtering with the other subject.
Plato Re-invent Technologies LLC Re-invent Support Team http://www.re-invent.com
Specializing in ASP.NET Hosting
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 10/11/2007 8:47:19 AM
Posts: 3,
Visits: 5
|
|
I was sending it to myself so it wasn't that. There is one other I added, but I don't think it could have been the answer. I added an event handler for sendmailerror, but I never put code in it because I couldn't really write to the re-invent log files, so it was an empty event handler. I did a source code compare and that was the only difference. I'm afraid to play with it though, because it's working now and it's live.
Donovan Zimmerman
|
|
|
|