CDONTS Attachment To External Image

<%
Set theMail = server.CreateObject("CDONTS.NewMail")
theMail.From = "user -at- domain -dot- com"
theMail.To = "user -at- domain -dot- com"
theMail.Subject = "Requested Form"
theMail.AttachFile
("http://www.microsoft.com/library/toolbar/3.0/images/banners/ms_masthead_ltr.gif")
theMail.Body = "My email body"
theMail.Send
Set theMail = nothing
%>

That doesn't work :) Is that even possible?

View Replies


ADVERTISEMENT

Cdonts Attachment

I'm using godaddy ASP hosting and i have no permission to create files on disk from asp script.I need to generate excel file and send it via email in asp page.I'm sending email using CDONTS

All examples,i've found in internet, show how to attach to the email file from disk.In documentation for CDONTS told, that there is possibility to attach to the email data from IStream object.how can i implement this?

View Replies View Related

CDONTS Attachment

i am trying to create a simple page where a users can browse a file and send it through CDO. I can get the email to send fine with the body and subject but when it comes to figuring out the attachment bit, I'm lost! Here is the code i am using, please can someone point me in the write direction. Code:

View Replies View Related

Can Not Send Attachment With CDONTS

Set mail = Server.CreateObject("CDONTS.Newmail")
mail.From = janki@yahoo.co.in
mail.To = sender@yahoo.com
mail.Subject = "Subject"
mail.Body = "newsletter"
mail.AttachFile = "C: est.zip"
mail.BodyFormat = 0 'CdoBodyFormatHTML
mail.Send
Set mail = Nothing
this code is not working please help.....

View Replies View Related

Email Attachment Using CDONTS.

how to restrict email attachment file type as well as file size? If anybody has idea about it.?

View Replies View Related

How Do I Use CDONTS.new To Send An Email With Attachment?

Can someone give me some sample code to use CDONTS.new to send email with an attachment?

I've got sample code from the following website;

http://msdn.microsoft.com/library/e...sp?frame=true

But, I'm having trouble GETTING the relevant field from my HTML form! I can't seem to be able to get the field property. It just comes up as a blank.

View Replies View Related

CDONTS - PDF Attachment / Decoding Problem

I am using CDONTS to send email from an ASP script.

Attached to each of these emails is a 34K PDF file. 90% of the time the file arrives intact. 10% of the time, however, users are unable to open the file.

It appears that users using some sort of webmail recieve an improperly decoded version of the file where as users of POP3 non-web email clients (e.g. Outlook) generally recieve the file intact.

Thus far, all users reporting errors have up-to-date versions of Adobe Reader and are able to read the PDF file if I resend it from my desktop out of Outlook.

I have tried to open the files some users have reported problems with (after they forward me the copy they received) and I have the same problem. The file size on the PDF that could not be opened had grown to 47K.

Code is pasted below ....

View Replies View Related

Cdonts Resume Attachment Code

i need 2 files html as well as asp forms. pls help me with working code.

View Replies View Related

How To Send CDONTS Or CDOSYS Email With Specified Attachment?

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.

Here is the code I am working with: Code:

View Replies View Related

How To Send E-mail Met Attachment Image

How I send e-mail with attachement image. I send e-mail with cdo.message. but I have deffiecult to send attachment image.

Here is my code: ....

View Replies View Related

How I Send E-mail With Attachment Image

How I send e-mail with attachment image. I have made 2 file test.asp and test1.asp
test.asp called test1.asp en attachement 2 images. It does not work because the attachment image.

How I can solve this problem. herewith my code (test.asp and test1.asp) ....

View Replies View Related

Cdonts Embedded Image

My readers that are lotus note user receive the mails I send using cdonts with image displayed as attachement in place of inline.

I read http://www-1.ibm.com/support/docvie...uid=swg27002572
that say "for displaying image inline in lotus you must set correct
mime header as content disposition : inline"

however I can't achieve it with cdonts : my mime header is stuck to
"content disposition : attachemnt" and I can't see how to change it.

I read somewhere that using attachurl instead of attachfile will fix
it but my test did not achieve this way.Any of you experienced sending inline image to lotus note users with cdonts ?

View Replies View Related

Embed Image Within HTML Email (CDO Or CDONTS)

Usually, when I send HTML emails, I just SRC the image to my web server, but now I would like to consider embedding images for those instances when potential customers may view the email when offline.

Can this be done with CDO or is another component required?

View Replies View Related

External Xml

how do i include an external xml file, i take it i cant use <link> like with stylesheets.

View Replies View Related

Can I Combine ASP With External CSS?

I am trying to display a random background image for a webpage. I found this code to do it

<%
'Defines the number of background images you have
Const NUMBER_OF_IMAGES = 2

'Initiates the randomize function
Randomize

'Sets a variable: this will be used to hold the
'random generated value
Dim intImageNumber

'This is where we create the random number
intImageNumber = Int((NUMBER_OF_IMAGES * Rnd) + 1)
%>

Modify the body tag to accept the random number. In this case we are going
to place it within the image so as to facilitate the selection of a random
image. Code:

View Replies View Related

Calling External Sub

Im wanting to call a sub funvtion on another page from vbs that is:

<SCRIPT LANGUAGE=vbscript RUNAT=Server>
sql="exec SomeStoredProc"
call DoConnection(sql)
Response.write(recordset.getstring)
call DBClose()
</SCRIPT>

the DoConnection sub is in another page called MyDBConnection in a folder call Common.

