Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: -1 in FROM box using CDONT object mailer


Message #1 by "dnb" <diego.brough@a...> on Fri, 23 Feb 2001 14:31:29
Using object mailer on IIS server.  Email is sent correctly, however, in 

the from box a -1 appears.  Below is code:



   

   Set objMailer = CreateObject("CDONTS.Newmail")

   objMailer.From = from 'from contains text string, sample: me@m...

   objMailer.To = Rcpt

   objMailer.Subject = Subject

   objMailer.Body = Body

   objMailer.Send True

   Set objMailer = Nothing

  Return to Index