Red Gate forums :: View topic - Custom Web Server Emails
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SmartAssembly 5
SmartAssembly 5 forum

Custom Web Server Emails

Search in SmartAssembly 5 forum
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Jump to:  
Author Message
craigm



Joined: 23 Jun 2010
Posts: 9

PostPosted: Mon Jul 05, 2010 11:10 am    Post subject: Custom Web Server Emails Reply with quote

Hi,

I've just set up the latest version of the custom web server and it appears the RunOnException option is no longer available (or is not documented). Is it still possible to use this functionality?

I also can't seem to get emails to be able to be sent. The SMTP server is set correctly. There is nothing else that I need to configure apart from:
Code:
<!-- This should be an SMTP server -->
<add key="SmtpServer" value="mail.ourcompany.com"/>

<!-- The email address from which report notification emails should appear to come -->
<add key="EmailSender" value="errors@ourcompany.com"/>

as well as setting the email address from within Smart Assembly?

I'd be happy if I could get either functionality to work, but at the moment, neither seems to be working for me.

Thanks!
Back to top
View user's profile Send private message
Paul.Martin



Joined: 03 Feb 2010
Posts: 83
Location: Cambridgeshire

PostPosted: Mon Jul 05, 2010 11:43 am    Post subject: Reply with quote

Unfortunately RunOnException is not available any more although we may look at adding it back into the new version.


As long as you have set the email address within the SmartAssembly project for your application (the email address is now defined per project) and you have set the SmtpServer setting in the web config it should work.

Do you get any error messages in your Smtp Server log?

Does the website application have permission to send mail on the Smtp Server?
Back to top
View user's profile Send private message
craigm



Joined: 23 Jun 2010
Posts: 9

PostPosted: Mon Jul 05, 2010 1:51 pm    Post subject: Reply with quote

Just reset all of the settings and it seems to be working now. I'd be happy to see the RunOnException functionality in a future version.

Thanks for your help.
Back to top
View user's profile Send private message
Paul.Martin



Joined: 03 Feb 2010
Posts: 83
Location: Cambridgeshire

PostPosted: Mon Jul 05, 2010 1:55 pm    Post subject: Reply with quote

Yay for random bugs which fix themselves. Glad it is all working now.

I've formally added the RunOnException to our tracker system (logged as SA-320), so hopefully you should have it back in one of the forthcoming versions.
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies. All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group