I know that I can use serverside includes and embed my con in the page using <%%> but I want the use runat server How can I make call to a function in an external page?

View Replies View Related

External Script

Is there any way I can link to a EXTERNAL (on a different server) VBS script or a include file in an ASP document??

View Replies View Related

External Database

I would like my localhost website to connect to a Access Database on the web.Is this possible and if possible how do I do it?

View Replies View Related

External VBScript

Is it possible to run an external VBScript in an ASP page. ie. A VBScript that will run on it's own outside of ASP.

I have a VBScript that performs a function,there is no user I/O. I want to use this script both on it's own and from within an ASP page.

View Replies View Related

Cookie Via External ASP Page?

I have 3 domains, A, B, and C.

I want to put the same JS tag on sites A and B that call an asp page on domain C.

The tag would look like this:
<script language="JavaScript1.1" src="http://secure.C.com/Demo/Intercept.asp"></script>

The ASP page on domain C would write a cookie, in theory the cookie should have permissions for read and writing from site C.
Something like this:
Response.Cookies("Name").Expires = Date() + 365
Response.Cookies(SurveyName).Domain = ".C.com"
Response.Cookies(SurveyName).Path = "/"

In firefox the result is exactly as planned, a cookie is set when a user goes to sites A or B via site C, and using this same approach, I can read the cookie from domains A and B via the JS tag calling the script on site C.

IE does not like this. Sometimes it doesn't even write the cookie, other times the cookie has to be there b/c of resulting actions taken, but when viewing the list of cookies, it's no where to be found. Additionally, I don't seem to be able to read the cookie the same way as firefox is letting me.

I know this can be done, I went to foodnetwork.com (yeah I love to cook), and saw that they were using a metric service that was calling a back end script from the vendors domain, and setting a cookie from that vendors domain, all without the user seeing anything or leaving the foodnetwork.com domain. I've looked at the resulting JS code that is returned from these vendor back end pages, and it has nothing to do with the cookie being set, it's definitely happening server side.

View Replies View Related

Drop Down Box External File

how can you make a drop down box from an external file?

View Replies View Related

Connecting To External Xml File

i am trying to write a script to parse an external xml file, but am having
problems... the problem i think has to do with me trying to do
Response.Write(xmlDoc.transformNode(xslDoc)) before the xml is fully loaded.
The link to the xml file is valid. Code:

View Replies View Related

Searching An External Website

I have multiple websites on my Intranet. My current search engines can search within their own environment. However, I would like to have one search page, which retreives results from all environments.

My first task is to connect, retreive and display results from a second server (through http). Then I will need to scrub the results to display in a unique template.

View Replies View Related

Parse An External XML File

I have a site that pulls in XML data from an external third party and I need to parse it in my ASP page.

Could someone please suggest examples or online resources where I might learn how to do this? Everything I am Googling is confusing me with DTDs, XSLTs etc.

View Replies View Related

SubFunction In External File

Is it possible to store subfunctions in an external file and then include that file ASP files requiring use of its contents?

View Replies View Related

Customising External .js Files

can you use asp to customise external js files e.g.

<script src="fred.js"></script>

where fred gets the page id and changes an image in the .js file to sui....

View Replies View Related

Include From External Server

I'm looking for a way to include a file from another server in asp page.using #include won't work because it's not on the same server. In php, you can simply include(), and it doesn't care whether or not it's on the same server, is there a similar function in asp?

View Replies View Related

External Viewer Application

i have an asp page to list the result of search page.when i click on a link(href) , which is a 3D CAD file located in a directory ,it should be opened in a new page.This page shld support a 3D cad viewer in built in it.how to inbuild a CAD viewer in the HTML page?and view the link in that page

the code goes like this :

<TD> <a href ="prev.html" target = "new window"> <%=Rs(k).Value %> </TD>

This Rs(k).value is a link to the 3D file (eg. "C:Directoryfile.dwg").When this file is clicked,the value of Rs(k).value has to be passed to the "prev.html" page and the file must be opened with "3D file viewer".How to inbuild the CAD viewer into my HTML page and how to pass the Rs(k).value to that page?

View Replies View Related

Load External Web Page

I want to load a web page from another server via http into an array or variable, parse it, and pull some data using plain ol ASP / VBScript.an example page to pull:

http://sports.espn.go.com/mlb/players/profile?playerId=4245

I search quite a bit for this info but so many results and not enough knowledge in this area of ASP.

View Replies View Related

External Data Acessing

i need to create a site with a feed back system. one of my friend said to me ASP has nothing to do with this project. is it possible to do this using ASP ?if yes then what r the major functions that i should use.

View Replies View Related

Import From External Source

My company recently hired a third party to handle phone orders during off hours. The third party wants to be able to update our database through their own interface. We are running SQL Server 2000 on Windows 2000 Server with ASP.NET 1.1. The number one thing that come to mind is security for credit cards. Perhaps some kind of web service, xml, etc.? Does anyone have any suggestions on the best way to handle this?

View Replies View Related

Send External Email

I have an .asp page sitting on the intranet that I want to, when necessarry, send emails to people. All my code is fine, no errors whatsoever however, if the person to be emailed has an EXTERNAL email address they receive an email form my system fine BUT if my user has an INTERNAL email address they are not receiving mail from my system.

View Replies View Related

Output From External Webpage

a way to read an output from an external webpage/service? For example;

The external source is on http://serverA:6010/sendoutput This page displays one line of outputted text, I want to be able to read this in an asp page into a variable.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved