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.



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 


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:, error= -10013". i am using the latest extender. any ideas?
host = ""
fromaddr = "
userid = ""
password = "" 
port = ""
tolist = "" 
cclist = ""
bcclist = ""
Subject = "Test"
attachments = ""
flags = "h"

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


Start by checking all of the settings for that 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:13:58:35
Last Updated: 2011:03:16:14:04:52