Asp Email Post?

i can't seem to find that great post that went through all the cdonts options for sending mail

View Replies


ADVERTISEMENT

Form Post From Email

We have created a new ASP file that will process a standard HTML form, write the data submitted in the form to a database table, and send us an email of the data submitted. All works OK except if we now send that form code as part of an email, the form appears OK at the receiver's end, but when you fill in the form, there is no data that is transmitted back to the asp file.

The ASP file acknowledges the receipt of the form, and all that, but there is no data in the email and no data in the table.

It is obviously something that is happening when it is sent as an email, but I have seen this sort of thing done before, with a form in an email, and I wonder if anyone has some clues as to what we need to do to make the form work properly when sent as an HTML email.

View Replies View Related

Re-submit A POST Immediately From A Previous POST

Is there a way to 'force' a submit on a form with out actually allowing the
user to press a button ? For example...

step1: A from is filled out by a user, then they click the submit button.

step2: The form is 'post'ed to an ASP page which writes the values to a
database. So far No problems. But..

step3: Now I want to 'post' these values again to another page without any
user interaction.

My ideas were:

1) I know you can get the form values from Request.Form("myVar"), so I
thought of making a 'dummy' form and setting the 'values' of the form
variables to these Request.Form("myVar") valiables, but I don't know how to
'submit' them to another page again.

2) Is there some type of 'submit' command in ASP?

View Replies View Related

Post Data, Then Post Again..

i have a series of .asp pages that i am dividing into model, view, control logic. my view collects a whole bunch of data and posts it to the controller. im wondering if there is a way to somehow "re-post" this same data to my model page.

in short, is .asp capable of taking data posted to a page and re-post that same data to another page?

View Replies View Related

Email Validation Of Email Address Within An Access Database

Im running a simple mail system program which emails newsletters to a database list of 3000+ users.

The program loops through a database containing the emails and sends them out using ASPEmail.

My question is, is there some way i can validate each email address so that if there are invalid characters e.g. the space in "blah @blah.com"
it will skip the record and continue the loop.

At the moment i have a working program however, whenever the program comes across an invalid email address it stops at that record and prevents the program from emailing any further.

View Replies View Related

CDONTs - Problem Formatting An Email, From Form To Email

I am having a problem formatting an email message which comes from a form.

I am currently having difficulty with the <br> tag which I am using for line spaces within my email. I am getting an expected statement error message which is pointing to the line which is underlined below. I can't think what is causing this.

The code for my processing page is below:-

View Replies View Related

Generating Email Address And Textarea To Be Inlcluded On Email

1. I want users to type in their email address on a textfield, and after users press the "Submit" button. The info will automatically go to another person's email to receive a compliment, suggestion, etcetera.

2. Another is how to include the message written on a textarea of a form with the ASP code supplied below: Code:

View Replies View Related

Asp Email Verification Check Valid Email Thru Mx Record

how to write to check verification valid email thru nslookup or mx record or dns record. Is it possible to do that. Is there any tutorial from sitepoint, previously found it but i lost the link.

example to check assume test@domain.com is not a real email, abc@domain.com is real email
how do u check it.

View Replies View Related

Cdonts Email Script Won't Send Email

i used the following script but it won't send the email. any suggestions why?

<%
Dim TBdy
Dim MyCDO
CR = Chr(13)
Set MyCDO = Server.CreateObject("CDONTS.NewMail")
MyCDO.From = "person@something.org"
MyCDO.To = "allstar@aol.com"
MyCDO.Subject = "collegebound info"
TBdy = Request.Form("cb_name")
MyCDO.Body = TBdy
MyCDO.Importance = 1 (Normal)
MyCDO.Send
Set MyCDO = nothing

%>

View Replies View Related

Email Form - Verify Email Address

Just starting to play with scripts, and need a little guidance. I want to check to make sure that the email addresses users enter in a form are identical before it will allow them to submit. here's what i have:

the variable for the second email address is EmailFrom2

'validation
Dim validationOK
validationOK=true
If (Trim(EmailFrom)="") Then validationOK=false
If (validationOK=false) Then Response.Redirect("emailerror.htm?" & EmailFrom)
If (Trim(Name)="") Then validationOK=false
If (validationOK=false) Then Response.Redirect("nameerror.htm?")
If (Trim(CityState)="") Then validationOK=false
If (validationOK=false) Then Response.Redirect("citystateerror.htm?")
If (Trim(SchoolName)="") Then validationOK=false
If (validationOK=false) Then Response.Redirect("schoolnameerror.htm?")

View Replies View Related

ASP Email Form: Sends To Some Email Addresses But Not Others..

here is the script i use:

Set myMail=server.CreateObject("CDO.Message")
myMail.Subject="subject"
myMail.From="me"
myMail.To=request.form("email")
myMail.TextBody="hello"
myMail.Send
set myMail=nothing

this script sends emails to some addresses but not others--and its based on the email service it's sending to. for instance, hotmail email addresses get the email, but mail.com email addresses dont get the email. i have tried sending it to other email hosts, too, and still, some work, some don't. what is going on here?

View Replies View Related

Asp Post

I've an html form with some fields, I have to normally post them clicking a
submit button to an asp page; this page have to programmatically repost
these fields and other constants to another page

I do this beacuse I don't want the web user to see the costants which are
the authentication values (username password)

View Replies View Related

POST And GET

I couldn't get my page to POST to my server I thought
because I had run IIS lockdown and other hardening tools.
Now I've rebuilt the whole server from scratch and have
yet to disable anything. I still can't POST. GET has been
working fine all along. Is there anything that needs to
be done beyond setting the forms method to POST and using
Request.Form(whatever), instead of Request.QueryString
(whatever)? Is there something that I need to put in the
ASP or client page header or something? I must be missing
something. Maybe IIS 5 needs to be set up to use POST or
something.

View Replies View Related

Old Post

It's really simple question. How can I insert Statement/line with " ' ".. for exmaple I get error if I enter "Let's play".

I am trying to instert that line into table.

View Replies View Related

Post To A URL

I'm trying to make a simple ASP page post to a URL on a seperate web site, and then get the returned HTML into a string which on service side script I can then parse. Is there any object built into IIS or Microsoft I could use Server.CreateObject with to make this possible?

View Replies View Related

End Of Post

I have a form that get submitted. On the page that dose the db work I need a loop that will run through each record set and updated it to the db. I was thinking about writing a do loop that will increment scount = scount + 1 . the problem is that I have no idea how to tell if i am at the end of my request.form("id").

i can response my request.form("id") and i see all the id's listed acress the page.. just need to loop through then one at a time.

View Replies View Related

Get Vs Post

Well I did a little research of my own and found that get shouldn't be used when a form is causing some big changes into the DB such as deleting, updating etc.

Until now I've always used GET for everything. So should I use Post for updating, deleting editing etc and GET only for retrival.

View Replies View Related

From Post To Get

I am trying to re-write a post method search page so that it will accept variables using the get method. For those of you asking what the heck i'm talking about simply this. I need the ability to send variables through the url to the search page of my site.

This page would be a copy, i.e. Searchprods.asp-original that uses post method, Searchprods2.asp using get method. I am almost completely lost as I don't use asp, or even vbscript often.

View Replies View Related

Post

i got a lot of text inputs inside table(60~)and i want to update them. till now i used to do it with posting to another page the variables and on the other page i will take all the posted values and update it inside mysql.

but suppose i got a long list of text inputs. is there to update only the changed fields? if i got 60 text inputs, and changed only 4. i realy think this is not logical to standon the other page and check all 60 posted variables one by one if they empty or not andupdate those which the user changed, or to skip the checking part and to update all 60 at once.

View Replies View Related

Email Through CDONTS Using ISP Email Server

I am using CDONTS component to send email in ASP.

The code is some thing like this:

Dim Mail
Set Mail = Server.CreateObject("CDONTS.Newmail")
mail.From = "abc@hotmail.com"
mail.to = "xyz@hotmail.com"
mail.subject = "Test Email Subject"
mail.body = "This is Email body message"
mail.send

Now the question is that this code will use the Default Virtual SMTP Server in IIS, but I want to use my ISP's SMTP server. please tell me how to do this. I have used my ISP's email server in Outlook express and it is working fine. Please do not suggest to use "CDO" or "CDOSYS" to use for sending emails because I must have to use "CDONTS".

View Replies View Related

Post Data

in past, i learnt from the book to post data by

action=post & input type=text

now the post data is not from user input
it is from a table which is generated by asp script

i wish to generate a table with a check box at each row.

when i select the check boxs, then the rows of the table will be posted to
another html page

any hints to me for doing this?

Secondly, how about if rows of the table will be posted to a input box on
another html page grateful if you could give me some hints.

View Replies View Related

Post Variable

I have a VB application sending data via post to an ASP page.

