Read XML E-mail Attachments
I was wondering if somebody could point me in the right direction on this subject.
Basically, I have a mailbox which recieves emails with an XML attachment. What I would like to do is read the XML attachment on each new email received and then insert it into an SQL database. As it stands I am unsure of which path to take and my initial google searches have come up with nothing so far.
Does anyone have any ideas as to how to approach this problem?
View Replies
ADVERTISEMENT
I have found a FormMail type script in ASP that will send 1 attachment but getting any more seems to be a problem.. Can anyone suggest a script paid or free download?
Also the webserver and exchange servers sit on different boxes will this cause any problems?
View Replies
View Related
I need to access my pop mail account and download my e-mail to a database
file which is on the my localmechine.
is any one of you try to read mails with asp?
in case you might think so;
I know how to send mails with asp code.
I know how to send mails with outlook or any other client
I also know how to use webmail system
and I don't want to have to export mails from outlook.
View Replies
View Related
Current code directs users to a payment processing page when trying to read mail if no premium account. Works OK. But also want to allow all users to read and send mails from and to just the Admin user.
1st. my current code checks if the user has a premium account: .....
View Replies
View Related
Can I read mail (from an inbox) on an exchnage server with ASP?
If so, how?
I hear all this about CDO, CDOSYS, etc, but they all seem to be able to
only send mail. I just need to read mail from exchange server. Can
this be done?
View Replies
View Related
I am using an upload page that I found from another site to upload a scanned copy of a document. What I want is to be able to associate each document to a field in the database.For example - I create a new record in the DB. The last field will allow me to upload an attachment to the server. Once that file is uploaded - it will associate that file to the database record so that when I use my view page, I can click the attachment and open it.Can anybody assist me on this? I am just not sure how to reference the attachment in the database or how to automate it to maybe an autoincrement field that will change the file name as well.
View Replies
View Related
is it really difficult to create a code that allows people who visit a certain paige to add an attachment to it?
View Replies
View Related
a FREE mail script which allows multiple attachments?
View Replies
View Related
I need some guidance in regards to asp forms w/attachments. Im trying to make a form where you can upload a CV and this CV as well with the form gets sent to an Admin.
I'm using CDOSYS, and the code from microsoft etc is working to a point, the form is sending fine, but email attachment is giving me some random file name with a (.dat) extension.
View Replies
View Related
I've read about how to use CDO/CDONTs to manipulate mail sent to a server computer, and how to configure DNS so that the SMTP server will get the mail that you want it to.
Using CDO/CDONTS, can you programmatically access attachments to the mails that are sent to and stored on the server? What is the syntax? Is there an object reference or somesuch that I can look at that will point the way to the answer?
View Replies
View Related
I am using cdonts to send mail messages with an attachment. The problem I am having is the messages are going through OK but the attachments are not there. Any ideas? I have tried my code elsewhere and it looks.
View Replies
View Related
I'm using this code to send a e-mail with attachment:
Dim oCdoMail
Set oCdoMail = Server.CreateObject("CDO.Message")
oCdoMail.From = strFromEmail
oCdoMail.To = strToEmail
oCdoMail.Subject = "Job Information"
oCdoMail.TextBody = "This is the email notification"
oCdoMail.AddAttachment strFileName
oCdoMail.Configuration.Fields.Item=2
oCdoMail.Configuration.Fields.Item=<My mail server IP>
oCdoMail.Send
This code scuccessfully send mail with attchment on my local. But when we uplaod this code to the web server this is forceing error. If i mark comment the folowing code
"oCdoMail.AddAttachment strFileName" this will work fine on the server, but i need to send e-mail with attachments. how it could be possible ?
View Replies
View Related
Is it possible using mailto: to create an email with everything except an attachment
and then when a user clicks on send intercept that form and recreate the email on the server and add a file to it?
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 have been using the MS SOAP 3.0 toolkit with DIME for pulling data and files from our content server. Now I want to push files into it using SOAP with DIME attachments.
I am able to upload a file to the server and pass the file/path reference into the MSSOAP.FileAttachment30 object using this code:
View Replies
View Related
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.
View Replies
View Related
I’m creating an application that uses JMail to send email. And it works great!! as longs as I don’t try to add an attachment. However, I really need to have my users be able to add attachments; otherwise the purpose of this application is null and void.
I know that the file that is attached needs to be uploaded to a file share folder via FTP then encoded before being sent. My problem is that I don’t know how to code it. This is the JMail code that I am working with: I need some help in getting the code other than (Jmail.addAttachment) for adding the attachment......
View Replies
View Related
Right what I am after is a neat bit of code that wraps up sending a cdo email with an attachment from the clients machine and not the server, so need a built in browser and file upload send and delete facility in the creating and send email code?
View Replies
View Related
What is the easiest, quickest and cheapest way to send an email from a form with attachments in ASP?
View Replies
View Related
for some reason i cannot send PDF's as an attachment, every other file type i try sends fine, but not pdf's..
could anyone please tell me why this is, and if there is a work around for it?
I'm running JMail 4.7
View Replies
View Related
I am having trouble sending multiple attachments as selected from a select list with multiple="multiple". It will send one just fine and the array is including the correct absolute path but I get a "syntax error" message whenever I try to do this.
Here is my code:
If IsArray(AttachArr) Then
For j = 0 to UBound(AttachArr)
.AddAttachment AttachArr(j)
Next
End If
I am guessing it has something to do with repeating the ".AddAttachment" line. I would appreciate any help I can get!
View Replies
View Related
I have a web form that has a textarea, a input type="file" and a submit Upon submission, it is calling an asp script.
I need my asp to send an email (this is a constant, this email will remain the same).
The email's body will contain the content of the textarea, and the file that was uploaded by the input file should be attached to the email.
Now, does anyone know how to achieve this? I am using CDO in my asp and I can retreive the textarea contentg, but i can never send the file attachment.
View Replies
View Related
On our previous production server, we used CDONTS to attach jpeg image
to the mail. On our new server (both are Win2000) attachments are
truncated to ~108B (that's what outlook shows), or 0 bytes when I try
to save to disk from Outlook.
I'm sure that files to be attached are
accesible, because security is set to allow for Everyone. I suspect
something with SMTP config, but what? Because I couldn't find what's
wrong I moved to CDO, but the result is still the same in the end. Any
ideas?
View Replies
View Related
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 the email address from the mailing list in the Access database and to send this to the user.
View Replies
View Related
I need some help: with cdosys i'm able to send e-mail from asp using the local exchange
server. Now I also have to save the sent mail into the user's mailbox for future reference: how to?
I'm using:....
View Replies
View Related
i've finally integrated a way to send multiple attachemts from within an asp page and it works!!!!!
View Replies
View Related
Just want to confirm if you can add multiple attachments like this? Code:
Mail.Host="test@yahoo.com
Mail.FromName="test@yahoo.co.uk"
Mail.AddAttachment "C: est.doc"
Mail.AddAttachment "C: est2.doc"
View Replies
View Related
I have a cdo script to send an email from a web page hosted externally to my company. I want users to be able to attach multiple documents from their local machines.
How do I do this - do I need to upload them to the server first or does cdo do this automatically?
I tryed this: MyMail.AddAttachment "F:/images/test.gif" but get the error: 'The system cannot find the path specified.'
View Replies
View Related
I'm using CDO to send mail to the site owner from ASP pages with forms.
Recently one of my forms is occasionally sending email with what seems
to be an insertion which is replacing the plain text part of the email
with something else. Looking at the server sent email source, the
hacked emails have the following:
View Replies
View Related
Here's the script I'm using now to send me a picture selected in a form (from a browse button type thing), sent to me in the attachments.
Right now it will only send the one picture (field name="Attachment"), how can I change this script to send multiple (for example; ten) pictures in the attachments from the form??
Here's the script...
View Replies
View Related
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:
objMail.AttachFile = (C:MyPathMyFile)
objMail.AttachFile = ("C:MyPathMyFile")
objMail.AttachFile = "C:MyPathMyFile"
objMail.AttachFile(C:MyPathMyFile)
objMail.AttachFile( Server.MapPath(<directory>) & arrFileList(intIndex)
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?
View Replies
View Related
The following simple ASP scripts works fine when the attached file is less than
100K. It fails (no errors or warnings returned) by inserting an empty attachment
when the file is greater than 100K.
Users that execute the script are
authenticated by IIS 5.0 using basic authentication. If the user is member of
Administrator group the script work fine no matter what the size of the file is.
Any help is appreciated, especially from MS support. Code:
View Replies
View Related