php mail () with multiserver setup

Discussion in 'Installation/Configuration' started by (O)fer_cz, Aug 15, 2012.

  1. (O)fer_cz

    (O)fer_cz New Member

  2. Pida

    Pida New Member

    Hi,
    you may talk about sender of these emails that is something like [email protected].
    Or I've installed SSMTP or you can configure sending emails using SMTP server and user in PrestaShop admin.

    Code:
    apt-get install ssmtp
    With ssmtp package you must to change sendmail_path to
    Code:
    /usr/sbin/ssmtp -t
    And there is a my configuration of /etc/ssmtp/ssmtp.conf
    Code:
    root=postmaster
    hostname={hostname_of_app_server}
    mailhub={smtp_server}:25
    AuthMethod=LOGIN
    AuthUser={smtp_user_name}
    AuthPass={smtp_user_pass}
    UseSTARTTLS=yes
    UseTLS=no
     
  3. (O)fer_cz

    (O)fer_cz New Member

    thanks for help, sorry for late answer

    its working but emails are send from address set in config ([email protected]), any tips how to send them from address which is /for example presta/ running on ([email protected])?
     

Share This Page