Reply
Need Help with godaddy ASP Form to email.
Old 04-28-2005, 01:43 PM Need Help with godaddy ASP Form to email.
Junior Talker

Posts: 4
Basically im code clueless. A Graphic designer turned web guy. Im working in Dreamweaver and i can create a form with no problem. But i need the form to be sent to email and have no clue how to do that. I guess i need the code and where to put it. Can anyone help, it would be awesome. Keep it real simple and if you can im just learning. thanks.
capooter is offline
Reply With Quote
View Public Profile
 
Sponsored Links (We share ad revenue):
 
Old 04-28-2005, 02:40 PM
Minaki's Avatar
Cheerleader

Posts: 1,626
Location: Guildford, UK
Thankfully the question you're asking has been asked a million times already and there are many people who have build ready-made ASP Scripts that you can just 'plug and play' anto your website that send form data off to an e-mail.

Search the forums or search Google and you're bound to find something If you need help implementing it, come back here and post your question and we'll be happy to help. I would post some code, but you know what they say about re-inventing the wheel...
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"
Inoxia Pyrotechnics Supplies | Surrey Angels Cheerleading Squad
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
Old 04-29-2005, 02:33 PM
Junior Talker

Posts: 4
HAHA thanks alot..ill give it a try
capooter is offline
Reply With Quote
View Public Profile
 
Old 04-29-2005, 02:57 PM
Junior Talker

Posts: 4
ok i tried alot of these things and the just dont work for me being code illiterate. If anyone could help with just what the dreamweaver form action and what not should be.
Like i said the godaddy asp address is gdform.asp and the form needs to be sent to smccarthy@nefiber.com. or if you could point me in the direction of the easiest website with a step by step (slow person) process for an ASP form. Im really clueless. I feel stupid. HaHa thanks.
capooter is offline
Reply With Quote
View Public Profile
 
Old 05-16-2005, 01:26 PM
ExpressoDan's Avatar
Ultra Talker

Posts: 317
Name: This Space for Rent
Location: Georgia
I also use godaddy and they offer a few options.

I assume that you are using ASP (1) Godaddy supplies a file in the root of your site when you first set it up called gdform.asp. This will take all the form feilds from your form and mail it to the recipent specified in your form sent by you. (2) I know that godaddy supports CDONTS. Because they wont give you a specific SMTP server name to send other forms of mailing methods you can use CDONTS as it doesnt require a SMTP server name. I know of several extensions you can use for Dreamweaver which are free, I cant think of them off the top of my head, but do a Google search and Im sure you'll be able to find something!

Good Luck!
Dan
ExpressoDan is offline
Reply With Quote
View Public Profile Visit ExpressoDan's homepage!
 
Old 07-15-2007, 10:04 PM Re: Need Help with godaddy ASP Form to email.
Junior Talker

Posts: 1
Use this ASP script instead

<%
Dim Mail
set Mail=server.createobject("CDO.Message")
Mail.From = "email@email.com"
Mail.To= "email@email.com"
Mail.Subject = "test email"
Mail.TextBody = "<h1>test</h1>"
Mail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/con...tion/sendusing") =2
Mail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/con...ion/smtpserver") ="relay-hosting.secureserver.net"
Mail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/con...smtpserverport") =25
Mail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/con...tpauthenticate") =1
Mail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/con...n/sendusername") ="my email login eg email@domain.com"
Mail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/con...n/sendpassword") ="my email password"
Mail.Configuration.Fields.Update
Mail.Send
set Mail=nothing
%>
spearmahj is offline
Reply With Quote
View Public Profile
 
Old 07-16-2007, 02:31 PM Re: Need Help with godaddy ASP Form to email.
chrishirst's Avatar
Super Moderator

Posts: 10,609
Location: Blackpool. UK
Mail.TextBody = "<h1>test</h1>"

bit pointless putting HTML tags in the TextBody don't you think.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 08-29-2007, 07:58 PM Re: Need Help with godaddy ASP Form to email.
Junior Talker

Posts: 1
Name: Patricia McMullen
I have to do a form for a client using GoDaddy hosting (Windows) that is sent to a particular email based on what city they are in (limited area), the city being determined by a drop down menu.. I believe this is beyond what the GoDaddy installed email program can do. Is this something you can use with CDONTS?

Thanks,

Patricia
chezbasson is offline
Reply With Quote
View Public Profile
 
Old 08-30-2007, 04:30 AM Re: Need Help with godaddy ASP Form to email.
chrishirst's Avatar
Super Moderator

Posts: 10,609
Location: Blackpool. UK
It is only beyong the standard script they offer for using the SMTP component, it's simple enough to code your own script to send mail in whatever form and to wherever you want.
It's something you can do with any email component, all you need to do is change the recipient email address.

BTW you should be using CDOSYS for emailing and the code in post 6 is for CDOSYS.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 08-31-2007, 12:26 PM Re: Need Help with godaddy ASP Form to email.
Junior Talker

Posts: 1
Just because it took me a while to figure out how to get it to work, I just registered and post my results as a working solution with a Godaddy account and windows shared hosting, this working:

