Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-24-2010, 01:05 AM
New Member
 
Posts: 3
Default Welcome mail

Quote:
Originally Posted by gautam View Post
Hi,

Thanks. I got it working with lmtpinject as I do bulk provisioning first.

- G
I am new to zimbra. Can you explan how we can generate welcome mail to new user.
Reply With Quote
  #2 (permalink)  
Old 05-24-2010, 01:36 AM
Moderator
 
Posts: 7,928
Default

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.
__________________
Reply With Quote
  #3 (permalink)  
Old 05-24-2010, 08:20 AM
Advanced Member
 
Posts: 236
Default

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.

Something like:

Code:
zmmailbox -z -m newuser@example.com addMessage /Inbox message_file.txt
this will return the message id in the user's mailbox so you can do other things with it, like set it as unread with

Code:
zmmailbox -z -m newuser@example.com markMessageRead MESSAGE_NUMBER 0
0 for unread, 1 for read.

((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.))
Reply With Quote
  #4 (permalink)  
Old 05-25-2010, 08:22 PM
New Member
 
Posts: 3
Smile

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)

thanks
ramesh
Reply With Quote
  #5 (permalink)  
Old 05-26-2010, 12:07 AM
Advanced Member
 
Posts: 236
Default

did you use the actual number returned by zmmailbox or the words "MESSAGE_NUMBER" ?
Reply With Quote
  #6 (permalink)  
Old 06-09-2010, 08:03 PM
New Member
 
Posts: 3
Default Welcome mail

Yes odeleon, I tried with the same message number.
Reply With Quote
  #7 (permalink)  
Old 05-08-2012, 03:57 PM
Starter Member
 
Posts: 1
Default welcome mail format

how to set the welcome mail format (such as html,test)?
and how to set the charset?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.