Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

-f parameter of the mail() function


Recommended Posts

some hosts won't accept mails sent out by my server.

which means that some shop cients don't get mails from the shop at all.


e.g. if I use this basic mail function



mail('[email protected]', 'Test', 'Is this working?', "From: [email protected]");

some hosts will NOT receive the mail.


but if I use this mail function


mail("[email protected]", "Betreff", "Nachrichtentext", "From: [email protected]","-f [email protected]");


every hosts seems to accept the mails which are being send out by my server.


Now, how do I change the mail function (-f) within the oscommerce shop, that it works..

i didn't manage to change it..


hints are welcome



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...