![]() |
|
|
|
|
|||||||
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sendmail 8.11.7P1 Problem | dmguild | SUN Solaris | 0 | 08-28-2007 06:38 PM |
| sendmail problem with HP-UX | aribault | HP-UX | 2 | 05-31-2007 06:16 AM |
| Sendmail problem | hshapiro | UNIX for Dummies Questions & Answers | 3 | 05-22-2007 08:46 AM |
| sendmail problem | rpadilla | UNIX for Dummies Questions & Answers | 0 | 07-28-2005 09:44 AM |
| Sendmail problem | Optimus_P | UNIX for Advanced & Expert Users | 2 | 09-25-2001 11:59 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
problem with sendmail, help please!
I run UNIX and PHP
I use a forum (ibf) and the mail() function from PHP only allows emails to be sent to an email account that is on my server, so IT doesn't send any emails for example to eden@hotmail.com How can I fix this? I have to edit php.ini???' Please help me Thanks. |
| Forum Sponsor | ||
|
|
|
||||
|
It matters what mail you are running, but you could under sendmail add an alias to send the mail to your hotmail account.
If you are running sendmail, look for /etc/aliases and vi the file. Add something like mylocaluser: myaccount@hotmail.com This should then allow the email to be forwarded (without the need of setting up the local user and using the .forward file). To send to more then one account - mylocaluser: myaccount@hotmail.com,myotheraccount@yahoo.com |
|
|||
|
Ok yes, but the problem, is that the forum uses the "sendmail" via mail() function, so **it need to be able to send emails to everyone**
example: like if someone has suscribed to a topic, it send an email when there's a reply. So that wouldn't fix the problem... |
|
||||
|
Don't have an answer - but search php.net with email and/or forum and you might get something to help.
If not, post back and maybe someone with more PHP experience can assist. |
||||
| Google UNIX.COM |