send-email function
Winona Salesky <[email protected]>
| Newsgroups | gmane.text.xml.exist |
|---|---|
| Message-ID | <CAJthYRe3HL-rd6cvamcDMxvwz=_A+X4+CmROmwuo7nqn5wNKCA@mail.gmail.com> |
Has the send-email() function changed or been depreciated? It no longer
works on my 6.1.0 version of eXist. I am trying to use the local send mail
server for the SMTP server. When I use it on a locally installed version, I
get true() but no email is sent, when I try using it on my production
version of my app (installed via docker on AWS) I get a 'connection
refused' error.
Sample xquery:
xquery version "3.1";
let $email :=
<mail>
<from>[email protected]</from>
<to>[email protected]</to>
<subject>Test email client in eXist-db 2</subject>
<message>
<xhtml>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test email client in eXist-db</title>
</head>
<body>
<p>Name: winona</p>
<p>e-mail: winona</p>
<p>Subject: test</p>
</body>
</html>
</xhtml>
</message>
</mail>
return mail:send-email($email, '', '')
Thanks for any insights.
-Winona
_______________________________________________
Exist-open mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/exist-open