Results 1 to 2 of 2

Thread: How do you change the default Mail sending to SMTP?

  1. #1
    codek is offline Sugar Community Member
    Join Date
    May 2005
    Posts
    57

    Default How do you change the default Mail sending to SMTP?

    Hi,

    When you create a user it defaults to sendmail for sending mail.

    I need it to default to SMTP. Can i also update all user accounts to use SMTP in one go?

    Thanks!
    Dan

  2. #2
    simple is offline Sugar Community Member
    Join Date
    Jul 2005
    Posts
    259

    Default Re: How do you change the default Mail sending to SMTP?

    Hi Dan

    you can add the following array definition to the file custom/include/language/en_us.lang.php.

    If the file/directory does not exist, create it.

    PHP Code:
    $app_list_strings['notifymail_sendtype'] = array (
        
    'SMTP' => 'SMTP',
        
    'sendmail' => 'sendmail',
    ); 
    This changes only the order of the two entries. But I couldn't change the order using the Dropdown Editor.

    It is not possible to update all user accounts to use SMTP with a SQL statement, because the value is stored in the preference field together with other preferences.

    Pascal

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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