[Javascript] automated firing off emails

Baren, Gary BarenG at DNB.com
Mon Mar 17 12:59:03 CST 2003


If IIS is installed on the computer with the SMTP service, CDONTS and CDOSYS
objects are available to create and send emails from WScript and ASP. 

CDONTS is easy, but inflexible and does not report errors. It can only send
using the SMTP pickup directory.

CDOSYS or CDO 2000 is more complex but is much more robust. It can send
using SMTP pickup or SMTP port and if you get an error, you'll know the
source.

Information on using both can be found at http://msdn.microsoft.com.
CDONTS.Newmail would do well for a search to find a quick and dirty
solution.

Gary Baren
MCSD


-----Original Message-----
From: Mark [mailto:mark_weinstock at yahoo.com] 
Sent: Monday, March 17, 2003 1:38 PM
To: javascript at LaTech.edu
Subject: Re: [Javascript] automated firing off emails

To me, this would be a security problem. I could create a script that
automatically sends email from your PC without your knowing it. 

 From a technical side, how would you know what mail client was (or
even IF there was a mail client) on the PC?


--- bill.marriott at agric.nsw.gov.au wrote:
> Hi Everyone,
> 
> Has anyone had experience in using javascript to automate the
> sending of 
> emails
> 
> I don't just mean mailto where it opens up your mail client but
> something 
> that will actually fire off an email from your mail client
> 
> thanks
> 
>  Bill Marriott
> Analyst/Programmer
> Information Technology
> NSW Agriculture
> Orange
> 
> Ph.  02 6391 3657
> Fax. 02 6391 3290
> 
> 
> This message is intended for the addressee named and may contain 
> confidential information. If you are not the intended recipient or 
> received it in error, please delete the message and notify sender.
> Views 
> expressed are those of the individual sender and are not
> necessarily the 
> views of their organisation.


=====
Mark Weinstock
mark_weinstock at yahoo.com
***************************************
You can't demand something as a "right" unless you are willing to fight to
death to defend everyone else's right to the same thing.
***************************************

__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript



More information about the Javascript mailing list