# Not getting the email

**URL:** <https://forum.kirupa.com/t/not-getting-the-email/52598>\
**Category:** Uncategorized\
**Created:** [May 25, 2004, 4:03pm UTC](https://forum.kirupa.com/t/not-getting-the-email/52598 "2004-05-25T16:03:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lacuna](https://avatars.discourse-cdn.com/v4/letter/l/edb3f5/32.png) [@Lacuna](https://forum.kirupa.com/u/Lacuna)\
**Post date:** [May 25, 2004, 4:03pm UTC](https://forum.kirupa.com/t/not-getting-the-email/52598/1 "2004-05-25T16:03:01Z")

</div>

I copied this code from FlashKit…

```php
 

 <&quest;
  sndremail = Request.form("sndremail")
  Email = Request.form("sndremail")
  Company = Request.form("Company")
  strName = "The Dunes"
  strEmail = "lacunacoiled@hotmail.com"
  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
  &quest;>

```

but im not getting an email… does anyone see anything wrong with the code? I know the server supports asp…

~ Lacuna :love:
