I was wondering if someone could help me out. I have a form and what I want is to have only certain parts of the form be emailed out to certain people.
So say I have 2 sections of my form. I want section 1 to be emailed to person1@host.com and I want section 2 to be emailed to person2@host.com.
I already have a very crude code to send out an email for the entire form to 1 person. Can anyone help me with this?
I am trying to email form contents using ASpmail. I have gotten the form to email the contents, however, when the email is received the contents are in a very random order. Is there a way to get the information in the email to appear in the same order in which the form fields appear on the form page?
I have a form with two textfields. When the user hits the submit buttom I want the server to email me the results from the textfieds. Can anyone help me with this?
I have these email forms (using CDO) that email the content of a form to different people in our organization. Now I'd like to also email the user after they initially submit the form to confirm that we've received their information and advise them of the next steps.
My problem is that I'm trying to create 2 email instances on 1 asp page I think... which I guess is 1 session?? I'm kinda lost. How can I generate two seperate emails from one form submission? Of course, my first attempt was to just copy the original email code and change the variable names... but that doesn't work... it gets stuck on setting up the CDO config.....
I have created a form in HTML with no problems, but I can't find any tutorials on how to (or whether I even can) have the results of what the user inputted into the form directly to me. I would also like to be able to have the results stored in an Excel Spreadsheet as well. I've found tutorials on how to send to addresses inputted into the form, kind of like a 'Thanks for Participating' sort of thing and I've tried to modify it to get it to work for sending me messages, but I just can't get it to work.
I have list of asp pages that are grouped together by sections they belong to - So section Add could have pages add.asp and add2.asp, Section Delete could have pages del.asp and del2.asp so that the final display should look like this Click on link below:
Add add.asp add2.asp
Delete del.asp del2.asp
The recordset returned contains the following fields: Code:
I have 2 diff sections on my web page, we would like it displays section 1 when viewers are in a default.asp page, else displays a section 2, how can we do that? something like this:
The current version will run a FOR loop for each form element and will give them a label (by a variable). This label is then attached to each form element's value on the email.
However the email is pretty untidy so I would like to change the code so that groups of labels appear as groups on the email.
how to replace the system.web section using MSBUILD? I managed to change the appSettings and connectionStrings sections but when i tried to replace system.web i got an error message reporting missing system.web section.
i have a anal client that requires my excel pages to look exactly like this one. the only problem i see is going to be the header section. It's in the center top cell and is centered.
I've never done any type of exporting to excel yet, before i get to deep into it. Is it possible to format an excel doc from asp exactly like this ?
my site (which I am currently redeveloping) has 3 different sections to the site. All which well contain different information.
What I want to know is how can I make the starting page of the site display information which the users is looking for.
eg. if the user always go to one section of the site the main page well show information relevant to that section. (I hope you know what I mean)
So I was thinking about how to do this and this is what I came up with.
Set a cookie for the site and each section has there own number value (eg. 1 to 10) When the user hits the main page it gets the values of all 3 sections from the cookies and checks which has the most value (eg 3, 5, 10).
Based upon the highest value each section has there own .asp include which is shown to the user.
The web user does a search of a database and the results are returned in an HTML table. I want to present the user with a table that just shows the salient facts (brief item description, stock value, etc).
However, I'd like to give the user the opportunity to expand (and if they wish to contract again) any one row of the table to display things like a picture and an extended description of the row item, rather than have them go to a separate page for this.
I'd also like to give them the option to expand all rows in the table (and contract them again) if they wished.
What's the best way to achieve this? I'm not sure of the target audience, so may have to support browsers using HTML4 (may even be Netscape...)
I am currently working on script which needs to be able to send personalized emails.
The number of emails needing to be sent at one time could be anywhere from 100 to 100,000.
I would like to provide this as a background process. IE The administrator clicks on the "Dispatch Emails" button, is able to continue with his work, and then sometime later a popup windows shows up telling him the emailing was successful.
The script is currently using a sendmail function using CDONTS. Will this be able to handle a large number of emails? What about being able to somehow have the sendmail functioning in the background?
I have never worked with ASP send mailing features before and I guess I am looking for suggestions as to how i should go about this.
I've got a form which people will fill out on the web with information such as there name, email address etc.
Ive got it to email through to me but any ideas how i can also get it to email a message back to them based on the email address they place in the email field?
I am having problems emailing an ASP page within the body of the email.Is there an easier way than using CDONTS to accomplish this? Here is what i have so far:
What i end up getting is an email with the following as the contents of the body "/download.ASP". Is there an easy way to assign an ASP page to a variable and send it through email.
We have stored user registration information in an Access database, and we wish to develop an email with attachments like words document and pictures in jpeg/gif format and import mailing list from the Access database and to send this to the user .
I need to send an email out to about 800 members of our organization once every month. I've been using a 3rd party listserver, but that's been cumbersome at best, trying to keep the two email databases in sync and all.
I know how to write an asp loop to query our database and send an email to each of the 800 recipients, but I'm not sure if this is the right approach. We have an sql-driven website that's tied in as well, so ideally what I want to do is use asp to grab some website data from the sql database, generate the email text, then cycle through our membership database sending it to each member. Is this a good method, or what would be a better approach?
I need to send batch html emails out from a db mailing list (anything up to 1000 in one go).I am using CDOSYS and standard ASP. My problem is that it will error if I try to do any more that 5 every 30 seconds - this is fine when I send them out myself (I have a script to do this) but now I need a program which will allow users to send out batches and I want it to appear seamless.
i'm still kind of new to ASP all together but i need to make a web form which will email the information to a specified email address. i've gotten the form to work flawlessly. however, i would like to add an attachment field so the user can upload attachments for us. how do you code attachments? our server is currently using CDONTS.
I have different templates for different companies to be sent to the customer. first i get all the templates from the DB by giving: Select templates from tempates;
Now i want the user to select one..may be we can have a radio button displayed near the textarea in which i will be displaying the templates from DB. Once the agent selects one of the templates to be sent,that template should be sent as an email to the customer.
How do i go on achieving this ,with good formatted template in the DB?
I believe that the SMTPMail component is part of ASP.NET, although I may be wrong, but is there anyway of using it in normal ASP scripts??
I ask because I need to send an email via my script, to a preset email address and containing the same message each time it is sent, and I have my own SMTP server (linux based) which I would like to utilise.
I also cannot use CDOSYS for this, tried everything but cannot get it to work on my machine
Failing that, does anyone know of a freeware component that will enable me to put normal SMTP commands into my scripts, just so I can send an email to a specified address, containing a basic body and using the SMTP server I have.
I need the ability to email the output of an asp page to someone. I've seen it around enough that I'm guessing it's pretty basic, but I haven't come up with the google search that'll get me what I need.
I know how to send an html email, but I can't figure out how to get the contents of that page into a variable. The pages I want to send are like this one: Code:
I have a SQL statement that returns the following list:
Email | Client_ID | Search | Description test@test.com | 1 | chevrolet | chevrolet, in new condition test@test.com | 1 | chrysler | very nice chrysler, $ 500 mail@mail.com | 2 | chrysler | good chrysler as new
Email = e-mail address Clienst_ID = ID of the client
Search = Keyword that a client entered in the database to search for Description = The result from the database based on the keyword. Code:
I have an asp page that successfully writes out the form data to a text file. I would like to use Blat (or other free email utility) to send the contents of the text file to a user. The code to email is as follows:
Dim stdout, shell, cmd function ExecCmd(cmdline) set stdout = wscript.stdout set shell = createobject("wscript.shell") set cmd = shell.Exec(cmdline) do until cmd.status=1: wscript.sleep 5:loop ExecCmd = cmd.stdout.readall End Function
I am guessing that it may not like the two sets of double quotes. Is it possible to do this? The company is not willing to spend $$$$$ on actual sendmail package.
I'm trying to build a page that the user can attach a file/s to and email them thru a form. I see plenty of info on how to actually code it to send with a variable - but how do you build a form that allows user go out and browse for a file? Then loads the path into a form?
I have been reading quite a bit on how to do the objMail.AttachFile object, and no one can seem to get to it work properly. I have seen many variations such as:
I havent seen anyone report that they got it to work. I am using enctype="multipart/form-data" on my original web form, specifying the input type="file", declaring the attached file variable on my asp page, and doing request.form to gather the appropriate value, but nothing works.
Other forum users have said that it does not like virtual paths, but rather hard-coded paths, for some reason. Does anyone have some good code that works?
I have the following code which dumps out the location of an uploaded file and the name of the person that uploaded the file. That works correctly. Now I am trying to email the file location and name and I am at a loss. How do I pull the results into an email?
I´m having a problem using ASP Upload with an insert form..
If I use ENCTYPE="multipart/form-data" the all the parametres i might get with request.form don´t appear.. but i can upload the files.. Besides if I take away the ENCTYPE tag, i can´t upload but the INSERT INTO form works propertly
my form contains two text fields(name, address) and two file field control where user can insert image(photo1 and photo2), i want to insert this data in to ms access when the user submits the form?
this is my code for insert text fields to access data base.but i have no idea about the code for image fields. In my access data base i set photo1 and photo2 as herf (binary data). Code: