WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Postie

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

kSendText Error 10013

 Keywords: kSendText Error 10013 550 Relay Authenication 

Question:

I have a script that works correctly in xp pro but when I use my windows 7 box, i get the following error: "Could not connect to server: mailbox.exchange.net:25, error= -10013". i am using the latest extender. any ideas?
AddExtender("WWPST44I.DLL")
host = "mailbox.exchange.net"
fromaddr = "helpdesk@exchange.com
userid = ""
password = "" 
port = ""
tolist = "me@exchange.com" 
cclist = ""
bcclist = ""
Subject = "Test"
attachments = ""
flags = "h"
kInit(host,fromaddr,userid,password,port)

kDest(tolist,cclist,bcclist)
kSendText(subject, "this is a test" ,attachments ,flags)
msg = kStatusInfo()
message("msg", msg)
name = AskLine("Sending email", "Email Sent", msg, 0)

Answer:

Start by checking all of the settings for that helpdesk@exchange.com account in Outlook.

For example, does the outgoing SMTP server require authentication? If it does require authentication then you will need to specify the userid and password in your kInit statment and specify the flag 'e' in your kSendtext Statment. It would also be wise to look into these possiblities:


Article ID:   W17592
Filename:   kSendText Error 10013.txt
File Created: 2017:07:28:12:58:35
Last Updated: 2011:03:16:13:04:52