Sponsored Content
Full Discussion: Using mailx under solaris10
Operating Systems Solaris Using mailx under solaris10 Post 302233341 by SnackS on Sunday 7th of September 2008 07:53:38 AM
Old 09-07-2008
Using mailx under solaris10

Hello all.

I am a new user Solaris10, on a sunblade100. And I need help.

How to send an e-mail on command line under solaris 10 ?
I try mailx-s "subject" snacks@yahoo.fr without success.

I would like to know why?
What files do I configure?

Thank you in advance.

best regards.
 

10 More Discussions You Might Find Interesting

1. Solaris

help,win2003 and solaris10 in a pc?

sorry,my english is poor. who can install win2003 and solaris10 in one pc ? my win2000server in hda1 so frist install win2003 in hda5 second install solaris10 in hda2 but after install over,the win2003 can't logon in. alway let me press<ctrl>+<alt>+<del>. why? (1 Reply)
Discussion started by: keyi
1 Replies

2. UNIX for Dummies Questions & Answers

mailx error message : mailx: NUL changed to @

If I use the "Mail" link instead of the "mail" link to ../mailx I get this error. Mail so-n-so @whatever.com mailx: NUL changed to @ Unknown command: "postmaster" The email still goes through but i get the error. If I use "mail" it goes thru without the error. Any ideas?? (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies

3. UNIX for Dummies Questions & Answers

Inst. Solaris10

I just download solaris 10, from sun.com, I have them ziped in my HD, How can I install them, so I can run solaris10, my present os is RH9; THANKS (5 Replies)
Discussion started by: mxlst14
5 Replies

4. Solaris

Re: Crontab in solaris10

Hi all, I wrote a small shell (bash) script and it was executing well. I'm getting problem when I use this in crontab. My script is: #!/usr/bin/bash mkdir `date '+%m-%d-%y'` cd `date '+%m-%d-%y'` cvs co -r br_name module cd dir1/dir2/dir3 bash build.sh this is doing well... (7 Replies)
Discussion started by: gullapalli
7 Replies

5. Solaris

Sun Solaris10

hi to all, I am newuser can anyone tell me from where i get the sun solaris 10 dumps. plz mail me at (no email addresses - read the RULES of these forums) (2 Replies)
Discussion started by: quickgun
2 Replies

6. Solaris

Solaris10

Hi All How can we verify if any of the parameters we have change in Solaris10 after reboot. Like is there any command? Please advice Thanks (3 Replies)
Discussion started by: imran721
3 Replies

7. Shell Programming and Scripting

Mailx: How to send a attachment using mailx command

Hi All, Can anyone please provide the command for sending an mail with attachment using mailx command. Thanks in Advance :) Regards, Siram. (3 Replies)
Discussion started by: Sriram.Vedula53
3 Replies

8. UNIX for Advanced & Expert Users

OpenLDAP and Solaris10 problems

Hi All, I have configured OpenLDAP sucessfully and set following results indicating that the user is loaded on the LDAP database test5:/ $ cat /etc/passwd | grep admin777 test5:/ $ getent passwd admin777 admin777:x:5011:1000::/:/bin/bash test5:/ $ id admin777 uid=5011(admin777)... (0 Replies)
Discussion started by: esawyja
0 Replies

9. Solaris

Msktutil on Solaris10

Technical Prose: Solaris integration with Active Directory - Part I follow this guide,install solarisgcc,and dev libraries required. But after configure i get checking for res_search... yes checking for krb5_init_context in -lkrb5... yes checking for ldap_initialize in -lldap... yes... (0 Replies)
Discussion started by: Linusolaradm1
0 Replies

10. Solaris

Solaris10 and pxeLinux

I want to run solaris10 with my pxelinux server i put on pxelinux.cfg/default this LABEL solaris 10 kernel mboot.c32 append -solaris solaris/boot/platform/i86pc/kernel/unix -v -m verbose install dhcp nowin nfs://192.168.0.2/jumpstart/config.tar -B install_media=192.168.0.2:/solaris... (0 Replies)
Discussion started by: Linusolaradm1
0 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)
All times are GMT -4. The time now is 03:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy