Q:
I am having an issue with mailopen() while trying to send an email from Lianja.
Code:
m_open = mailopen("smtp.server.com","username","password","SMTP")
if not m_open
   dialog box mailerror()
else
   // process email.
endif
I keep getting the error "211 2.0.0 Bye" returned.

A:
Is it an SMTP server or ESMTP?
If SMTP, is it on port 25?

Testing with telnet "telnet smtp.xxx.ca 25", the response is "200 smtp1.xxx.ca ESMTP"
Outlook does show SMTP using port 25
We just added support for ESMTP so you should be able to just replace SMTP with ESMTP.
Looks like you've got an ESMTP server then. We just added support for ESMTP so you should be able to just replace SMTP with ESMTP.
you may also have to BASE64_ENCODE() the user/pass:
I added BASE64_ENCODE() to the username and password and the email sent.



​All topics in [Answers] alphabetically:http://www.lianja.com/community/show...ll=1#post12352