Hello,
Is there anyway to change the from address in the email sent using mailx command?
I have the following command:
mailx -s $subject xxx@xxxx.com < $mail_mesg
This defaults to the following format "acctname@usserver.companyname.com" as the from address in the email. Problem is this... (5 Replies)
Hi,
I'm trying to use the Mailx Return Email Command with a file attachment.
If I use the file attachment by itself, it works ok. But If I add the return email command, it won't attach the file to email.
Subject, return_email_address
Send_email_address, Body, attachment,... (1 Reply)
Hey Guys,
I have been trying to send a email as ccto a email ID .However it seems the -c option is not working in HP UX system.
It is shooting an error as "mailx: illegal option -- c"
My script isin the below manner:
mailx -c EMAIL_IDS_CC# -s 'BDC reminder' -r sender@email.com... (1 Reply)
Hi guys,
I have a question about the returning message of the mailx command.
if I run a mailx command, how can I know if the email has been sent to the email address? If the email address doesn't exist, is there any error message returned? If yes, how can I get the error message?
Thanks... (3 Replies)
Hi, How can I use "mailx" command to send message to an email address like this?
echo "This email body" | mailx -s "my subject" "email@hostname.com"
There may be some setup required in sendmail or postfix??
OS = Snow Leopard 10.6 (4 Replies)
Hi,
I need to configure customized from address in mailx command.
Can you pls tell me the option for configuring from address.
Thanks
Latika (9 Replies)
Currently I am using mailx command for sending mails.
But the mail is sent as from userid@servername by default.
Is it possible to customise the from mail address in mailx command?
Thanks (2 Replies)
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)
Hello All,
I have a requirement to generate report and send them to a distribution list.
The problem I am facing is when sending out the email using mailx.
The email address (DL) we have is starting with # and because of this it's not recognising the email and throwing the below error.
... (2 Replies)
Discussion started by: Pradeep_Raj
2 Replies
LEARN ABOUT HPUX
icapnotify
icapnotify(1M)icapnotify(1M)NAME
icapnotify - Test email connectivity to HP for Instant Capacity (iCAP) systems. Request a confirmation response email from HP. Turn config-
uration change notification and asset reporting on or off.
SYNOPSIS
icapnotify <reply_address>
icapnotify -a on|off
icapnotify -n on|off
Obsolescent:
icod_notify <reply_address>
icod_notify -a on|off
icod_notify -n on|off
DESCRIPTION
When a reply_address is specified, sends an asset report via email to HP, root, and the specified email address. Confirmation email is
sent from HP to the specified reply email address indicating that HP received the asset report email.
Note that asset reporting is optional but can be useful for viewing complexwide asset information at the HP Utility Pricing Solutions por-
tal (http://www.hp.com/go/icap/portal).
The deprecated command provides identical functionality to the command and is maintained for backward compatibility.
For detailed information on email configuration and requirements, see the located at /usr/share/doc/icapUserGuide.pdf.
Options
The command recognizes these options and arguments:
-a on|off Turns email asset reporting on or off. This option is used to specify if the Instant Capacity software should send asset
reports to HP via email. The command displays the present setting for this option.
-n on|off Turns configuration change notification on or off. If specified on, executing the command results in a configuration
change notification email sent to the system contact email address summarizing any configuration change. Configuration
change notification email can be turned off by specifying off. Configuration change notifications are not sent if the
system contact email address is not set.
EXTERNAL INFLUENCES
Environment Variables
o LANG determines the locale to use for the locale categories when both LC_ALL and the corresponding environment variable (begin-
ning with LC_) do not specify a locale. If LANG is not set or is set to the empty string, a default of C is used (see lang(5)).
o LC_CTYPE determines the interpretation of single- and multiple-byte characters.
o LC_MESSAGES determines the language in which messages are displayed.
If any internationalization variable contains an invalid setting, icapnotify behaves as if all internationalization variables are
set to C (see environ(5)).
International Code Set Support
Single- and multiple-byte character code sets are supported.
RETURN VALUE
The command exits with one of these values:
0 Command succeeded.
>0 Command failed; error message sent to STDERR.
EXAMPLES
Test email connectivity with HP by sending an asset report to HP, root , and super_user@corp.com, and request a confirmation email from HP
to be sent to super_user@corp.com:
icapnotify super_user@corp.com
Turn email asset reporting on:
icapnotify -a on
Turn email asset reporting off:
icapnotify -a off
Turn configuration change notification on:
icapnotify -n on
Turn configuration change notification off:
icapnotify -n off
AUTHOR
was developed by HP.
SEE ALSO icapmodify(1M), icapstatus(1M), icapmanage(1M), icapd(1M), icap(5).
icapnotify(1M)