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 12.0.1.3873 but xp_startsmtp return code 100 (Socket error). I closed firewall and antivirus.

li_ret = CALL  xp_startsmtp( 
    smtp_sender = 'usermail@test.com'
    , smtp_server = 'smtp.test.com'
    , smtp_port = 25
    , timeout = 60
    , smtp_auth_username = 'usermail@test.com'
    , smtp_auth_password = 'password'
);

asked 17 Feb '14, 08:11

eraqaty's gravatar image

eraqaty
75457
accept rate: 0%

edited 17 Feb '14, 09:33

Mark%20Culp's gravatar image

Mark Culp
23.2k9132273


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 smtp.test.com 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
8.6k373110
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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×412

question asked: 17 Feb '14, 08:11

question was seen: 1,098 times

last updated: 17 Feb '14, 09:33