0

From the emm\configuration console, we can INVITE users to join the organization; an email is sent with the URL to register to EMM server. That email is sent in plain text format: Content-Type: text/plain How ca we have it sent in HTML format: Content-Type: text/html

    Subject: EMM Enrollment
    MIME-Version: 1.0
    Content-Type: multipart/mixed; 
    boundary="----=_Part_0_83553467.1444441352245"        
     ------=_Part_0_83553467.1444441352245

    Content-Type: text/plain; charset=us-ascii
    Content-Transfer-Encoding: 7bit
Community
  • 1
  • 1
Ron
  • 21
  • 3
  • I also tried to update the axis2.xml file following this example: http://heshans.blogspot.ca/2010/10/send-html-format-email-from-wso2-esb.html – Ron Oct 13 '15 at 17:15
  • Still no success though... – Ron Oct 13 '15 at 17:16

1 Answers1

3

Kindly follow the below link for configuring the server prior to generating emails. For an example we need to configure the axis2.xml to specify a mail client on /repository/conf/axis2/axis2.xml https://docs.wso2.com/display/EMM201/General+Server+Configurations

The Document https://docs.wso2.com/display/EMM201/Sending+Enrollment+Invitations+to+Users as details of how we can send enrollment information to the user. This document has the REST API call that can be invoked for the purpose.

For an example, we can use a curl command as below to generate the invitation.

curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer 33392fb365b3ac693b405b565ddc8a3a" -d @'user.json' -k -v https://localhost:9443/mdm-admin/users/email-invitation

Regards,Shavantha

shavantha
  • 361
  • 1
  • 2
  • 13