Hi All,
I'm on UNIX -Solaris...
I'm trying to send mail usin Mailx..... The script is working fine and attachments are also being sent....
BUT, when I receive the mail,, the sender address shown is the unix login id name.... Any way by which I could manipulate this in my script command or any... (1 Reply)
Hi,
This post is regarding sending mails from Unix. How can we include "bcc" in a "mailx" command. I searched google to find out the -b option; but my man pages doesnot show that option(it throws me an error: "-b not found"). It has a "~b" option but i am not sure how to use it. Could you people... (2 Replies)
Hi All,
Can anyone please provide the command for sending an mail with attachment using mailx command.
Thanks in Advance :)
Regards,
Siram. (3 Replies)
Hello Forum members.
We currently have a reusable script called "send_email.sh" that is used to send us alerts when our daily jobs are completed. Script uses the mailx utility and below is a sample message:
-----Original Message-----
From: Servacct ETL process owner - Manager Database... (2 Replies)
Just having trouble trying to figure out what the option is.
When I do
mail -s "Subject" someuser@example.com
I can't seem to specify "from" or "sender" option as I need it for my task. I tried using --f or -f though it didn't work.
Can someone please tell me what other option... (0 Replies)
Hi Guys,
I want the sender name in the format of "MAC " in the mailx command.
I tried the below command but it is throwing error.
> mailx -s "Test" -r 'MAC ' xxx@gmail.com
EOT
contains invalid character 'xxcd:~>
Can somebody help me out here.
Cheers!!!!
---------- Post... (0 Replies)
Hi ,
mailx is unable to send mail , I am getting the following error
Diagnostic-Code: SMTP; 553 5.1.8 <bc00644@dev-app01-wms.domain.fds>... Domain of sender address bc00644@dev-app01-wms.domain.fds does not exist
Can anyone tell me what can be the possible fix for this (2 Replies)
Hi,
I am using the unix script to send a report on daily basis using the mail command. Here the sender name is appearing as myname i.e. chandru (userid@machine.unix.domain.com).
Is there any way to change sender name as a user defined name? example i need to change it to SupportTeam... (1 Reply)
Hi,
I m using mailx to send email. I am using
sender=server name(display name)
echo "body" | mailx -s "subject" -b "bcc address" "to address" -- -f "$sender".
I should get email with sender as only display name. In stead i am getting displayname@server address.
Please suggest
Use code... (1 Reply)
Discussion started by: usrrenny
1 Replies
LEARN ABOUT OSX
femail
FEMAIL(8) BSD System Manager's Manual FEMAIL(8)NAME
femail -- accept mail on behalf of a real MTA
SYNOPSIS
femail [-46tv] [-f from] [-F name] [address ...]
DESCRIPTION
femail is intended to be used on servers that do not run a real MTA or inside chroot(8) environments. It features a sendmail(8)-compatible
command line interface and forwards mail via SMTP to the host given in the config file, an environment variable or localhost.
The options are as follows:
-4 Only use IPv4.
-6 Only use IPv6.
-F name Set the sender's name to name.
-f from Set the sender address to from. Normally, femail tries to parse the sender from the message, and uses login@hostname if that is
not present.
-t Read recipients from the message given on stdin, in addition to the recipients given on the command line.
-v Enable verbose operation.
CONFIG FILE
The config file, /etc/femail.conf, consists of simple name=value pairs. The supported settings are as follows:
smtphost Specify the server femail should send the messages to.
smtpport Specify the port femail uses on smtphost to send the messages. Default is 25.
myname The hostname femail uses. Defaults to the machine's hostname.
ENVIRONMENT
SMTPHOST Forward mail to the given host instead of the local host. Only consulted when not set in the config file.
SMTPPORT Connect to the given port instead of 25. Only consulted when not set in the config file.
SEE ALSO mail(1), sendmail(8)AUTHORS
femail was written by Henning Brauer.
BSD August 9, 2005 BSD