8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
i'm having a problem here with FreeBSD 9.2 . I've created a directory and downloaded the latest ntp-4.2.8p1-beta2 from ntp.org. Untar then into the directory and then
./configure all went OK. Then i had to modify some parameters in the config.h created with ./configure . Then
make... (2 Replies)
Discussion started by: Board27
2 Replies
2. AIX
Hi
I would like to create another root account, for example root2. I added a new user named root2 and set it's uid and gid ( in /etc/passwd ) to 0. Then I logged in ( account root2 ) and the server asked to change the password, so I changed.
And the problem happend. The password of both root... (15 Replies)
Discussion started by: bobochacha29
15 Replies
3. Post Here to Contact Site Administrators and Moderators
Hello, how can I change the e-mail that is associated with this forum, Unix.com account? Currently I have work e-mail that is associated with my account and I would like to change it to my personal e-mail.
Thanks.
Pramodini (1 Reply)
Discussion started by: Pramodini Rode
1 Replies
4. Solaris
I want create user. That user should be login to any server without asking password. How? tell me in detail.
:wall: (3 Replies)
Discussion started by: Navkreddy
3 Replies
5. Solaris
How to create sftp account in UNIX end. Anyone guide me on this. (2 Replies)
Discussion started by: vijill
2 Replies
6. UNIX for Dummies Questions & Answers
Hi,
Please could some advise how to create a unix account, from the root account.
thanks you (2 Replies)
Discussion started by: venhart
2 Replies
7. UNIX for Dummies Questions & Answers
How can i create an account on my UNIX-server?
1. The files, can't be deleted by that person. (or better: he can only delete his own upped files, or can delete files, but can't see mine)
2. He can upload files.
3. I can delete and see everything.
Hope you guys can help me.
B.T.W. nice... (1 Reply)
Discussion started by: SEC
1 Replies
8. UNIX for Dummies Questions & Answers
I have a simple question.
i have an e-mail account with an ISP on a Solaris box. I want to forward all the mail that comes to "only" me to another POP3 account. I used to have the commands written down on how to forward all but I have lost them. Is there a way to forward only e-mails that... (2 Replies)
Discussion started by: jsillers
2 Replies
MB_SEND_MAIL(3) 1 MB_SEND_MAIL(3)
mb_send_mail - Send encoded mail
SYNOPSIS
bool mb_send_mail NULL NULL (string $to, string $subject, string $message, [string $additional_headers], [string $additional_parame-
ter])
DESCRIPTION
Sends email. Headers and messages are converted and encoded according to the mb_language(3) setting. It's a wrapper function for mail(3),
so see also mail(3) for details.
PARAMETERS
o $to
- The mail addresses being sent to. Multiple recipients may be specified by putting a comma between each address in $to. This
parameter is not automatically encoded.
o $subject
- The subject of the mail.
o $message
- The message of the mail.
o $additional_headers (optional)
- String to be inserted at the end of the email header. This is typically used to add extra headers (From, Cc, and Bcc). Multiple
extra headers should be separated with a CRLF (
).
Note
When sending mail, the mail must contain a From header. This can be set with the $additional_headers parameter, or a default
can be set in php.ini.
Failing to do this will result in an error message similar to Warning: mail(): "sendmail_from" not set in php.ini or custom
"From:" header missing. The From header sets also Return-Path under Windows.
Note
If messages are not received, try using a LF (
) only. Some Unix mail transfer agents (most notably qmail) replace LF by
CRLF automatically (which leads to doubling CR if CRLF is used). This should be a last resort, as it does not comply with RFC
2822.
o $additional_parameter
-$additional_parameter is a MTA command line parameter. It is useful when setting the correct Return-Path header when using send-
mail.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
CHANGELOG
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 5.0.0 | |
| | |
| | The Content-Type and Content-Transfer-Encoding |
| | headers may be redefined as of PHP 5.0.0. Before |
| | this time, the values defined by mb_language(3) |
| | are always used. |
| | |
+--------+---------------------------------------------------+
SEE ALSO
mail(3), mb_encode_mimeheader(3), mb_language(3).
PHP Documentation Group MB_SEND_MAIL(3)