![](http://content.invisioncic.com/r49260/set_resources_1/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
nnmlss
-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by nnmlss
-
-
Yestarday I have read a loooot of documentation about it, including online resourses, microsoft IIS smtp help and I found what for is the pickup directory. So.. I changed the path to but.. look what happens:
mailobj.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 1; mailobj.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverpickupdirectory")="C:\Inetpub\mailroot\Pickup";Error Type:CDO.Message.1 (0x80070003)The system cannot find the path specified.
I tried to change the value of this attribute and check out what will be happen . The results are below..
mailobj.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2;Error Type:(0x8004020F)The event class for this subscription is in an invalid partition
mailobj.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 3;Error Type:CDO.Message.1 (0x80040233)Could not find the Sender's mailbox.
All of this Errors point to the same line in the code:
mailobj.Send();
I have opended the mmc console and check out smtp settings, but.. nothin unusal was there. And I trided to find anything and anything, but.. the script did not work. Post in a bulgarian forum and few of people there give me some piece of advice, but.. the situation is still unchanged.. I Failed. Cannot do anything else
-
lol.. I don't think VBScript is better than JavaScript too.. If u ask me, I would not even use ASP, because of the Microsoft (mono)policy, but.. the client for the site I do has a STRONG CORPORATE REQUIREMENTS which I have to pass... And all of them are Microsoft orientated. I think this is what microsoft gains - the trust of the Big Companies, for the Big Contracts, about the big money. Nothing less.. VBScript is a Microsoft tehnology ant it must look like it is better then JScript. Check for JavaScript ASP tutorials? there's a few.. Check for VBScript? loool! :)whatever..thankx for the script, but.. when I test it locally there's an error..
Error Type:CDO.Message.1 (0x80040222)The pickup directory path is required and was not specified. /n2/sendmails.asp, line 16
have any idea what is it?pickup directory for what?line 16 is:
mailobj.Send();
[edit:]yup, I did not specify smtp server..
-
Is it possible to use JavaScript to send mails using CDOSYS ?I'm developing an ASP website with JavaScript instead of VBScript.If I remember well, I cannot use the both. Everywhere I look, i see only VBScript tutorials for sending mails.I did a form, send with POST to another page, validate emails and names and.. now I have to send mails. But.. everything i write as code is with JavaScript... Any idea what can I do?
ASP send mail with JavaScript?
in ASP
Posted
thankx :]it works! I saw somewhere cause I have to use doudble slashes \\ but.. didn't get it? Now it works. Thank you very much for the support. and thankx for the text editor ConTEXT, i get i from the links in your message, and this is the best one I have ever tried. Cheers!