i found out that by default, ASP apps can only access files that are on the computerthat the server runs on. how can i change this so the IIS will take the files off the client's computer?
Anyone got much of a clue how best to send emails to selected people from a database table and to be able to track them, maybe as much as a read receipt, or perhaps just checking that they don't bounce, or end up in the bad mail folder.
Is this best/possible to try and code or is there a free/cheap component that does this simply.
I am sending email using CDO. I want to send attachment through email.For that I have to send my file to webserver first then have to write path of file in CDO code.what is the best method developer's using for the same?Would you please send some component so that from local m/c I can upload desire file to webserver and consequently can attach that file into email.
I am sending email using CDO. I want to send attachment through email.For that I have to send my file to webserver first then have to write path of file in CDO code.what is the best method developer's using for the same?Would you please send some component so that from local m/c I can upload desire file to webserver and consequently can attach that file into email.
I want the users to be able to send an email with an attachment from my web page. The problem is that the file ".DOC" resides on the client machine and not the server. It would be ideal if the user could browse for the file.
Can someone tell me if this is possible and how? Do I have to first upload the document before adding it to the email as an attachment.
i have pbm, all the values from first form is passed to the asp form including the path of the file attachment, through local host it is well running if i upload files in remote server and process then error is generated could anybody help this out Code: ... stratt = Request.QueryString("f_path")
With objCDOMail Set .Configuration = objConfig .From = strFromEmailAddress .To = strToEmailAddress '.Cc = strCcEmailAddress '.Bcc = strBccEmailAddress .Subject = "Enquiry sent from enquiry form on website" '.HTMLBody = strHTML .TextBody = strBody .AddAttachment stratt (path) .Send End With
I have a CDO mail script in JScript that works fine if I send the message without an attachment. However, I haven't been able to figure out how to attach a file without getting an error. Does anyone know how to attach a file to a CDO message in JScript?
<%@language="JScript" %>
<% var cdoConfig = Server.CreateObject("CDO.Configuration"); cdoConfig.Fields("cdoSMTPServerName") = "12.34.56.78";
var cdoMessage = Server.CreateObject("CDO.Message"); cdoMessage.Configuration = cdoConfig;
var cdoBodyPart = cdoMessage.BodyPart; cdoBodyPart.ContentTransferEncoding = "8bit";
cdoMessage.To = "name@company.com"; cdoMessage.From = "someone@mail.org"; cdoMessage.Subject = "CDO Test in JScript"; cdoMessage.TextBody = "This is a test email sent using JScript."; cdoMessage.send(); %>
I've tried adding each of the following lines, but none of them works.
I have a form that i have created and i need it to that the user can attach a file then get the form to send the file. Please have a look at my current code:
I have a asp form which has a file field and a Send email button. I want user to use the file field to select an attachment path to be send out as email. How can I do that?
i have a form. data is written to mssql and confirmation is sent to a user and receiving partly. also form need has a field which selects a file and sends it with confirmation to email. The problem is this: i can send email and write to DB but not attachment or i can send attachment but does not write to db.
I'm trying to send out emails but the body of it keeps sending as an attachment so with some email services, such as yahoo, puts the email into the bulk mail. I was wondering if there was a way to stop it from sending the body as an attachment.
I am trying to send an email attachment using an asp VBscript from a .asp form. The script appears to be working fine however no email comes through to the recipient. I have tried the script without the attachment and it works fine. Code:
Can anyone get me started or point me to a resource for some help?
I have an ASP page that displays various boxes, tables, and information. I want to be able to click an "Email" button and have the asp page save the page as an attachment (html?) and then launch Outlook and automatically attach the page to it and enter the email address of the person I want to send it to.
I can't just send a link because the page is generated on an Intranet and I need to send it to people outside the network. So, I need to save a print screen of the page and then have Outlook grab that and the recipient's email address and put those into Outlook so the sender can review and send out.
I want to create form in which user specify his details. But that mail should be take cc address from database and also that form have one attachment field.
Mail body must be in html format. Attachment and "from" his email field compulsory....
Im trying to get a CDO email sent from a form submittal with an attachment which has been just uploaded with aspupload.
Everything goes ok, the file uploads when the form is submitted and I have verified this in the upload folder. It all goes pear shaped when I try to code in the CDO object. I get this error:
Error Type: Microsoft VBScript runtime (0x800A01A8) Object required: '' /profilescreative/jobapplication2.asp, line 63
I'm using CDO SYS to send email messages. I can attach a file just fine. However, I need to attach an HTML page that's generated on the fly by my ASP code. The attachment source code gets assembled into a VB string. How do I attach this? I think there was an easy way in CDONTS but that's no longer an option.
I am trying to get a asp-mailer setup that will send a specified attachment. I have tried both CDONTS and CDOSYS methods ... both are giving me headaches.
And the best part is how incredibly helpful the error is: (Sarcasm Intended)
Error Type: (0x80004005) Unspecified error <-- They should change that error to ... "Good Luck!" /knowledgetree/emailer-drivers.asp, line 90 I hilighted the above line in the code as well.
I have designed a form after submission of which an email is sent to a perticular e-mail id. Up to this it works fine but I need to send a complete filled html page in attachment too.
Can this be possible. If any way to do this please let me know. As mail sender am using CDO.
I want to send email with attachment. I have no problem if the file is located on the same server but i got error when attach file from different server. This is the code,
set mail=server.CreateObject("persits.mailsender") mail.host="smtp.mydomain.com" ..... 'mail.addattachment "c:attach est.txt" ' no problem with this mail.addattachment "websvrattach est.txt" ....... mail.send
I got this error, "Persits.MailSender.4 error '800a0007' Logon failure: unknown user name or bad password."
when i changed the servername to static ip address also got the same error. any idea? fyi, this user has an administrator rights to the server.
I have a 2000 server running IIS 5. I need to send approximately 10000 emails to recipients from an excel spreadsheet with a small word document. These are requested emails, no spamming. I don't have a clue as to where/how to start this.
I have an Intranet-based app at work, and I have it in two places there: a dev machine and a production box. In both cases, the ASP files and SQL Server 2000 database are on the same box. I have it running smoothly in both places at work.
However, I've been trying to set it up at home, and cannot make the SQL Server connection work for some reason. I've been working on this off and on for weeks, and I just don't get what I am missing. Code:
I am trying to do a very simple piece of asp on a w2k3 server on the company intranet where i work (using IIS 6) the code is simply trying to get an xml stream via a ServerHTTPRequest.
The code I have works absolutely fine, I have tested it on a free asp friendly server on the net and it does exactly what i want it to! however when I run the code on the company intranet I get hit with the following problem.... Code:
I've create a custom com object and I use it as follow:
set test = Server.CreateObject(myObject.classID) ' --> all OK the istance of the object is correctly created
retval = test.function1(par1, par2 ...) ' --> as soon as I call every function of my com object the system returns the following error: 0x8000FFFF: catastrophic failure. I do not know why