Disable "Welcome to your new email account"

Discussion in 'General' started by todgerme, Oct 1, 2010.

  1. todgerme

    todgerme Member

    Hi All,

    Can someone point me where in the code I can comment out temporarily the welcome email that new mailbox users receive in ISPC3?

    Thanks,

    Keith
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The code is in the file /usr/local/ispconfig/interface/web/mail/mail_user_edit.php, comment out the line (approx line number 236):

    mail($mailTarget, $mailSubject, $mailBody, $mailHeaders);
     
  3. todgerme

    todgerme Member

    Thanks - your help is much appreciated!
     
  4. matiasCU

    matiasCU New Member

    Hi all

    I can disable the sending of the message "Welcome to your new email account" on ISPConfig Version: 3.0.4.1.
    I looked the function at the following file but I can not find /usr/local/ispconfig/interface/web/mail/mail_user_edit.php

    Tks
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    The emailis now send by the mail server plugin and not from the interface.
     
  6. matiasCU

    matiasCU New Member

    Thank Till, but is possible then disable the welcome email?
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    You will have to edit the sourcecode of the mail plugin and comment out the mail() function which sends the welcome message.
     
  8. matiasCU

    matiasCU New Member

    Problem solved!

    Thanks Till,

    I comment out the function on line 191
    mail($mailTarget, $mailSubject, $welcome_mail_message, $mailHeaders);
     
  9. gendalone

    gendalone New Member

    under ispconfig 3 (if plugin is enabled....)
    file should be: /usr/local/ispconfig/server/plugins-available/mail_plugin.inc.php
    line to comment out should be: 196
     
    Last edited: Sep 5, 2013

Share This Page