Nicko ! Thanks for response. Your way almost :-) worked. Look at the extract of my log: -------------------------------- log4net: SmtpHost: [BSPDEVSERVER] log4net: SmtpMail.SmtpServer: [BSPDEVSERVER] log4net:ERROR 2005-12-16 08:25:53 Error occurred while sending e-mail notification. System.Web.HttpException: Could not access 'CDO.Message' object. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x8004020F): The server rejected one or more recipient addresses. The server response was: 550 5.7.1 Unable to relay for xxx --------------------------------- (the square brackets are not the part of the value - they only surround the value).
Instead of xxx the real address was logged. The address was valid - it's my address and it works with other server. It seems to be SmtpMail problem, that it can't work with machine name as smtp server name. I've checked, that with such a setting SmtpMail is able to serve mail only to locally defined (on the machine with local smtp) user names. Do you have other suggestions ? Cheers, -- Tomek