Code:
<%
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="xxx@xxxx.com"
myMail.To="xxx@xxxx.com"
myMail.TextBody="This is a message."
myMail.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/sendusing")=2
'Name or IP of remote SMTP server
myMail.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpserver") _
="relay-hosting.secureserver.net"
'Server port
myMail.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpserverport") _
=25 
myMail.Configuration.Fields.Update
myMail.Send
set myMail=nothing
%>
eksob is offline
Reply With Quote
View Public Profile
 
Old 10-07-2007, 03:16 PM Re: Need Help with godaddy ASP Form to email.
Junior Talker

Posts: 1
Name: pal
I find it easier to use standard forms or create my own and not the GDform.asp form.

Use the following relay server in your ASP CDONTS code:
relay-hosting.secureserver.net
You do not need to provide a user name and password for this relay server

However, you must be using a GD hosting server for it to work. In other words, it won't work on a third party or home websever. The mail must be sent from a hosted server account.

Hope this helps and is in topic.

PC
happypwc is offline
Reply With Quote
View Public Profile
 
Old 11-29-2007, 10:26 PM Re: Need Help with godaddy ASP Form to email.
Junior Talker

Posts: 1
Hello.
ASP newbie here.
I'm having a similar problem with godaddy and email.
I'm using:
Quote:
function SendMail(toAddr, subjectText, bodyText)
Dim Mail
set Mail=server.createobject("CDO.Message")
Mail.From = ADMIN_USERNAME & " <" & ADMIN_EMAIL & ">"
Mail.To= toAddr
Mail.Subject = subjectText
Mail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/con...tion/sendusing") =2
Mail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/con...ion/smtpserver") ="relay-hosting.secureserver.net"
Mail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/con...smtpserverport") =25
Mail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/con...tpauthenticate") =1
Mail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/con...n/sendusername") ="admin@MYWEBSITE.com"
Mail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/con...n/sendpassword") ="MY_ADMIN_PASSWORD"
Mail.Configuration.Fields.Update
Mail.Send
set Mail=nothing

end function
But my issue is that when I send try to send mail from my site, I get confirmation that the email was 'sent' via "Username 'XXXX' added. Please check your email for the password.", but no email is ever sent.

If I change around the script, I can get plenty of errors, but when it seems to be working properly, I'm still not getting any emails sent to/from active email accounts.

Any help would be greatly appreciated.

Thanks in advance.

EDIT:
Would be helpful to add that I'm on the Free hosting plan at Godaddy?

This won't work either:
Quote:
function SendMail(toAddr, subjectText, bodyText)

dim mailer
dim cdoMessage, cdoConfig

'Assume all will go well.
SendMail = ""

'Configure the message.
set cdoMessage = Server.CreateObject("CDO.Message")
set cdoConfig = Server.CreateObject("CDO.Configuration")
cdoConfig.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
cdoConfig.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "relay-hosting.secureserver.net"
cdoConfig.Fields.Update
set cdoMessage.Configuration = cdoConfig

'Create the email.
cdoMessage.From = ADMIN_USERNAME & " <" & ADMIN_EMAIL & ">"
cdoMessage.To = toAddr
cdoMessage.Subject = subjectText
cdoMessage.TextBody = bodyText

'Send it.
on error resume next
cdoMessage.Send

'If an error occurred, return the error description.
if Err.Number <> 0 then
SendMail = Err.Description
end if

'Clean up.
set cdoMessage = Nothing
set cdoConfig = Nothing

end function
Same thing happens:
Main sent confirmation page but no email.

Last edited by xwingnutx : 11-30-2007 at 08:50 AM. Reason: more info added
xwingnutx is offline
Reply With Quote
View Public Profile
 
Old 03-10-2008, 09:10 PM Re: Need Help with godaddy ASP Form to email.
Junior Talker

Posts: 2
Name: bernardo escobar
HELLO, I HAVE A PROBLEM with godaddy gdform.asp, my form at www.inversionenfuturos.com is validated by each field, and also the whole form, each field is protected and the validations runs well, BUT THE FORM COULD BE SENT EMPTY, I HAVE BEEN NOT ABLE TO AVOID THE FORM COULD BE SEND EMPTY, and godaddy talk me by a help ticjket I should use a relay-hosting.secureserver.net/

SHOULD I EDIT THE GDFORM.ASP? WAHT SHOULD I DO? PLEASE HELP ME, THIS SITUATION IS GETTING ME NUTS.

my website is hosted with godaddy, windows, deluxe host.

BERNARDO
inversionesr@gmail.com
wmfx is offline
Reply With Quote
View Public Profile Visit wmfx's homepage!
 
Old 03-19-2008, 11:19 PM Re: Need Help with godaddy ASP Form to email.
Junior Talker

Posts: 1
Ok... I (as a novice with asp) understand that there is a ton of info on this subject being tossed around, however it is going over my head. I have just changed the a PHP form mailer code that worked into a presumptive ASP form mailer by changing the form action from a .php file to the "gdform.asp" they mention with the help topics. I also changed the submit button action= to "gdform.asp". I left the old exisiting variables the same. I also changed the email address on godaddy to the correct address. And the server from linux to windows --
Will this be all i'll need to do for the exchange (from php to asp)? Will this work? i am afraid to test it.
Law82 is offline
Reply With Quote
View Public Profile
 
Sponsored Links (We share ad revenue):
 
Reply     « Reply to Need Help with godaddy ASP Form to email.
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML


Page generated in 0.22828 seconds with 14 queries