send mail to group defined in .mailrc file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

When I execute the following command from PHP:
exec('"content" | mail example@xxxxxxxxx -s "hello there"');   
it works fine; 

But not when using an alias group defined in the .mailrc file, e.g.: 
exec('"content" | mail myGroup -s "hello there"');
When I execute the command above in the linux command line it works though.

Anyone has an idea on how to acheive this ?
Thank you!
-- 
View this message in context: http://www.nabble.com/send-mail-to-group-defined-in-.mailrc-file-tp22911231p22911231.html
Sent from the PHP - General mailing list archive at Nabble.com.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux