oConf = createobject("cdo.configuration") <pre> oFlds = oConf.Fields With oFlds .Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 && cdoSendUsingPort .Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = ; "smtp.for.terra.com.br" .Update() EndWith *... With loMsg .Configuration = oConf *...message: OLE IDispatch exception code 0 from ?: The message could not be sent to the SMTP server. The transport error code was 0x80040217. The server response was not available