|
#1
|
|||
|
|||
|
I'm trying to send mail through our site when a user submits an order. The mail goes through okay, but the return path is set to nobody, so some servers will reject it and we won't get returned mail.
I've tried adding "Return Path: ouraddress@ourdomain.com" to the headers, as well as this function (as suggested in another thread): $f="-f"; $returnpath = "webmaster@yourserver.com"; mail("somebody@gmail.com", $subject, $message, "$f$returnpath"); but it still says nobody. Obviously we don't have access to the php ini file. Can I change it in .htaccess? And if so, what would be the proper line of code? Thanks, chickens |
|
#2
|
|||
|
|||
|
Solved!
I had changed it so the $headers."-f ouremail@ourdomain.com" appended, but it does work when put in as suggested below ie (..., $message, "$f$returnemail")... Huzzah for not reading the directions exactly, and hurrah for commas. |
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
All times are GMT -5. The time now is 12:52 AM.








