The e-mail address or SMTP server value is not valid.

I'm using the Service Monitoring Solution Accelerator to configure Notification Workflow. Everything works with the exception of e-mail delivery. E-mails are not sent; but events are logged. I've included the event as well as an excerpt from the appConfig.xml file.

Event Type: Error
Event Source: NotificationServices
Event Category: None
Event ID: 7301
Date: 3/1/2006
Time: 4:07:51 PM
User: N/A
Computer: Computer
Description:
<NotificationServicesEvent>
<Description>
The e-mail address or SMTP server value is not valid.
</Description>
<Context>
<EventParameters>
<Smtp server></Smtp server>
<Message recipients>user@domain.org</Message recipients>
</EventParameters>

</Context>
<Description>
Could not access 'CDO.Message' object.
</Description>
<Description>
Exception has been thrown by the target of an invocation.
</Description>
<Description>
The "SendUsing" configuration value is invalid.

</Description>
<Instance>NotificationWorkflow</Instance>
<Component>Other</Component>
<ComponentDetails>
ComponentName: SmtpProtocol
</ComponentDetails>
<Thread>310</Thread>
</NotificationServicesEvent>

For more information, see Help and Support Center athttp://go.microsoft.com/fwlink/events.asp.

From appConfig.xml:

<DeliveryChannels>
<DeliveryChannel>
<DeliveryChannelName>EmailChannel</DeliveryChannelName>
<ProtocolName>SMTP</ProtocolName>
<Arguments>
<Argument>
<Name>SmtpServer</Name>
<Value>fqdn.net</Value>
</Argument>
<Argument>
<Name>BodyEncoding</Name>
<Value>utf-16</Value>
</Argument>
</Arguments>
</DeliveryChannel>
</DeliveryChannels>

[2280 byte] By [MFaulk] at [2008-2-22]
# 1

Hi -

Are you using SQLNS v2.0 SP1 or SQLNS 2005?

i'm assuming the highlighted element config file actually has the fully qualified domain name for your email server in the form of mail.mydomain.com?

Or are you specifying localhost? If you're specifying localhost (okay for testing, but not production) on v1.1 of the .NET Framework, there's actually a bug that requires the NS$InstanceName service account to be a member of the local admin group. For development, try leaving it blank or adding the NS$InstanceName to the local admin group.

HTH...

JoeWebb at 2007-9-9 > top of Msdn Tech,SQL Server,SQL Server Notification Services...
# 2

Thanks for your help.

I believe the problem was with SMTP. Once I re-installed it, e-mail delivery worked fine.

I have the following applications installed on a Server running Windows Server 2003 Std. Ed. SP1 and all relavent patches:

MOM 2005 Workgroup Edition

SQL Server 2000 Standard SP3

SQLNS 2.0 SP1

SQLXML 3.0 SP2

Notification Workflow

MFaulk at 2007-9-9 > top of Msdn Tech,SQL Server,SQL Server Notification Services...

SQL Server

Site Classified