can someone tell me what the smtpserver would be when running on the localhost? here is a snipet of code:<BR><BR> &#039; create the e-mail<BR> set o_msg = createobject("cdo.message")<BR> set o_conf = createobject("cdo.configuration")<BR><BR> With o_conf.Fields<BR> .Item("<BR>/cdo/configuration/sendusing") = 2<BR> .Item("<BR>/cdo/configuration/smtpserver") = mailserver<BR> .Update<BR> End With<BR><BR> With o_msg<BR> set .Configuration = o_conf<BR> .AutoGenerateTextBody = true<BR> .Fields("urn:schemas:httpmail:importance").Value = 2<BR> .Fields.Update()<BR> .To = emfaddress<BR> .From = emfemailfrom<BR> .Subject = emfemailsubject<BR> .HTMLBody = msg<BR> .AddAttachment "C:filesa.doc"<BR> .Send<BR> End With<BR><BR> set o_msg = nothing<BR> set o_conf = nothing<BR><BR><BR>I am wondering what should replace mailserver in the above code, and again, i am running this on my maching. thanks.