Hello all.
I had a script for long time that send a e-mail with an attachment. Here is:

Set objEmail = CreateObject("CDO.Message")
objEmail.From = "local_server@local.com"
objEmail.To = "target_email@local.com"
objEmail.Subject = "Notification of May"
objEmail.Textbody = "Hi all, here's the monthly notification. "
objEmail.AddAttachment "\\pc0012\share1\notif.xls"
objEmail.Send

It worked fine... but I instaled de SP4 for SQL server and since that
installation the script doesn't work.
I already tried to put my firewall Off and I tried also without attachments
but nothing.

Maybe could you help me please?
henpat.

Thanks

Re: E-mail script doesn't work more! by Robespier

Robespier
Wed May 10 06:25:32 CDT 2006


objEmail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing")
= 2

objEmail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver")
= "smtp.server"

objEmail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport")
= 25
objEmail.Configuration.Fields.Update
objEmail.Send