CHILISOFT Attach File
I am an ASP guy who is developing using chilisoft at this moment. All is going very well except for using the fileAttach method (CDONTS), I am having great difficulty finding assistance.
The chilisoft documentation seems to lack an explanation of the file attach method, would you have any suggestions where I may see an example of the CDONTS file attach method.
using chilisoft 3.6.2 / Linux / apache
View Replies
ADVERTISEMENT
See the ASP code below in order to send an email. How can I attach
a file to this email please?
set objMailer = Server.CreateObject("CDONTS.Newmail")
objMailer.From = "anySender@123.com"
objMailer.To = "anyRecipient@456.com"
objMailer.Subject = "a Subject"
objMailer.Body = “I need to know ASP�
on error resume next
objMailer.Send
if err then
response.Write err.Description
else
'do nothing it went okay
end if
View Replies
View Related
I'm trying to get my users to attach a local file to the mail they sending me from my page.
My form code is: ....
View Replies
View Related
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?
View Replies
View Related
I'm trying to get a file attached to an email from a form.
The form is a simple name, email, attach cv. When the user hits submit it gets sent to the company. I simply used the <input type="file"> for the user to browse.
View Replies
View Related
I have created an asp form which I want to use to retrieve attachment from my site users. I am using Aspupload Component on sever to upload attach file on server at specific location. Although I am able to upload attach file on server. Also I created to retrieve attachment from mail its not working.
Can any one help me out to make form or code to retrieve uploaded file as attachment through mail.
Here is file where user fill his information and attach his CV....
View Replies
View Related
I get next error if i want to add a component.
O------------------------------------------------------------------O
| Microsoft VBScript runtime error '800a01b6' |
|
| Object doesn't support this property or method: 'Server.Execute' |
O-------------------------------------------------------------------
Does Chilisoft ASP 3.6.2 support the Server.Execute() method? or
Do i need to Upgrade the Chilisoft ASP 4?
View Replies
View Related
anyone know a good source of info on sun's ASP proggie?
View Replies
View Related
I've been doing a lot of ASP programming for a website (hosted by Namesco) which uses Sun One ASP on a *nix machine and MySQL.
However when posting form data to the server I frequently get Bad gateway errors returned to the client browser.
After talking to the Hosting company support team they fed me some story about it being a source code problem with Sun One ASP interfacing with MySQL.
I was wondering if anyone else had ever heard about or come across this in the course of their work and if they had found a solution/work around for it?
I've not used Sun One extensively so I'm not sure of the limitations of it. (I really don't fancy recoding to PHP!)
View Replies
View Related
Current setup: Sun server running Solaris 9, Apache, Chilisoft ASP, MySQL
I'm having problems inserting data into MySQL from an ASP vbscript insert page
I am using Dreamweaver to create the forms for ease of use. When I try to insert a record via the table only the first field in the form is inserted into the database and any subsequent fields are ignored
I tried creating a test table with just three fields (id (auto_increment), helptitle, helpinfo)
The helptitle field is inserted fine and the record is assigned an ID but the subsequent helpinfo field is not inserted at all
I then tried creating an insert page using ASP JavaScript and all the fields were correctly inserted
View Replies
View Related
My company recently changed its server and replaced chilisoft with sun one for the asp.
The problem is that all the INSERT pages I created in chilisoft no longer function correctly.
I am running MySql database. All INSERT forms now only submit the first field in the form, ignoring the rest of the entries. No error messages are displayed.
Anyone have any ideas? All the pages where created in UltraDev 4 so the ASP should be ok.
View Replies
View Related
i get code samples for servers running windows/IIS. the problem is that the server with my site is an aapche with chiliasp-3.5.2L-C3. i cannot figure out the syntax to take the input from the html form and mail it to a specified address.
View Replies
View Related
I just coded a page and I'm getting an error on line 3, which is the
attach line. According to the references I have, this is the correct
way to do it. Am I missing something? Let me know what you think.
Here's the code:
<%
set ObjMail = CreateObject("CDONTS.NewMail")
objMail.AttachFile "c: est.txt"
objMail.Send "jondoe@somewhere.nett", "janedoe@somewhere.net", "Test
Message 021203c", "Test with attachment"
Set ObjMail = Nothing
%>
<html>
<title>Mail Send Page/</title>
<body>
This page will send mail to an email address
</body>
</html>
View Replies
View Related
I have created an asp page in which i need to attach photos and have to e-mail the asp page to other. How to attach photos to the page.
View Replies
View Related
How do you send a link to a Web page within an e-mail message which was sent using a send_mail function(consisting of the object CDO.Message)?
View Replies
View Related
I try to grab the checked files from HTML page and then send those PDF
files as attachments. It can just send email, there are no PDF files
attached. Can anybody point out my error?
My idea is:
When people check the check boxes in HTML page for the PDF files, it
will transfer the files' name to ASP page. Then, it will attach it in
the email. Code:
View Replies
View Related
I need to attach a label to each form element on an html form as I can not use the element names. For instance, my element is
<input name="DT_Ctl">
in the asp I use,
For Each FormElement in Request.Form
mail_body = mail_body & FormElement & ": " & Request.Form(FormElement) & vbCrLf
Next
However this means I would get,
DT_Ctl: 1
in my email.
I need to re-label the element without changing the element name so that I would get something like,
Daytona: 1
I am guessing I could attach some sort of variable to each form element but how do I do that.
View Replies
View Related
Is it possible to send an HTML email through CDONTS without formatting it
into one big long string?
View Replies
View Related
I need to attach files and upload that file to an Access database as a BLOB(or any other way). i have created a DSN for the db and it is better if it uses a command object to connect to the db(even if it is not a command a object it doesnt matter) ....
View Replies
View Related
how to i attach the following codes to the email?
a genAttachment function and Call genAttachemnt("Test1","24-08-2006","13:00:00","24-08-2006","14:00:00","Title","Location",0,0,1,1,"../eleave/","-PT1D",1,"PT7D",1,"WEEKLY",2,"TH")
View Replies
View Related
suggest me a asp page which can detach and attach databases. We can use the sp_detach_db, sp_attach_db.I am mainly into administration .As im not into much asp programming im finding it difficult. I dont have much time left to finish. help me with this.If any one have ready made asp page for this purpose ,he could give me the script
View Replies
View Related
I'm sending an email in ASP using CDONTS and I'm trying to attach a file from the user's machine (i.e. client side) and right now it works... BUT what im doing now is having the user upload the file and it is saved on the server in the temp directory, then once the email is sent, the file is deleted.
So here's the question... Is there a way to attach a file using only the file info and data - i.e. without saving the file to the server. I have a pure asp upload include file that will let me view a file's data in binray format and I was wondering how I could use this to attach the file.
So to reiterate, can I attach a file that is not saved on the server... any takers?
View Replies
View Related
I’m writing about a form which processes another form from the which i send newsletters.
There are two cases, cdo (plan text) and cdohtml and everyone of them should sand mail with attach, it debends by which case has been selected in the generale settings, stored in a msaccess database.
The strange is that the mail in plain text format (case cdo) is sent, with attach too, and NO ERRORS are encountered:
the html mail des not works, even if the process says (no errors) no mails reaches the recipients. Code:
View Replies
View Related
I have a web form that collects data and passes it to a mailer.asp page that arranges the form data into an nice html table and then emails it using CDONTS.
The form works fine. Here's what I am trying to accomplish:
Based on which of the checkboxes are checked, that is who the email needs to go to.
I cannot figure out how to attach an email address to the specific checkboxes.
I would prefer to keep the email addy's in the asp so that the spambots dont take them.
Here is my form page: Code:
View Replies
View Related
Basically, i'm finding sample ASP or VBScript for accessing emails and downloading attachments....
View Replies
View Related
i'm converting an image file to hexa..then the hexa is saved to a text file..
can any one help me how to read the content text of a text file?...
im doing it this way because i don't want to save hexa in my database, because it makes the database slower to open up.
View Replies
View Related
is there a way, using asp, to find out the width and height of an image file?
View Replies
View Related
I have code that loops through a directory reading files..
now the problem is that files are constantly being uploaded and I only want the file system object to read those that are finished being uploaded.
How can I check the properties of the file to see if it's in middle of being written before i read the file?
View Replies
View Related
i am having a problem in how to create a Open File dialog to enable user to select a image file that will be stored into database. i just want the file path to be stored in database, not the image.
View Replies
View Related
It works if the file in on the server side, how to use the component (DSOleFile) with the file on the client side? Also how can I calculate the width of the file. (Page set up - Landscape or porrait). Code:
View Replies
View Related
I need to do online streaming multimedia file on my web portal, just like those online portal that selling MP3. User need to click on the preview link to stream the audio file to listen before they decide to buy the file or not. How do i link my audio file in my web server to allow it to be stream? Totally lost on this function,
View Replies
View Related
This question has to do with MS file search but it is happening only with
..asp pages, so I though someone programming with .asp pages has experienced
the same situation.
I'm trying to find .asp pages with a certain table name (i.e.
"renewalInfo" )
When I ran the search I get no results. I know that I have that string in a
couple of pages. My file system search engine is working fine with other
file types, like Word documents, Excel spreadsheets, etc.
I tried typing the string outside the <% %> tags and when I do the search I
get the file results, so it seems like if the search engine in my file
system was not searching inside the <%%> tags. Code:
View Replies
View Related
I'm having a problem with the fact that I want to allow image files to be uploaded to a remote web server, as the hosting package the web site is on is IIS6 and has a default file upload size limit of 200kb. As it's a shared hosting package, the default limit cannot be changed for me unfortunately.
Anyway - i need to check the size of the file being uploaded, so i can notify the user and prevent them getting the default Microsoft error message page. The problem is that I can't implement a server side size check which works, using either Request.TotalBytes or load.getFileSize (with "load" being an object of my loader class). It seems that I can't carry out any of these operations when the file size is too large.
View Replies
View Related