Jump to content

Archived

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

3dsoft

-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

 

<?php

mail('techervim@gmx.net', 'Test', 'Is this working?', "From: shop@streamcase.com");
?>

some hosts will NOT receive the mail.

 

but if I use this mail function

 

<?php
mail("techervim@gmx.net", "Betreff", "Nachrichtentext", "From: shop@streamcase.com","-f shop@streamcase.com");
?>

 

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

Share this post


Link to post
Share on other sites

×