I would guess that you don't supply any parameters and that the result of the call is formatted as suggested. That is:
tList = value( cXtraSendMailGetDefaultAccount() ) put tList
However, I also expect that you may get garbage (or nothing) back unless the user is running Outlook Express.
Still having lot of trouble. here is what I am sending
On mouseup me
cXtraSendMailAddText("this message is sent to you from VideoCap")
put cXtraSendMailSend ()
and get this:
-- "530 5.7.0 Must issue a STARTTLS command first. e48sm21831291yhm.12"
which means the message is correctly formatted. The second line means nothing to me!! The smtp and user name is directly from my account setting in Outlook.
Is there an easier way (and still free) of sending e-mail with attachements from Director?
For the record, I figured out what the problem was. Sending messages directly from the xtra without an smtp server is problematic since many servers such as gamil don't use port 25 and require TLS or other encryption. so, in order to make this work, you need to send your message through a server such as roadrunner or another ISP. this worked!