PHP Mail will not send on sites run by ispconfig3

Discussion in 'Installation/Configuration' started by happz, Oct 10, 2010.

  1. happz

    happz Member

    I am not worried so much about the email server working at this point for my ispconf3 installation and I will say that I am new to version 3.

    With ispconfg2, I started off long ago learning how to make email work from within the configuration but my php sites always sent email.

    With ispConfg3, now my websites won't even send emails with the built in php mail function.

    Any ideas?

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Never seen that in a ispconfig 3 setup yet. Do you get any errors in the mail.log? Have you chnaged any settings in the php.ini file?
  3. happz

    happz Member

    Hi Till

    I do have problems in the mail.log but I am trying to find a good company to use as a relay smtp server but I thought that PHP mail() worked out side of that. .

    The php web application script give me an option to use smtp or mail(). It seems that mail() via php used to always work.

    So I'll need to get my postfix working first?

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The php mail function invokes the sendmail wrapper which is part of postfix to send emails. So if you have problems with your postfix relay setup, then you will have to fix that to get php mail to work correctly.

Share This Page