Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 24, 2012, 02:02:58 AM

Pages: [1]   Go Down
  Print  
Author Topic: Error when emailing to external address  (Read 710 times)
bretmo2
Newbie
*
Offline Offline

Posts: 1


WWW
« on: October 18, 2002, 11:54:00 PM »

I have written an application that allows a visitor to email a link. When I email the link to an internal address ( me@mydomain.com ) it works but when I email to an external address ( me@hotmail.com )I get an error ...

CDONTS.NewMail.1 error '80020009'

503 Application Restarting

/favorites/maillinksql.asp, line 41

I have managed to email to an external address once but prior to and since this has not worked. When this worked I had made no changes to the code so I'm a bit confused. The code is ...

Set mailmsg = Server.CreateObject("CDONTS.NewMail")
mailmsg.To = emailto
mailmsg.From = emailfrom
mailmsg.Subject = subject
mailmsg.Body = message & sig
mailmsg.Host = "mail.mtdomain.com"
mailmsg.Send

support@lunarpages.com say this is a coding problem but I'm not sure.
Regards,
Bret.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: