Hi,

I just noticed that the DefaultSmtpSender requires a host name in it's
constructor. This seems kind of strange to me, since the SmtpClient
used to configure DefaultSmtpSender, already provide this information
through it's own configuration section.

I like the DefaultSmtpSender implementation, but it's annoying not to
be able to register it in Windsor, unless I provide the host name as a
parameter. At the moment it's even quite difficult retrieving the host
name from the system.net.smtp section, which is used to configure the
SmtpClient.

Any suggestions? I'm aware I might be a bit off track here, as a
search in the list didn't result in similar questions...


Kenneth

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Development List" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-devel?hl=en.

Reply via email to