ASP MAIL FORM SCRIPT ON GO DADDY

ASP MAIL FORM SCRIPT ON GO DADDY

Tell Us About Your Project

Written by:

April 5, 2024

Database and Software Development

Database and Software Development

ASP MAIL FORM SCRIPT ON GO DADDY

MAIL FORM SCRIPT IN CLASSIC ASP TO SEND FORM MAIL ON GO DADDY WINDOWS HOSTING

ASP Mail Form Script on Go Daddy – Nothing can be more frustrating than waiting for a form email test. This is primarily an email from a form sent through Go Daddy’s internal form-sending server. Because sometimes it’s fast and sometimes it’s slow. On the other hand, there is no way to tell if the mail server is processing your email. Of course, you could scour the server logs to find the mail time stamp. However, this is very time-consuming.

FORM SCRIPT

ASP Mail Form Script on Go Daddy – Below is a script that works like a charm. On the other hand, if you plan on cutting and pasting from this web page, first open NOTE PAD and paste from this page to strip out all the HTML junk. Moreover, if you have a web editor like Dreamweaver, use that instead. In otherwords, you want to be sure your code is formatted correctly.

FORM ACTION PART:
You can name the file anything you want. However, for these purposes, we are calling it aspmailform. asp

FORM SENDING SCRIPT:

<%
dim strMsgInfo: strMsgInfo = “”

For i = 1 to Request.Form.Count
strMsgInfo = strMsgInfo & Request.Form.Key(i) & ” – ” & Request.Form.Item(i) & “
” & vbCrLf
next

sendUrl=”http://schemas.microsoft.com/cdo/configuration/sendusing”
smtpUrl=”http://schemas.microsoft.com/cdo/configuration/smtpserver”

‘ Set the mail server configuration
Set objConfig=CreateObject(“CDO.Configuration”)
objConfig.Fields.Item(sendUrl)=2 ‘ cdoSendUsingPort
objConfig.Fields.Item(smtpUrl)=”relay-hosting.secureserver.net”
objConfig.Fields.Update

‘ Create and send the mail
Set objMail=CreateObject(“CDO.Message”)
‘ Use the config object created above
Set objMail.Configuration=objConfig
objMail.From=”hopethisworks@domainname.com”
objMail.ReplyTo=”hopethisworks@domainname.com”
objMail.To=”finallyworks@mydomainname.com.com”
objMail.Subject=”Web Inquiry”
objMail.HTMLBody=strMsgInfo
if (objMail.Send = 0) then
set objMail = nothing
response. Redirect (“confirmation. asp”)
else
set objMail = nothing
response. Redirect (“error. asp”)
end if

%>

ASP Email Form Sending Script

BELOW ARE COMMENT NOTES ABOUT THE FIELDS IN THE SCRIPT – PLEASE READ THESE.

LET US SET IT UP FOR YOU

Your business website is open for inquiries 24 hours a day, seven days a week. Therefore, you cannot afford your website forms to be down or offline for one minute. Furthermore, a business does not have time to wait for a website fix or repair. In particular, if you are a VISIONEFX web maintenance client, you don’t worry about things like that!

ABOUT VISIONEFX

Our experienced web developers know how to program. Above all, understand custom coding mail scripts. Additionally, we develop custom mail form applications. In like manner, our web experts will analyze and plan a custom solution for your business needs.

GOOGLE REVIEWS

Please read what our customers have to say about VISIONEFX on Google Reviews.

For more information, call (757) 619-6456 or email info@visionefx.net.

After you finally get your email from working, you will want to know how to deal with spam.

Also, see
Go Daddy Windows Hosting
ASP Mail Form Script on Network Solutions
ASP Mail Form Script, Form-mail, Exchange Server
Check Your Website Functionality
What Is The Best Email Marketing System?

Click For Free Quote!
Virginia Website Development Experts

REPUTATION : WE VALUE OUR CLIENTS

Reputation Is Everything. We make sure customer websites run like a finely tuned machine to help them beat the competition and excel online. Please take a moment and read our live Google Reviews.

Web Maintenance Support Virginia

UNPARALLELED CUSTOMER SERVICE

Visionefx knows it's essential to keep your Website, contact forms, and database humming along 24/7. We support and maintain your business website as your very own 'personal webmaster.'