CDONTS.NewMail MIME Type Problem?
I've got an asp page with a CDONTS object sending HTML mails with proper attachments on them... thing is, some mail recipients get the full attach ok, and some don't (but still get the HTML ok)! (all recipients added to the same object... no more than 10 recipients) i believe it's got something to do with MIME types and stuff, but i've got no ideia on how to solve this problem...
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Xml Mime Type
I use Server.CreateObject("MSXML2.ServerXMLHTTP") etc to grab the content of another asp page. I want the other asp page to look like an xml document. So I set the header to text/xml with the line response.contenttype="text/xml" I set this on the calling page and the page that is called. When I view the headers with http://pgl.yoyo.org/http/server-headers.php it is still set to text/HTML. Also the browser displays the page as if it were HTML, not XML
Set Mime Type
i want to set mime type of an image which is available for download.i gave the link of following page from a wml page and try to download a jpeg file on mobile. test.asp <% Response.contenttype="image/vnd.nok-wallpaper" response.redirect( "http://localhost/test/mustafa.jpg" ) %> but instead of redircting to jpg file andsetting its mime type , my fone download test.asp and says file formate unknown.
Custom MIME Type
I have some simple asp code to send a response to the client with aparticular ContentType defined, code shown below: Response.Clear Response.ContentType = "application/x-custom" Response.Write "<?xml version='1.0' encoding='UTF-8'?><testing/>" Response.Flush I have a client side ActiveX control implementing IPersistMoniker that isregistered to handle this MIME type. This seems to work fine on some machines and not others. On some of my machines, the control is not instantiated at all. Instead, a blank page is shown in the browser. If I change the ContentType above to something like "text/xml", the response is shown correctly in the browser. This leads me to believe there is a problem with the client mime handler, but it seems to work on most machines.
Multipart Mime Type
How to send the HTML and Text email at the same time?CDONTS only send one type of email at one time and we should know before hand what type of email the client can receive. In my case i want to send both and depending on clients email reader the right one should show up. I have used ASP email component also but for this component to work properly we should have relaying enabled on our SMTP server.Due to the threats of SPAM i dont want to do this. I am not any demanding here but simply trying to find the better way
Multipart Mime Type For HTML/Text Email
How to send the HTML and Text email at the same time? CDONTS only send one type of email at one time and we should know before hand what type of email the client can receive. In my case i want to send both and depending on clients email reader the right one should show up. I have used ASP email component also but for this component to work properly we should have relaying enabled on our SMTP server. Due to the threats of SPAM i dont want to do this. I am not any demanding here but simply trying to find the better way.
CDONTS.newMail Help
<% Set Mail=Server.CreateObject("CDONTS.NewMail") Mail.To="usama_1987@hotmail.com" Mail.From="usama_1987@hotmail.com" Mail.Subject="Just testing my script" Mail.Body="Hey! I am sending this email through an ASP Page and guess what? I haven’t learnt much yet, but know that ASP is very powerful." Mail.Send Set Mail=nothing %> This is the Code and when i Refresh nothing happens, and i didnt receive any emails. i am using IIS 4.0.
CDONTS NewMail
When I use NewMail objec without att everything is ok, but when I try to send at I got Page Not Found Error.
CDONTS.NewMail
I'm sending email in the following code: dim objCDO Set objCDO = Server.CreateObject("CDONTS.NewMail") objCDO.To = "example1@hotmail.com" objCDO.From = "example2@hotmail.com.com" objCDO.Importance = 2 'High importance! Dim txtSubject txtSubject = "Hello Scott! We were wanting your advice on some programming issues. Please come to Redmond at your earliest convenience for a very fat check!" objCDO.Subject = "Attn: Scott, we need you!!" objCDO.Body = txtSubject objCDO.Send I get no error but i don not get the mail too...
CDONTS.Newmail
I created an ASP application, everything worked in test-environment. Today we put it on the intranet server and now the mails aren't send anymore... I use the CDONT object to send the mails... I've been looking around for a solution, but I can't find one for my problem... this is what I found and already checked: -the domain addresses are both the same (to and from) and the domain is internal... the smtp server is working as well (it worked in test environment, so...) -IIS versions on test and intranet are the same, both 5.
CDONTS NewMail
Is it possible to set the font size of the body of the text?
'CDONTS.NewMail'
I am using IIS5 on winXP, and when I using progrma writing with asp, I get the error ActiveX component can't create object: 'CDONTS.NewMail' whats wrong?
CDONTS.Newmail With Message ID
Does anyone know if it is possible to send a message ID to the mail server using CDONTS? or even append something to the message ID that the mailserver assigns to the message. I am starting to get duplicate message ID's which has been causing many problems down stream.
Alternative For CDONTS.NewMail
Is there an alternative for CDONTS.NewMail for sending email? according to this article , CDONTS.NewMail works only on Windows NT/2000 Operating Systems. Is there an alternative class that works on Windows XP to send email?
Query About Using CDONTS.NewMail
I'm sending out a monthly newsletter to a whole bunch of clients of my company, by using the CDONTS.NewMail Object in ASP. I've added some email addresses of some of my co-workers to my database to see if the message comes out right in their mailboxes. Most of them received it right, but there were a few cases where, if their Outlook settings were set to the "Rich Text" option in their Mail settings, it came out as scibberish code. Freaked me out! I was under the impression that by using the CDONTS.NewMail object, and setting the MailFormat and BodyFormat to HTML it should appear right in the receipients inbox. I understand that if it is set to "Plain Text" that it would come out as plain text, but "Rich Text"? And how would I know how many people receives it this way? In addition to this, I have added the option to receive a Plain Text version of my newsletter, but the problem is that most of the email addresses in my database were manually added, since the newsletter is being sent to selected corporate groups. Thus, we set all entries to send it as HTML, and if they would like to receive Plain Text, they can update their subscription on our website by clicking a link provided within the distribution.
CDONTS.NewMail Object
The following is the code to send the email. It sent successfully. but I got the wrong result. I got this in my email: ------------------------------------------------------------------------------------ vi assign =xxxxxxxxxx-com-john.mathews:email:11:11:/mailboxes/xxxxxxxxxx.com/johnmathews::: ------------------------------------------------------------------------------------ *** Why the dot "." is disappeared after john ? It should be "...../john.mathews" *** What wrong on my code? *** How to fix the problem?
CDONTS.NewMail Object
I am using the CDONTS.NewMail object to send e-mail programmatically. We upgraded our IIS server from NT to Windows 2003 Server. Now it does not appear that the CDONTS object is available on the 2003 Server? Is this correct? If so, how does one send e-mail programmatically on 2003 Server using "Classic ASP" (not .NET). Which object do I use?
Send Method CDONTS.NewMail
I am running the following script for sending e-mail thro web Set objCDOMail = Server.CreateObject("CDONTS.NewMail") objCDOMail.From = "vkumar@ugs.com" objCDOMail.To = "vkumar@ugs.com" objCDOMail.Subject = "Library books" objCDOMail.BodyFormat = 0 objCDOMail.MailFormat = 0 objCDOMail.Body = "hi" objCDOMail.Send Set objCDOMail = Nothing ------------------------- I get the following error, when I call send method of CDONTS.NewMail object --------------------- Microsoft VBScript runtime error '800a0046' Permission denied /cae/library/issueupdate.asp, line 61 ---------------------------- I tried both the following. Everything looks fine. My OS is windows200 server http://support.microsoft.com/defaul...kb;en-us;286301 http://support.microsoft.com/defaul...kb;en-us;197619 Can somebody give a clue, what is going wrong....
CDONTS.NewMail.1 Error '80020009'
Set Mail = Server.CreateObject("CDONTS.NewMail") Mail.From = "myE-mailHere@myDomain.com" Mail.To = "me@mycompany.com" Mail.BCC= email Mail.Subject = "Welcome to Kindis website" Mail.BodyFormat = 0 Mail.MailFormat = 0 Mail.Body = "<h2>Hello</h2><br><b>This is my e-mail in HTML format</b>" Mail.Send Set Mail = Nothing <---- Line 121 %> when i try sending the email i get this error: CDONTS.NewMail.1 error '80020009' Unable to connect to server /kindis/register4.asp, line 121 does it have to be with the mail server im sending to or should i be including a file in this file?
Send Method (CDONTS NewMail Object)
Is there a way to determin if the email message was sent? I have a numnber of applications that use CDONTS to send mail from both ASP and ASPX pages. If the server is down mail does not get sent. I do not see a way to determine this by code. Does anyone know of a way?
Unable To Create Cdonts.newmail Object
I'm having a problem with cdonts.newmail. quite simply when i try to use the server.createobject method to create it it gives me an invalid progid error. it works fine on the test server so the problem is somewhere in the server settings and not with the code. both servers use win2k advanced server. I'm not sure what information is relevent to this problem so if you need more information please just ask. specifically I'm wondering if it's possible to dissable the object, preventing it to be created. if this can be done where would you do it?
Sending Mail From ASP With CDONTS.NewMail Object
I use the following code to send email from an ASP page: <% Dim objSendMail Set objSendMail = Server.CreateObject("CDONTS.NewMail") objSendMail.From = "abc@abc.com" objSendMail.To = "abc@abc.com" objSendMail.Subject = "Form Results - Get a Quote" objSendMail.Body = "This is the Body text of this test mail." objSendMail.Send Set objSendMail = Nothing %> Of course, the the email addresses above are real on my ASP page. After the above code is executed, I don't receive any email. What is the problem?
Error: CDONTS.NewMail.1 (0x80020009) Component Is Disabled.
I have just inherited a web site with ASP coding. There is a contact form that when submitted sends an e-mail to the administrator. The site was on a Windows server and is now on a Apache *nix server using Sun ONE ASP. I've included the code and error I am receiving. Some suggestions/directions would be much appreciated. I also have included the original error and line of code I changed it from in case it was necessary? ERROR 1 CDONTS.NewMail.1 (0x80020009) Component is disabled /thankyou.asp, line 61 Code:.....
CDOnts.newmail Attachfile Don't Work When File Is Large
I am using the CDONTS.newmail object to send file as an attachment so I used attachfile method. it seems the attach file wont work if the file size more than 100 KB , does anybody know if there is a size limit or where to change it I am using the SMTP server included with IIS 5.0. PS when file is sent, it will show on the EMAIL as an attachment only with 0 bytes.
Error: CDONTS.NewMail.1, ASP 0220 (0x80020009), This ASP File Must Be Transacted In Order To Use The ObjectContext Object.
Hey people, I have just tested code I pulled from the chilli!Mail tutorial to email data via an ASP page. It worked perfectly the first time the page was loaded, however now I am getting the following error: Error Type: CDONTS.NewMail.1, ASP 0220 (0x80020009) This ASP file must be transacted in order to use the ObjectContext object. /ContinuousImprovements/test.asp, line 29 I haven't seen this error before and am not too sure what it means, any help would be appreciated. The code is below:...
Server.CreateObject("CDONTS.NewMail")
can i type the whole code and run it on my own computer using IIS 5.1 to send mails? cos i get an error message everytime i execute the codes: Error Type: Server object, ASP 0177 (0x800401F3) Invalid class string /news/newslettercreate.asp, line 22 can someone help me please?
PWS And MIME Types
I'm running PWS on a Windows ME machine to do some WAP development. I need to set up some mime types so that PWS can deal with .wml .wbmp and .wmls WAP files. I'm told this can be done by either via the Folder Options -> File Types from a Windows Explorer or by editing the registry. I've tried both of these but to no avail.
Attachment Not Sent Of MIME Format
I am sending the attachment using cdo nts in MIME format. The problem is that the mail is going but the attachment is not send and the message of http error 404 is shown in body of the mail. Moreover, when i take the reference of cdo nts library in vb project, it shows only two objects of it i.e newmail and session. iis 4.0 is installed and the machine has nt server installed. I am using the code of the following URL to send mail and the code of the body is also similiar. http://msdn.microsoft.com/library/d...nts_library.asp
Downloading Known Mime Types
I have a selection of MP3's on my website, (non-copyrighted of course), I have an asp page that list the directory of MP3's which then provides a link to another ASP page to force download the file. <% Response.AddHeader "content-disposition","attachment; filename=" & Request.QueryString("fname") & "" %> Up until the weekend just gone, this worked fine, but now it only downloads a 0 byte file. Obviously my code hasn't changed, so has anyone any other ideas whats gone wrong or another way the force download of a known mime type can be acheived.
Verify MIME File
How verify MIME type of file? Which components should I use? Still now I couldn't find anything. I don´t to check file extensions.
Error Type:Microsoft VBScript Runtime (0x800A000D) Type Mismatch: 'UBound'
I got a problem while running an application. The code for this is as follows: aList = Split(strMsg,";") For nX = 0 to UBound(aList) strarry=split(aList(nX),"_") var_year=left(strarry(2),4) var_month=mid(strarry(2),5,2) var_day=mid(strarry(2),7,2) var_date=var_day&"-"&var_month&"-"&var_year var_time1=mid(strarry(2),9,2) var_time2=mid(strarry(2),11,2) var_time=var_time1&":"&var_time2 set rs1=conn.execute("insert into tbl_BackupfileInfo(Filename,Createddate,Createdtim e)values('" &aList(nX)&"','"&var_date&"','"&var_time&"')") Next while runnig this application some times it works fine .But some times it giving an error Error Type:Microsoft VBScript runtime (0x800A000D) Type mismatch: 'UBound'.
CDO.NewMail
Where can one get more information on installing CDO.NewMail
CDONTS
I am trying to use CDONTS to send an email and have the code below. Set Mailer = Server.CreateObject("CDONTS.NewMail") Mailer.From = "scottfrancisfrancis@hotmail.com" Mailer.To = "scott.francis@eleco.com" Mailer.Subject = "Segment Order Confirmation" Mailer.BodyFormat = 2 BT = "Add order details here" Mailer.Body = BT Mailer.Send set Mailer=nothing I have declared the Mailer variable earlier in the code, the page runs through without any problems and redirects as it should but no mail gets sent. Can anyone see what I am doing wrong?
CDONTs To CDO
We jsut transfured our webhosts to another company, and the new servers are Win 2k3, well our others were Win 2k. I did not know that 2k3 did not support CDONTs. I use the CDONTs for all the mail forms on our site. Is there any good turorial that have that are about CDOs? ALl i can find are CDONTs and CDOs with CDONT objects so that has been no help.
CDONTS
want to use CDONTS to sent my email. and i read this exellent thread: How to use CDONTS I have all kinds of forms with different names and values on different pages. How can i include all the fields of a submited form if they change name from form to form (or better yet, from page to page)? I think that i would have to count the items and then include them in the form. but i don't know if that would work and how to do it.
CDONTS
Does anyone know of a FREE ASP hosting website that has CDONTS enabled?I want the page to be able to send e-mails.
CDONTS
According to the ASP 3.0 Programmer's Reference published by Wrox Press (copyright 2000), CDONTs has several limitations. One is that it offers no built-in user authentication and security features. Is there any easy way to use CDONTS and have security at the same time? If you have an e-commerce web site and send an email to the vendor with a customer's credit card number and expiration date, could that information be intercepted? Is it possible to prevent that using whatever a web host has available
CDO Not CDONTS
I have a script that I've used elsewhere and it always works fine. It uses CDO not CDONTS. IIS settings seem to be the same as on other servers that have websites running the same script. When the form is submitted it runs until it gets to the send line. Error says access denied. The script's access is set the same as the rest of the site. Getting very frustrating as I am out of my depth here. Where do I start to correct this?
CDONTS
I would like to know if any one here know any sample examples or scripts that I can modify to work with a group mailing program. I would like to implement a form that uses CDONTS to grab the input and automatically emails to the given email. i'm unable to extract user's full name as the 'From' section needs to be in the following format - "full name <email@dot.com>" i was gonna use string concatenation but it dont like the symbol "<" any help?
CDONTS
I have an urgent problem with ASP CDONTS right now. This is my code: Set Mail=Server.CreateObject("CDONTS.NewMail") Mail.To="someone@somewhere.com" Mail.Bcc="someoneelse@somewhere.com" Mail.From="abc@abc.com" Mail.Subject=Request.Form("subject") Mail.Body=Request.Form("body") Mail.Send Set Mail=nothing The mail is sent to someone@somewhere.com, but not the bcc address which is someoneelse@somewhere.com. Is my code wrong?
CDONTS
I have numerous forms processed using ASP and once they are added or amended I need to e-mail various locations to advise them that the form has been changed depending on the location in the form. This is not the problem a case statement does the biz and the SQL and databases are running like clockwork The issue is that we have an exchange server but most of the e-mail adresses are internal only, so they have display names and aliases but as I can see no domain!!!! As I can see CDONTS only works with a domain. I have had a good search on the forum but I cant see a solution. Is there another object that would work.If not is something out there that would the job, be it a VB Script or something else
CDONTS
I need to set up an online form that uses CDONTS to send information to different email addresses based on the user's selection in a drop-down box.There are five choices and each one needs to go to a different email address.I realize I there has to be an indexed array of emails, but I don't know where to start.
CDONTS
used the following script but it won't send the email. <% Dim TBdy Dim MyCDO Set MyCDO = Server.CreateObject("CDONTS.NewMail") MyCDO.From = "person@something.org" MyCDO.To = "allstar@aol.com" MyCDO.Subject = "collegebound info" TBdy = Request.Form("cb_name") MyCDO.Body = TBdy MyCDO.Send Set MyCDO = nothing %> I received an error 0x800A0046 Permission Denided I am using Win2000 Sever with exchange2000 and ISA2000.
CDONTS
I am using CDONTS for users to send mail from a form. The first question is, when a user recieves the mail, [QUAR] is at the beginning of the subject line. Any ideas what that is? Second question, if one does not put a valid value for the FROM property, the e-mail won't send. But I do not want users to be able to reply to this type of e-mail. What can I do? When I do a search for [QUAR] nothing comes up and I can't seem to find anything for the FROM property either.
Cdonts
I am using cdonts to send emails from my form to my email address, it works great. My question is, is that In my fields area, when someone does not fill them out, it brings them to a page, which says to fill out these fields and go back to the form, which is what I want, but when the form is correctly filled out, it brings them to a blank page, but I want it to bring them to a custom made thank you page, without it interfering with the fields error page, how do I accomplish this
CDO Vs CDONTS
I've proven both systems on my asp server but I can't recognise the difference between them. I'd like to know which is the difference between them and which is better to send a big quantity of mails (I'm making a mailing list).
CDONTS
if it possible using CDONTS?On my site,when a product is purchased from a supplier, an email is automatically sent to him, notifying him of the sale. Would it be possible to have him return the email to confirm the order, and have that somehow go into my database (that the order was confirmed), and then sent another email to the customer to let them know that the order was confirmed? If this isn't possible using CDONTS,how would it be possible?
|