Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

-f parameter of the mail() function


3dsoft

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

 

<?php

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

some hosts will NOT receive the mail.

 

but if I use this mail function

 

<?php
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

later

3dsoft

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...