Hi,

I am currently using MarkLogic 6, trying to accomplish xdmp:email() 
functionality.
The SMTP server configurations is done as per the instructions provided in the 
admin guide.
The 'SMTP Relay' value is set to mailstore1.secureserver.net

Below is the piece of code used & the error I get when I run it is:

"Error sending mail: MAIL FROM:<[email protected]>: 530 5.7.1 Client was not 
authenticated".

Please let me know if there is a way to specify the authentication details?


xdmp:email(
<em:Message
 xmlns:em="URN:ietf:params:email-xml:"
 xmlns:rf="URN:ietf:params:rfc822:">
   <rf:subject>Test Email</rf:subject>
   <rf:from>
       <em:Address>
          <em:name>MarkLogic</em:name>
          <em:adrs>[email protected]</em:adrs>
      </em:Address>
  </rf:from>
  <rf:to>
     <em:Address>
        <em:name>Admin</em:name>
        <em:adrs>[email protected]</em:adrs>
     </em:Address>
  </rf:to>
  <em:content>
    <html xmlns="http://www.w3.org/1999/xhtml";>
      <head>
          <title>Test message</title>
      </head>
      <body>
         <h1>MarkLogic Corp</h1>
         <p>A simple paragraph</p>
      </body>
    </html>
  </em:content>
</em:Message>)



Thanks,
Arjun
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to