The application sends two variable: id, txt

If txt has the & sign in its string, it cause trouble. E.g.:
id = 1
txt = "Hello & more"

If I take a look into Request.Form() array in asp page, it shows the
following:
id = 1
txt = "Hello "
more = ""

View Replies View Related

Passing Post

I'm posting a form from a php page to a page that's asp. I want the url parameters sent to the asp page to be the defaults of the form. I've never used asp so I'm not sure how to do this.For example:
www.test.com/test.asp?clientid=123

Text field in asp/javascript form called "client" should now default to "123".

In php I would have put this as the default value for the "client" field in the form: <?php $_GET['clientid']; ?>

What would be the equivalent way of doing it for asp?

View Replies View Related

Post Error

what's wrong with the line below
<A HREF="http://www.nyc-discusfanatics.com/face/dragonball/forum/Breeding/BreedingDisplayPost.asp?tid=<%objRS("ThreadID")%>#<%objRS3("ThreadID")%>"> ></A>

I got an error:
Wrong number of arguments or invalid property assigment.

View Replies View Related

POST Method

Now this is a weird one. I'm having a problem with a system in development. When I post data from a form in IE 5.01 it works fine, but in IE 5.5 it refuses to post the data to the server and in IE 6 it's scatty -- works sometimes but not others. Anyone seen this before?
Edit:
By the way -- this is normal VBS/ASP running on IIS 5 on an NT server

View Replies View Related

Post Data

i have an asp page with a form that posts to itself. (the action of the form
is the same page the form is on). i validate input and dont accept it if
there is something wrong with it. problem is that when the form is
submitted, and i display the error message, the data the user typed in the
box is gone. i work around this by setting a session variable as soon as the
user hits submit and store the data the user typed. then for the default
value of the textbox i have <%= Session("var") %and that leaves the users
data in the box for them to edit. is there a better way i could do this?

View Replies View Related

POST Data

Is there a way I can POST data from a ASP page to another page? I am not trying to POST data from a form to another page, but would like to create the POST headers from different variables, and then send it to another page

View Replies View Related

Automatic Post

I need to some how do the following and if anyone can help me or point me in the right direction I would appreciate it very much.

I have a form that the user would fill out. When he/she clicks submit it goes into another page that reviews the information that the user typed in the previous form. If all of the information is good for the user there's another button in that page that they would have to click.

This is what I want to happen after they click on this button. I want to record the data in a SQL database, which I know how to do that, but what I want to happen automatically right after inserting the data in the SQL database is that I want the same data to be carried over to another page where there'll be another form and want that data to be populated in this new form. How do I do that?

View Replies View Related

Post Problem

I have a token passed to me from a secruity module on a remote machine that has checked username and password.

I am supposed to get that token and then query a security client that contains details about the token - the username and ip

I can't get the posted data from the form into a little asp page that was supplied as an example. Code:

View Replies View Related

Using Http Post With Xml

I created a form for users to sign up for a newsletter our site sends out. The thing is we use a third party that keeps a db of our subscribers and sends the email for us. The signup resides on our site and when the user submits they get poasted to this third party site and then click through and get refreshed to our site again.

We want change that process and keep the user on our site so now thier values need to get posted to the 3rd party behind the scenes. Code:

View Replies View Related

Post Method

I have a form that ignores my form validation code. My code works if I use the post method of <%=Request.ServerVariables("SCRIPT_NAME")%>.

But, If I post the form to another .asp page, which I prefer, the code doesn't work. Do anyone have any suggestions? Here's my code.

I have a form that ignores my form validation code. My code works if I use the post method of <%=Request.ServerVariables("SCRIPT_NAME")%>. But, If I post the form to another .asp page, which I prefer, the code doesn't work. Do anyone have any suggestions? Code:

View Replies View Related

Http Post

i'm tring to send post data using
set objSrvHTTP = Server.CreateObject ("WinHTTP.WinHTTPRequest.5.1")
....
objSrvHTTP.send xmlstring

but the transfer rate is very low(4 min per MB on LAN)..
some ideas?

(with MSXML2.ServerXMLHTTP.4.0 is equal)

View Replies View Related

About How To Automatically POST

To create a asp file in a wbserver as a interface for the IPphone and the internet. As IPphone can only have GET function ( that means it can't POST thing to the internet).

The asp file's concept is that the file is firstly read the data sent by the IPphone and then encode them into html format and then POST them to the required website. However, i only know the following method to POST. Code:

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved