I need to attach a file to a form and after i hit the attach button i need to diplay another button saying view attachment in the same form and want the browse and attach buttons to disappear.
I would like mu users to be able to attach files using an interface deveolped in ASP. The files should then be saved in a database. How do I go about it?
I am using ASP 3.0 for sending emails through my website. It is correctly working and I also successfully attached server reside files via email attachment. I wish to send files from client's computer. Such as if I used input type "file" then I can get the file name with its path at client side but how can I tell the script to deal this path as client side path??? As I have used Server.MapPath but as it is work-full for server reside files. If user’s input file name is "c:documentmyfile.txt" then how can I work with it as my script will treat it as web server hard drive path.
My script can attach files but I do not know how can understand client side path.
I am building a simple incident recording system using ASP.
The form has Name, email address, telno, incident description and records the data to an access db and send an email to the user with an incident ticket number.
The client has asked for an extra feature to be able to attach documents such as Word documents.
Has anyone got a sample script where on the form the user clicks a button where he/she can browse for the file to be attached and ASPEmail can than send the mail with attachment.
I am using Server.CreateObject("Scripting.FileSystemObject") to create a CSV file.
'create file Set fs=Server.CreateObject("Scripting.FileSystemObject")
if fs.FileExists(server.MapPath("/temp/data.csv")) then set myfile = fs.GetFile(server.MapPath("/temp/data.csv")) myfile.delete set myfile = nothing end if
The CSV file is then attached to an email and sent.
I am using the following code to attach an excel file to email.. but a funny thing happens, the excel file comes in with no data, and the uploaded file DOES have data... is there a filesize limit using objMail.AttachFile ??
I am using the following code to attach an excel file to email.. but a funny thing happens, the excel file comes in with no data, and the uploaded file DOES have data.. Code:
I've got a problem attaching the Script Debugger to ASP pages under IIS6. Set up everything following IIS6 documentation: turned on ASP debug in IIS Manager; edited permissions for Machine Debug Manager in the DCOM configuration, giving Launch and Activate permissions to Network Service (which is the account for the corresponding process pool).
IIS is in WP isolation mode. ASP is activated. Sending detailed error info to the browser is activated and works fine. No errors in event log about DCOM app attach permission denials.
I retrieve data from a database and I put the data into an array. Afterwards I want to send these data as an email using JMail. The problem is that I receive the following error when I am trying to send the email: Variable uses an Automation type not supported in VBScript. On the other hand if I try to print them on the screen there is no problem.
I am running into a wierd error while using W3jmail. The error is: Error Is:
jmail.Message (0x8000FFFF) The message was undeliverable. All servers failed to receive the message /reclaim/app/email/WA_Universal_Email/JMail_VB.asp, line 126
The thing that is wierd about it is the fact that the email sends even though the above error is displayed. Has anyone run into this before? or have any suggestions on how to eliminate the error?
I got Jmail to work fine. My problem is I need to send an email based on somthing a customer submitted. When we receive the submission in our system an auto-receipt email will be sent. What I need to have happen (and cant figure out) is that email to include what was received not just a on liner saying it was received. The information is pulled from the db with a query. Anyone got any suggestions?
does anyone know any script I can use to achieve the following:
I have several pictures (many hundreds) that I would like to display on my homepage - a new one each day. I have tried several scripts but many of them only allow for 7 images (one for each day of the week) or one for every day in a month.
Are there any scripts that will just accept a long list of images and display the next one on the list until it gets to the end and begins again?
I am currently trying to code a newsletter script with asp using jmail. I've seen hundreds of examples on the net that accomplish this but there is only one problem they all use a do while statement that sends one email at a time. When I do this the server times out because my list is so long. So I have been trying to write a scrip that uses the BCC function to send one email to everyone at once. Unfortunatly I can't seem to get it to work. Does anyone have any ideas how I can do this?
I'm using 20/20 Applications Pure-ASP Upload. It works great as far as uploading the files to my server. Now I have another question. Can you tell me how to attach the file from my server to the email. What I need to happen is when a user attaches a file, the files is uploaded to the server and then when they click on finish the email is sent with the file attached to it. I'm using the JMail function....
I am some what new to asp and programing. I have put together this code, so I can send out a mailing list to some users. The code looks and seams to run fine. But I dont receive any test messages during when I execute it. it's like the SMTP sever is not sending the emails....
I'm developing a web site with email capabilities: I have tried the free version of Jmail, now I need Jmail Professional but still don't want to buy it before having the chance to try it....
I have a web page coded in ASP VBScript which sends a html email using the Jmail.SMTPMail object.
I am trying to attach a .csv file to the mail but when i get the mail through it won't display. It just shows this in the mail body...
This is a multipart message in MIME format. ----NEXT_BM_46A46859F09247848CB1A7C3EBE06AC2 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: Quoted-Printable
I am hoping to use JMail to read pop3 mailboxes via an ASP page. I have a tutorial from the website (http://www.dimac.net/Websites/dimac/Website/Products/w3JMail/{C7EFB42E-5C6C-49D4-91B7-00C7E9388A96}?exId={553CC37F-7EB7-4D47-907C-1B75FE043B03}) but can't get it to run on the server. Does anyone have any idea why this code will not run?? I have entered the correct username,passwords into the script.
My host does not support CDONTS for sending email, but instead uses JMAIL. I have a example of the code i need (in CDONTS) but need to translate it into a JMAIL version for it to work with my website.
<% Dim objCDO Set objCDO = Server.CreateObject("CDONTS.NewMail") objCDO.From = Request.Form("EMAIL") objCDO.To = Request.Form("POSTER_EMAIL") objCDO.cc = Request.Form("EMAIL") objCDO.Subject = Request.Form("SUBJECT") objCDO.Body = Request.Form("MESSAGE") objCDO.Send() Set objCDO = Nothing %>
I have JMail installed, and when I code for remote servers, I am able to send the mail just fine, however I have yet to figure out how to test locally with IIS 5.1's mail server.
Does anyone have some information on how to setup the local system so I can test this feature before I script for it remotely? I'm sure that there 2 key points where I'm having a problem is
1. Setting up the IIS Mail Server 2. Defining the Mail Server in the JMail ASP code....
here problem comes. when user enters a different e-mail address (not same with my domain) it gives error. how can i solve this problem.. can jmail send an e-mail to differents domains?
I have a Jmail form with several texfields incl. email and name of users. The mail is sent from me "John Doe" "email@domain.com" to the user filling out the form. When the e-mail is being sent it looks like this: Code:
I have seen on many websites the use of some sort of program to generate a random character string distorted and warped with lines making the resulting graphic ideally only human readable.
The theory is to prevent automated login programs.
I don't know what they call this type of component so I really don't know how to google it. Do you know any source for this type of thing?
i describe just my hole problem in the title I want to uploade a picture from a computer in to an access database on server, and even know, that I have to use "FiletoField" but don't know, how have I use this? and didn't see any example codes, which I understood. I use for my codes "aspsmartupload"
I would like to put a picture on may page and I would like to use this picture as a button to execute an sql query, so when you clik on the picture you will hace displayed in the next page the product in the data base and other info like price for example. I have this code to access the data base but I do not know how to use a picture s a buton to use it. Code:
I need to add a ppicture to my Database.. The table is accessed through ASP Recordset but having troubles trying to insert an individual picture to each record?
Has anoyone ever tried to create an asp page that displays images that either displays them as a slideshow or on a long webpage?
I have an html page that displays my pictures, but as there are many of them which are large and my bandwidth is restricted I want to download them and display them one at a time. Currently it the client tries to download them all at the same time, or four at a time. This slows down the downloads to an unbearable rate.
Is there a component that allows you detect when an image has been downloaded and then allow a trigger to start downloading the next one?
i would like to know where i could find a picture viewer that has a data base and shows thumbnails and when a user clicks on it the picture opens up bigger for the user.