I'm using CDO.Message to send emails and i'm using the .CreateMHTMLBody to send an html page, the only problem that i have is that when you view the email, you notice all the images that are in that page as attachments !!!! the email loads fine, but is there a way not to show the images in the attachments line
I have a asp page that sends a excel price list to customers, this worked fine untill now, but now when i sent one to myself it arrives as a dat file. Does any one know why, and how to fix it, is it a problem with my emailk reader (Outlook) or is it some thing to do wih Exchange?
I am using CDO Message to send mail from ASP page. I find that all the mails sent goes to bulk folder or appear as spam message in both yahoo and gmail. How can i prevent that.
Is There a Message Box in Active Server Script like in Visual Basic? The four books I have show it the same as VB but I get a Message "Permission Denied" MsgBox "Message"
When I load this script it says, �No record found�. This message suppose to display when I put something in search box and there is no record that matches in database. Everything else works fine. How can I get read of �no record found� message when I load page Code:
I am using CDO.Message object with code below. When I execute the .Send command, I get the following error.
Error: -2147220973 Description: The transport failed to connect to the server.
Note: The SMTP Server and the IIS Server are the same machine.
Anyone come across this error message in the past? This error also occurs when I use Method #1 where I use the schema reference provided by Microsoft. Here is the code:
I've created a form that e-mails the response to a person. Problem is that I want to include their name in the From attribute. Unfortunatly, the .From doesn't like spaces between strings. Are there any suggestions how to fix this? Code:
I use CDO.Message to send mail. The problem is, CDO.Message will send to any malformed address, (eg. smtp:email.address@domain.com) and no errors are thrown.
I want to delete a record from sql DB in asp page.. When the word "delete" is click, there will be prompted by message box about want or not to delete the record.
If the message box is clicked "yes" then record will be deleted. If the message box is clicked "no" so the record will not be deleted.
I've tried to use vbscript, but it didn't work, because I don't know how to combine this vbscript with ASP which is should connect to DB too.
If anyone who read this, has a complete coding for solving my problem, n would like to share with me ...
Does anyone know if it's possible to send an email out in the Session_OnEnd script? I Know it's possible to create a connection object in Session_OnEnd but unsure if it will create a cdo.message object.
im making an online course and on a certain page there are 3 items that each user needs to open and read. I want to check and see if they have opened all of these items before they can continue, so I would like to have a msg box pop up when they try and leave the page if they havent opened all 3 items first.
I have the database set up so if i know if its they're first visit to the page, and it knows when they open each of the 3 items, I just dont know how to get a msg box to appear when they try and leave the page. I know there is no msgbox fuction in asp.net, and i have tried javascript alert on page unload, but i get a "Response is not available in this context." error.
I am using CDO Message Class for sending email.My program is working properly.But some times it sends only part of mail.
I am sending through my mail server using authentication.Every thing is fine.I sending mail in html format.I am not understading the reason behid this problem.is there any limitation of size of message to be sent?
I have created a page which loops through a recordset and creates a new row for each record.This row contains an image which the user can click to delete the record that is displayed in that row.
When the user clicks the delete image (link) I wish to make a message box appear with YES/NO buttons and a "Question" Icon.The message box will display "Are you sure you want to delete record x from the database?"where x is the primary key from that table (objRS.Fields("RecordID") )
If the user clicks YES it will redirect the user to a page.If the user clicks NO no action is performed.
I wonder how http://mobile.yahoo.com SMS works. By entering a phone number and service provider, how ASP page can send SMS message to a cellular phone?
I'd like to use cdo.message to send emel trough ASP pages, but comes to an error that dont really know why. Can somebody give me a complete guide on how to configure the smtp server and so on. Code:
I am lost with the CDO.Message error I am getting. The problem is intermitten. It seems to go away after overnight. I also have one page that runs Dundas Mailer and it works fine while CDO.Message comes up with this error, both tested at the same time! (I made it for testing purposes but would like to stay with CDO).
My ISP keep saying that the server is running fine and it is my code that is causing the problem.
Is there a way to change encoding of a message created with CDO.Message, or otherwise send international characters (unicode) in Textbody? The messages I get now show question signs instead of international characters.
i m using cdo.message to send site generated messages to our members. Is there a cdo function (such as cdo.validate for example)
whereby one could check the validity of an address before one sends, thereby avoiding the flood or error messages caused by people discontinuing an address without informing us.
I have a requirement to display a message and then redirect the controls to some file, I tried with the below method but its not working, where as If I use server.transfer or server.execute it works but I cant give relative Url (it will dynamically genrate), If any one has an alternate way, pls respond.
ShowMessage("Hello World")
Sub ShowMessage(sMessage) Response.Write "<script> alert("& Chr(34) & sMessage & Chr(34) &" ); </script>" Response.redirect "xyz.asp" End Sub
I'm trying to display a message box when they fall into the IF statments below. I understand that you cannot prompt with a message box on the server side which is why I placed it with in script tags, but this code doesnt do anything differently. Code:
I am a new ASP user working on a university project. The design plan calls for the use of message boxs to confirm deletions from the DB. I have seen client side message boxs, but the design plan calls for server side pop ups using ASP. Can anyone show me how this is done.
On my intranet I would like to send a pop up to a specific computer using that computers IP address (which I Know). At the moment the receiving computer has to have a page open that refreshes every 10 min. to keep the connection alive and to check a access database for any new messages.
This works but has draw backs. These draw backs include the waste of bandwidth on the server, the need for the page to be left open on the machine, and up to a delay of 9.59 seconds on message notification.
What I would like to do is have a message delivered to the receiving computer whether or not they are logged on the intranet. this message can be either a pop up page or windows alert dialog box.
Trying to send mail with ASp and CDO, but my local (croatian) characters are completely left out from the message! It's not like some strange chars are shown, but nothing. like they are ignored.
The ASP page has <%@language="vbscript" codepage="65001"%>.
What parameters of the CDO object do I have to set to get my mails show all the chars of subject and body in unicode?
I want to display message box with ok,cancel buttons. If i click on Ok then i want to execute some ASP functionality,how can i manage both,If i gave runat=server then the messagebox will not displayed.If i use runat=client,then ASP function was not worked.
I am getting this error when trying to use Mail.CreateMHTMLBody while using CDO.
I cannot find any references to this error and the error says unspecified. I am calling the full URL which can be the problem but the various environments that will be using this may have the same URL to call and the URL is pointing to a page on the localhost. Code: