I copied this code from FlashKit…
<?
sndremail = Request.form("sndremail")
Email = Request.form("sndremail")
Company = Request.form("Company")
strName = "The Dunes"
strEmail = "[email protected]"
strSubject = "Booking for the Dunes"
strBody = ToComments
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.RemoteHost = "mail.theduneslive.com"
Mailer.FromName = sndremail
Mailer.FromAddress = sndremail
Mailer.AddRecipient strName, strEmail
Mailer.Subject = (strSubject)
Mailer.BodyText = strBody
if Mailer.SendMail then
Response.Write "_root.Mail.EmailStatus=Complete - Your mail has been sent"
else
Response.Write "_root.Mail.EmailStatus=Failure - Your mail was not sent - errors"
Response.Write Mailer.Response
end if
?>
but im not getting an email… does anyone see anything wrong with the code? I know the server supports asp…
~ Lacuna :love: