Results 1 to 8 of 8

Thread: Welcome mail

Hybrid View

  1. #1
    Join Date
    May 2010
    Posts
    3
    Rep Power
    5

    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.

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    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.

  3. #3
    Join Date
    Sep 2009
    Location
    Spain
    Posts
    233
    Rep Power
    6

    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.))

  4. #4
    Join Date
    May 2010
    Posts
    3
    Rep Power
    5

    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

  5. #5
    Join Date
    Sep 2009
    Location
    Spain
    Posts
    233
    Rep Power
    6

    Default

    did you use the actual number returned by zmmailbox or the words "MESSAGE_NUMBER" ?

  6. #6
    Join Date
    May 2010
    Posts
    3
    Rep Power
    5

    Default Welcome mail

    Yes odeleon, I tried with the same message number.

  7. #7
    Join Date
    May 2012
    Posts
    1
    Rep Power
    3

    Default welcome mail format

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

  8. #8
    Join Date
    Mar 2013
    Posts
    12
    Rep Power
    2

    Default

    xiaoningzi, have you found a solution for mail format?

Similar Threads

  1. Replies: 15
    Last Post: 11-18-2009, 11:16 PM
  2. [SOLVED] Fed 11 zcs install with existing apache
    By Lantzvillian in forum Installation
    Replies: 2
    Last Post: 10-05-2009, 11:11 AM
  3. Replies: 30
    Last Post: 01-13-2009, 07:00 AM
  4. Large volume of spam messages; see the log
    By snake_eyes in forum Administrators
    Replies: 1
    Last Post: 12-31-2008, 05:54 AM
  5. [SOLVED] Zimbra don't work - zmmailboxd
    By dmalherbe in forum Administrators
    Replies: 10
    Last Post: 11-20-2008, 09:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •