I want to add a newsletter signup form to my ASP website and then have the newsletter automatically emailed to the client.
I want to use a hosted email/autorresponder company because of the spam issues are all handled by them.
I contacted hosted email/autoresponder company GetResponse ($17/month) and generated their HTML Form to capture the first_name and email_address to add to my website. I installed the HTML, but the info was not passed to GetResponse.
My ASP webmaster said the HTML won't work and I need to add Response.Redirect(URL) to my aspx.cs page.
Unfortunately, GetResponse does not know how to do this.
I also checked with ConstantContact and they also don't know from ASP.
Anybody have any thoughts on how to proceed?
Cheers,
Paul Nisenbaum in Los Angeles
5 5451
Paul,
This sounds confusing. Why do you need response.redirect? the form supplied by GetResponse should have everything you need. Could you post code or a link?
Jared
Jared,
Thanks for taking a look at this --- it's driving me nuts.
I copied the GetResponse HTML (to be used for a newsletter signup) into my aspx page. The form and confirmation pop-up worked fine, but the first_name and email_address did not get passed to Get Response.
I contacted GetResponse tech support and this is what they wrote:
Paul,Your website is created is asp and the form is directing to
your site, not ours: <form id="aspnetForm" action="newslettersign.aspx"
method="post" name="aspnetForm">. That is what causes
that the sign ups are not being added to your account.
I contacted my webmaster and this is what he wrote:
Basically, if you want to play, at the end of the code behind the form (cs file) you want under the protected void btnSubmit_Click (...) {}
code there will be a Response.Redirect (if there isn't you want to add it)
The Response.Redirect(URL) allows you to post to another site.
Here is the HTML code from GetResponse that creates the form and confirmation popup. - <!-- GetResponse subscription form | start -->
-
<SCRIPT LANGUAGE="JavaScript">
-
function popupXY(fileName, x, y) {
-
window.open(fileName, 'popup', 'toolbar=no, scrollbars=yes, directories=no, status=no, menubar=no, resizable=no, width='+x+', height='+y);
-
}
-
</SCRIPT>
-
-
<form action="http://www.getresponse.com/cgi-bin/add.cgi" method="post" TARGET="popup" id="GRSubscribeForm" accept-charset="UTF-8">
-
<fieldset>
-
<table><tr>
-
<td><label for="GRCategory2">Your first name</label>:</td>
-
<td><input type="text" name="category2" size="14" id="GRCategory2" /></td>
-
</tr><tr>
-
<td><label for="GRCategory3">Your primary e-mail</label>:</td>
-
<td><input type="text" name="category3" size="14" id="GRCategory3" /></td>
-
</tr></table>
-
<input type="submit" onclick="popupXY('wait.html', 350, 500);" value="Subscribe Now!" />
-
<p>
-
Service provided by <a href="http://www.GetResponse.com/index/pnbiz/" title="GetResponse Autoresponders">GetResponse Autoresponders</a>
-
</p>
-
</fieldset>
-
<input type="hidden" name="category1" value="epg_newsletters"/>
-
<input type="hidden" name="confirmation" value="http://www.epaymentguru.com/newsletterthankyou.aspx" />
-
<input type="hidden" name="ref" value="0001" />
-
</form>
-
-
<style>
-
#GRSubscribeForm fieldset {
-
width: 260px;
-
border: 0;
-
}
-
-
/* comment about GetResponse */
-
#GRSubscribeForm p {
-
font-size: x-small;
-
}
-
-
/* table used to position form elements */
-
#GRSubscribeForm table {
-
border: 0;
-
}
-
</style>
-
<!-- GetResponse subscription form | end -->
Paul,
Open the form in a browser, check the source code, what does the form tag say as your browser sees it? (I just want to make sure your asp page isn't altering it in some way.)
Jared
Jared,
Since I don't know too much about this, I am guessing this is the form tag when I check the source from IE. - <form name="aspnetForm" method="post" action="newslettersigngr.aspx" id="aspnetForm">
If you want, you can take a look. The page is on my site, but not from a navigation button. ePaymentGuru Newsletter Sign Up - special page with GetResponse Form - http://www.epaymentguru.com/newslettersigngr.aspx
Cheers,
Paul
BTW, I am in Los Angeles. It's 12:10 am PST.
Paul,
Open the form in a browser, check the source code, what does the form tag say as your browser sees it? (I just want to make sure your asp page isn't altering it in some way.)
Jared
Jared,
Since I don't know too much about this, I am guessing this is the form tag when I check the source from IE. - <form name="aspnetForm" method="post" action="newslettersigngr.aspx" id="aspnetForm">
If you want, you can take a look. The page is on my site, but not from a navigation button. ePaymentGuru Newsletter Sign Up - special page with GetResponse Form - http://www.epaymentguru.com/newslettersigngr.aspx
Cheers,
Paul
BTW, I am in Los Angeles. It's 12:10 am PST.
OK, the action needs to be changed to:
http://www.getresponse.com/cgi-bin/add.cgi
This might take the user off site without sending them back (I don't know how they work it at getResponse) so you might want the form to open in a new window. But there is no reason that I see why you wouldn't want to send the form data to them in the first place. Were you trying to collect that info separately?
Jared
I'm in Utah, so not too far off.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Vanessa |
last post by:
Hi,
I would like to know whether there's any way for me to pass an object by
reference to another form?
Regards
Vanessa
|
by: Andy |
last post by:
I need your help to check if my autoresponder will work in the following
script. I am testing my PHP scripts on free server, which dosen't allow me...
|
by: Fresh Air Rider |
last post by:
Hello
Could anyone please explain how I can pass more than one
arguement/parameter value to a function using <asp:linkbutton> or is
this a major...
|
by: LD |
last post by:
Hi,
I'm pulling my hair out!!
My problem is,
I need to automatically upload a zip file along with 3 other pieces of text
data to a web...
|
by: Denise |
last post by:
I have posted a similar message in 2 other forums but got no response. I
have spent more hours than I can count researching this. Can anyone...
|
by: Mark Waser |
last post by:
Hi all,
I'm trying to post multipart/form-data to a web page but seem to have
run into a wall. I'm familiar with RFC 1867 and have done this...
|
by: Kevinyy |
last post by:
I'm working on a proxy and i was wondering how i can collect the cookies and pass them back to the client? so they can log into sites and etc? here...
|
by: mcfly1204 |
last post by:
I am attempting to use WebRequest to access a page that requires a login/password to access. My last WebRequest continues to timeout. Any help or...
|
by: swethak |
last post by:
Hi,
I am getting the problem with form tag. i,e in in form action i am placing the some autoresponder page like
<form name="form1"...
|
by: concettolabs |
last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
|
by: better678 |
last post by:
Question:
Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct?
Answer:
Java is an object-oriented...
|
by: Naresh1 |
last post by:
What is WebLogic Admin Training?
WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
|
by: jalbright99669 |
last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
|
by: Matthew3360 |
last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function.
Here is my code.
...
|
by: Matthew3360 |
last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
|
by: Arjunsri |
last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
|
by: Matthew3360 |
last post by:
Hi,
I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...
|
by: Oralloy |
last post by:
Hello Folks,
I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA.
My problem (spelled failure) is with the...
| |