Using the maildefinition in the CreateUserWizard
Re-invent ASP.NET Hosting Community
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Using the maildefinition in the... Expand / Collapse
Author
Message
Posted 8/6/2007 2:28:53 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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
Post #610
Posted 8/6/2007 2:53:03 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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
Post #611
Posted 8/6/2007 6:34:12 PM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme 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

Post #612
Posted 8/7/2007 10:00:38 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum 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
Post #615
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Administrator, Re-invent (Paul), Re-invent (Nick)

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 12:18pm

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.047. 9 queries. Compression Disabled.


Copyright 2007 Re-invent Technologies LLC All Rights Reserved.