Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

I always used the following structure on ASA9:

CALL xp_startsmtp('My Name<>','localhost' );

But on SA12 it don't works (error 104) ! .... only works the semplified version (without angle bracket):

CALL xp_startsmtp('','localhost' );

Any suggestions ?

asked 28 Dec '12, 04:03

NCister's gravatar image

accept rate: 0%

edited 28 Dec '12, 04:53

Volker%20Barth's gravatar image

Volker Barth

Since you are using v9 so far, you seem to be faced with changed behaviour in newer versions:

AFAIK, xp_start_smtp() has been enhanced in v10 to include a bunch of additional parameters, and one of them is "smtp_sender_name". So I guess you can use "smtp_sender_name = My Name" to add the desired alias for the e-mail address, something like:

CALL xp_startsmtp( smtp_sender = '',
                   smtp_server = 'localhost',
                   smtp_sender_name = 'My Name' );
permanent link

answered 28 Dec '12, 04:49

Volker%20Barth's gravatar image

Volker Barth
accept rate: 34%

edited 28 Dec '12, 04:54

Comment Text Removed
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: 28 Dec '12, 04:03

question was seen: 3,184 times

last updated: 28 Dec '12, 15:12