The forum will be down for maintenance over the weekend of August 18-20, 2017. The forum will be shut down on the evening (EDT) of Friday, August 18. Downtime is unknown but may be up to two days. The forum will be restarted as soon as maintenance is complete.

I try to send email from SQL Anywhere but xp_startsmtp return code 100 (Socket error). I closed firewall and antivirus.

li_ret = CALL  xp_startsmtp( 
    smtp_sender = ''
    , smtp_server = ''
    , smtp_port = 25
    , timeout = 60
    , smtp_auth_username = ''
    , smtp_auth_password = 'password'

asked 17 Feb '14, 08:11

eraqaty's gravatar image

accept rate: 0%

edited 17 Feb '14, 09:33

Mark%20Culp's gravatar image

Mark Culp

I'm afraid there isn't much I can tell you. SA 12 didn't have much in the way of diagnostics for the mail routines. In SA 16, you can get more detailed error messages.

As a test, start a command prompt and see if you can run 'telnet 25'. If you successfully connect, then the problem is within SQL Anywhere.

permanent link

answered 17 Feb '14, 08:36

Graeme%20Perrow's gravatar image

Graeme Perrow
accept rate: 52%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 17 Feb '14, 08:11

question was seen: 1,098 times

last updated: 17 Feb '14, 09:33