We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

Sending mail with aspRSS

1 reply

Last post Oct 29, 2004 08:42 AM by tomkmvp

  • Sending mail with asp

    Oct 29, 2004 08:06 AM|Undertone|LINK

    Hi, here's what my code looks like dim objMail set objMail = Server.CreateObject("CDONTS.NewMail") objMail.Subject = "WELCOME" objMail.From = "niall.caffrey2@mail.dcu.ie" objMail.To = "niall.caffrey2@mail.dcu.ie" objMail.Body = "hello" objMail.Send set objMail = nothing a coulpe of questions, can i still use CDONTS, because some tutorials are telling me to use CDO in the line objMail.From part of the code, can i use any email address, or do i have to use one that is running on the same server as the .asp file??
  • Re: Sending mail with asp

    Oct 29, 2004 08:42 AM|tomkmvp|LINK

    1) Only if this is running on Windows 2000 2) The address should be arbitrary.