Welcome to the forums
If you were to write a script to call zmprov then you could also send that user a email from the same script.
You can also have the welcome mail stored in a file (using RFC 822 format) and have it added to the users mailbox in the same script you do the zmprov calls to create the account.
this will return the message id in the user's mailbox so you can do other things with it, like set it as unread withCode:zmmailbox -z -m email@example.com addMessage /Inbox message_file.txt
0 for unread, 1 for read.Code:zmmailbox -z -m firstname.lastname@example.org markMessageRead MESSAGE_NUMBER 0
((Note: I tried using the -F option with Unread in addMessage, but it didn't work on my test server, perhaps you'll get a different result.))
Thanks for your reply.
using first command i able to send mail. command complete with message number.
if i execute the second command with the message number, the following error msg i received. please advice
ERROR: service.INVALID_REQUEST (invalid request: malformed item ID: MESSAGE_NUMBER)
did you use the actual number returned by zmmailbox or the words "MESSAGE_NUMBER" ?
Yes odeleon, I tried with the same message number.
how to set the welcome mail format (such as html,test)?
and how to set the charset?
xiaoningzi, have you found a solution for mail format?