CDONTS Alternative

I would like to set up an ASP page that sends an e-mail, but the server I'm working on doesn't have CDONTS installed for security reasons. I don't have any control over the server. Are there any alternatives to using CDONTS that will work or a better option?

View Replies


ADVERTISEMENT

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?

View Replies View Related

CDONTS Alternative Text Content

I'm using CDONTS and am trying to send an email out which displays in HTML for HTML-enabled clients, and plain text for non-HTML clients. Unfortunately I am using IIS4 so CDOSYS is not available (so I can't use the handy .Textbody or .HTMLBody properties). How would I go about it with CDONTS?

View Replies View Related

Alternative Of PHP

I have got the following PHP code which I am trying to convert to
ASP.cant find a replace function for Unset in asp which will discard the variable
if ($categoryid == "all")
{
$sql = "SELECT * FROM products where shopinspection=$shopinspection";
unset($HTTP_POST_VARS['categoryid']);
unset($HTTP_POST_VARS['shopinspection']);
}
else
{
$sql = "SELECT * FROM products where categoryid = $categoryid";
unset($HTTP_POST_VARS['categoryid']);
}
unset($HTTP_POST_VARS['Submit']);
while (list($key, $value) = each($HTTP_POST_VARS))
{
if ($value != "" )
{
$sql = $sql .=" AND $key=$value";
//$sql = $sql .=" AND solesource = $solesource";
//echo "<strong>$value</strong>";

View Replies View Related

Alternative To MS Access?

if there is any alternative software to MS Access for creating .mdb file?

View Replies View Related

Alternative Querystring - Using / Instead Of ? And &

Is is possible to pass parameters with this URL:
www.mysite.com/article/sports/football

instead of the usual method:
http://www.mysite.com/article.asp?c...tegory=football

And, if I need to add more parameters at a later time, may I then use
something like:
http://www.mysite.com/article/sport...321&language=EN

Also, I am using ASP, not ASP.NET.

View Replies View Related

Alternative To IIS On XP Home?

i have read a few articles saying that you can run IIS on XP home but it does not look too reliable to me and am not too willing to try, so is there an alternative set-up i can use to test my ASP before uploading?

i say this as all ftp hosts seem to want your code pre-tested before uploading .

View Replies View Related

Alternative Buttons

Looking for a way to switch between submit buttons. The default will be "start" and when the tech clicks on that, the button will start a timer, which I have already set.

The button then will switch to "stop" and when a tech has completed a job and clicks "stop" the timer will also stop and switch the button back to start.

I know how to track the time for each tech that starts and stops a job. I need a jumpstart on how to switch onclicks for two buttons.

View Replies View Related

Alternative Of #include

Is there any other way or trick to include an asp file in my ASP file than the classic html #include. In fact my filename (which is to be included) will be coming from database and #include statement doesn't support any kind of variables.

View Replies View Related

Alternative To TEXTAREA

I know this is not a core .asp issue, but I'll try anyway. I've used the TEXTAREA element for a while, but as you know it's limited when it comes to formating part of the text inside a TEXTAREA.Does anyone have expirience using other text cointainer objects (Java/ActiveX), which is easy to use and easy to read values from when sending a form to a procedure .asp page?

View Replies View Related

IFrame Alternative

does someone knows what's the alternative of Iframe. Actually I have to use IFrame and it works in IE but NS 4.74 to NS 4.78 doesn't support IFrame.

So, I have to use alternative of IFrame so that my application can work in both IE and NS 4.74 to NS 4.78

View Replies View Related

WinZip / Other Alternative

I'm using ASP and I need to generate a ZIP file that contains a list of files that I'm pulling from a database. I've determined WinZip's command line parameters so that I can use it, the problem is I'm unsure how to run WinZip on the server.

Set WshShell = Server.CreateObject("WScript.Shell")

WshShell.Run("c:winzip.exe")

Assuming this would work, how do I get the process to terminate upon completion? I can't have 20-30 WinZip applications running on the server, I need it to handle what I send to it and then close. Maybe I'm taking the entirely wrong approach here.

View Replies View Related

Server.MapPath Alternative?

I have an asp file that gathers info from a form and sends to the database. im now changing the location of the database from the root path. I think that because of this i cannot use Server.MapPath method of sending data.

Coudl someone please help me out and let me know how i would change the code? Im quite new to this as you could probably see. Code:

View Replies View Related

Alternative To Response.redirect

Is there another command in asp that I can use to send users to a different page.

I use response.redirect alot in our site and I suspect it is causing us ranking trouble as it is basically a 302 redirect.

I use it like this.

If user is not logged on > send him/her to the log on page and attach a variable showing where the redirection came from so they can return easily.

Is there another way?

View Replies View Related

Alternative Table Colours

anyways what id like to do is in my "do while" loop i want to create different background colours so its easier to read with large tables.

I know the code should be something like:

If variaiable isnot true then
bgcolour = blue
Else
bg colour = red
end if

i am, however, not quite sure ont he correct syntax for it?

View Replies View Related

Select Case Alternative

I would like to know if there is alterntiave to using Select Case?I have over 80 files that a user can select from a drop down list and 'read'. Rather than writing out 80+ lines with INC files, what is the other less code option?

View Replies View Related

Round Function Alternative

Good:
246/10 = 24.6
round(24.6) = 25

Bad:
246/100 = 2.46
round(2.46) = 2 (I want 3)

If I have a decimal, I want to round up. Always. How do I achieve this in ASP?

View Replies View Related

Alternative To Session Variables

i am using cookies to save a users login information which is then used again on another page to save data to a database. This works fine on certain clients' machines, but on others there is an error. Am i right in saying that it is because cookies are not enabled on their machines? If so, is there another way i can do this?

View Replies View Related

Alternative To Personal Web Server?

Is there a free ( has to be free ) web server that can run active
server pages like pws?

View Replies View Related

Alternative To Response.write

I'm trying to build a contact form using ASP. The form works properly but the code I found has "Response.write "Your email..." which appears on a white page after the form is successfully submitted. Is there a different function I can use that will redirect the use to another .html page (like a "thank you for submitting...") instead? Code:

View Replies View Related

Alternative To Username:password

Are you suffering from the same problem? In the past, you want to access to a secured page protected by Windows Authentication (e.g. Exchange OWA), you will make such redirection "http://usernameassword@domain/exchange/".

However, because of security and Microsoft's latest patch, it will be no longer working. I wonder what we could do now if we want to do the same.

View Replies View Related

'StrConv' Alternative (I Want Propper Case!)

In VB there is a command that can be used to convert a string into proper case, e.g...

msgbox StrConv("HELLO", 3)

Would say "Hello". However, there is no such function in ASP (it seems to be one of the few commands that was not exported into VBS....god I miss DoEvents too....used to abuse that command.....lol).

Anyway, do you guys know any methods that can be used to do the same thing? Basically I have a name all in CAPS, and I want it to be converted into Proper case so that it's easier on my visitor's eyes when they see it.

View Replies View Related

Alternative To <select> For Large Number Of Values?

My users have to select an value from a fixed selection of values. The
obvious choice of control for such a requirement is to use a <select> (i.e.
a combo box).

My problem is that sometimes, these combo boxes will have a *large* number
of values. There could be any number of values in them from 5 to 5 million
(unlikely it would be this large but possible).

Obviously 5 million is far too much to populate a <select> control with.
Does anyone have any suggestion as to how a user could select a value from a
*potentially* very large selection of values (i.e a suitable alternative to
the <select> control)?

View Replies View Related

Powerful MS HTTP Request Component - Alternative To ServerXMLHTTP!

Having just "discovered" it myself, I thought I'd draw everyone's attention to the fact that the WinHTTP 5.x object (which is used behind the scenes by our good friend the ServerXMLHTTP object) can be used directly in scripts.

This is useful because the ServerXMLHTTP object encapsulates XML-related functionality which is unnecessary for performing most simple HTTP requests, and thus by using the WinHTTP object directly you achieve higher performance, scalability, and reduced memory consumption... AND WinHTTP offers quite a few features that ServerXMLHTTP does not expose - including the ability to specify a proxy (and an exclusion list) from within the script (or to acquire them from Internet Explorer's settings), IPv6 support, and HTTPS/SSL support!

For more information .....

View Replies View Related

Cdonts

I am not having any trouble getting cdonts to work, but damn is it slow. I have the importance set to 2, but sometimes it can take a whole day or more to get the email. Anyone, know how I can make this faster, or another freeware program to send mail faster.

View Replies View Related

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?

View Replies View Related

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.

View Replies View Related

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.

View Replies View Related

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.

View Replies View Related

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

View Replies View Related

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?

View Replies View Related

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?

View Replies View Related

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?

View Replies View Related







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