Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: 10061 10049 mail server problems microsoft error list url
3057: Variable could not be converted to a valid numberHere is the script that I have:
AddExtender("WWPST32I.DLL") host="mailserver" fromaddr="b00@sdf.com" userid="b00" password="down" port="" msgnumber="" ; get all msgs extractfile="" pattern="LAN" ; get msgs with "Smilie" in subject field nopattern="TEST" ; subject must not contain "Frownie" mailbox="" ; this option only available with IMAP4 flags="" ; SMTP is the default flag kInit(host,fromaddr,userid,password,port) mymail=kGetMail(msgnumber,extractfile,pattern|nopattern,mailbox,flags) message("Mail Messages", mymail)After I get WB to get the emails that only have the line I am looking for I need it to use that information to created a new user on the network.
I get the error from the line:
mymail=kGetMail(msgnumber,extractfile,pattern|nopattern,mailbox,flags)I know how to add the user with WB but wanted to auto it so it got the info from the mail server and did it for me.
mymail=kGetMail(msgnumber,extractfile,strcat(pattern,"|",nopattern),mailbox,flags)
host="mailserver"That also looks suspicious. Look at some emails you get from the ourside world. Look at the headers. your SMTP servers *may* be in that list someplace.
Why don't you post the code as you now have it.
AddExtender("WWPST32I.DLL") host="FD01LN01" fromaddr="b08mks@fsg.com" userid="" password="" port="" msgnumber="" ; get all msgs extractfile="mail.dat" pattern="LAN ACCESS REQUEST FORM" ; get msgs with "Smilie" in subject field nopattern="" ; subject must not contain "Frownie" mailbox="" ; this option only available with IMAP4 flags="h" ; SMTP is the default flag kInit(host,fromaddr,userid,password,port) mymail=kGetMail(msgnumber,extractfile,strcat(pattern,"|",nopattern),mailbox,flags) message("Mail Messages", mymail)
And your mail host still looks suspicious.
Could not connect to http://fd01ln01/mail/mstewart.nsf:110,error-10049I can connect to this using MSIE 5.0 without any trouble.
Boy. What is that URL?
I still suspect mail host name problems, but just plain mailserver *could* be correct also.
AddExtender("WWPST32I.DLL") host="http://fd01ln01/mail/mstewart.nsf" fromaddr="b08mks@fsg.com" userid="stewart" password="test" port="" msgnumber="" ; get all msgs extractfile="mail.dat" pattern="LAN ACCESS REQUEST FORM" ; get msgs with "Smilie" in subject field nopattern="" ; subject must not contain "Frownie" mailbox="" ; this option only available with IMAP4 flags="" ; SMTP is the default flag kInit(host,fromaddr,userid,password,port) mymail=kGetMail(msgnumber,extractfile,strcat(pattern,"|",nopattern),mailbox,flags) message("Mail Messages", mymail)
Try #1 try host="fddlnint06.fds.com" Try #2 host="fddlnint06" See email for next step.
http://msdn.microsoft.com/library/psdk/psdkref/errlist_9usz.htmBOOKMARK the site.
Also look in account settings for a POP or IMAP server name.
To determine the appropriate Mail server.....
Open the control panel applet 'Mail and fax' Start->Settings->Control Panel, then select the Mail applet.If you get the dialog 'Window messaging settings', select the 'Services' tab. Double click on the 'internet mail' item in the list.
You should then see new dialog titled 'Internet Mail'. What does it say next to the 'Internet mail server'???
Message is:
********************************************** ** THIS IS A WARNING MESSAGE ONLY ** ** YOU DO NOT NEED TO RESEND YOUR MESSAGE ** ********************************************** The original message was received at Thu, 30 Nov 2000 11:50:41 -0800 (PST) from dhcp187.windowware.com [207.195.133.187] ----- The following addresses had transient non-fatal errors ----- ----- Transcript of session follows ----- ... Deferred: Connection refused by fdlnint02.fds.com. Warning: message still undelivered after 4 hours Will keep trying until message is 5 days old
Article ID: W14783
File Created: 2001:11:08:12:39:58
Last Updated: 2001:11:08:12:39:58