# What is response.write in this code here?

**URL:** <https://forum.kirupa.com/t/what-is-response-write-in-this-code-here/191353>\
**Category:** Uncategorized\
**Created:** [June 19, 2006, 10:15pm UTC](https://forum.kirupa.com/t/what-is-response-write-in-this-code-here/191353 "2006-06-19T22:15:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ELUDZ](https://avatars.discourse-cdn.com/v4/letter/e/7cd45c/32.png) [@ELUDZ](https://forum.kirupa.com/u/ELUDZ)\
**Post date:** [June 19, 2006, 10:15pm UTC](https://forum.kirupa.com/t/what-is-response-write-in-this-code-here/191353/1 "2006-06-19T22:15:09Z")

</div>

[SIZE=2]\<?  
FirstName = Request.form(“FirstName”)  
Email = Request.form(“Email”)  
Company = Request.form(“Company”)  
ToComments = Request.form(“ToComments”)  
HearAbout = Request.form(“HearAbout”)

strName = “Your Name”  
strEmail = "YourEmail@YourSite.com"  
strSubject = “Tutorial Request Example Email”  
strBody = ToComments & HearAbout & Company

Set Mailer = Server.CreateObject(“SMTPsvg.Mailer”)

Mailer.RemoteHost = “[mail.innerhost.com](http://mail.innerhost.com)”  
Mailer.FromName = FirstName  
Mailer.FromAddress = Email  
Mailer.AddRecipient strName, strEmail  
Mailer.Subject = (strSubject)  
Mailer.BodyText = strBody

// RIGHT HERE WTF IS Response? is it a built in function or a textbox or something…?  
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

?\>  
[/SIZE]
