I am using a script on HP-UX to send emails that include a Pdf attachment to clients. The scipt makes use of sendmail.
The scripts works for everything except gmail. When I go on gmail via my Web Browser, I can see the message with the attachment, but if I try to view or download the attachment, gmail tells me that the attachment cannot be found at its original source.
If I use this same script to send the message to my hotmail account or my work email, everything is fine.
Can somebody please help? The script is shown below.
Last edited by methyl; 06-06-2012 at 12:34 PM..
Reason: not finished ; please use code tags
Dear all,
I've been working with AIX for, um, 15 years now and I have read all I can about the above, but I am stuck. Everything seems to point to using sendmail on the command line to embed a uuencoded attatchment will not work.
Using something like "(cat plain.txt;uuencode attach.file... (4 Replies)
Hi,
I got the following script from Ygor on this site:
#!/usr/bin/ksh
export MAILTO="email_address"
export CONTENT="/export/home/aisdba/email_body.html"
export SUBJECT="subject of email"
(
echo "Subject: $SUBJECT"
echo "MIME-Version: 1.0"
echo "Content-Type: text/html"
echo... (9 Replies)
Hi.
I am a user on HP-UX , OS Version 11.23 with the Itanium architecture.
I am using a script on HP-UX to send emails that include a Pdf attachment to clients. The scipt makes use of sendmail.
The scripts works for everything except gmail. When I go on gmail via my Web Browser, I can see... (4 Replies)
Hello All,
I want my script to accept Gmail user name and password from command line and authenticate that user .Is it possible ?
I heard about doing it using Google API's but not able to find right material on net. (1 Reply)
I use sendmail to send html emails, my script works perfect and sends email with plain text attachment.
Now i need to attache png file to the email and this attachment part is not working.
(
echo "From: $FROM"
echo "To: $TO"
echo "MIME-Version: 1.0"
echo "Subject: $SUBJECT"
echo... (4 Replies)
Hi All,
I have a problem again with sendmail content type . I am trying to attach the gz file to the html email but couldnt figure out even after extensive google.
Here is my code.
(
echo "From: $FROM"
echo "To: $MAILTO"
echo... (3 Replies)
Need assistance in using the below script and having multiple png file attachments in the same script . Your inputs are appreciated. I dont have uuencode , I use either mailx, sendmail, mpack .
( echo "to: samplemail@somewhere.com"
echo "from: samplemail@elsewhere.com"
echo "subject:... (2 Replies)
Okay, I have searched the forums and couldn't really find a topic on this, so I decided to start one. But I decided to start a ncurses discussion forum recently and one thing I noticed while getting it going is that when mail is sent out via Sendmail or PHP Mail, Gmail is /very/ slow to receive it.... (2 Replies)
Hi All,
Not been around in a while. However I have been all over tinternet (google) for days looking for a solution.
Where I work has decided to use Sendmail on our Linux and Unix estate for sending emails via scripts. So I am hoping to eventually get a working solution for Sendmail and not... (3 Replies)
Discussion started by: dakelly
3 Replies
LEARN ABOUT DEBIAN
amanda-scripts
AMANDA-SCRIPTS(7) Miscellanea AMANDA-SCRIPTS(7)NAME
amanda-scripts - Configuring and using the Script API
DESCRIPTION
The Script API is a flexible system for invoking user-supplied scripts at various points in the execution of Amanda. This manual page
describes the operation and configuration of the API. For help writing Script API scripts, see http://wiki.zmanda.com/index.php/Script_API.
SCRIPTS
This section lists the scripts included with Amanda, see the individual man page for instructions on using them. For complete How-To
information, consult the Amanda wiki at http://wiki.zmanda.com.
o amzfs-snapshot(8), - create/destroy zfs snapshot.
o script-email(8), - send email.
Script properties work just like application properties: they are insensitive to case, and - (dash) and _ (underscore) may be used
interchangeably.
SCRIPTS OUTPUT PROPERTY
A pre-dle-amcheck, pre-dle-estimate or pre-dle-backup executed on the client can output property on stdout that are sent to the
application. If the output line matches "PROPERTY str1 str2", Amanda sets a property called "str1" by the value of "str2", that property is
sent to the application.
SEE ALSO amanda(8), amanda.conf(5)
The Amanda Wiki: : http://wiki.zmanda.com/
AUTHORS
Jean-Louis Martineau <martineau@zmanda.com>
Zmanda, Inc. (http://www.zmanda.com)
Dustin J. Mitchell <dustin@zmanda.com>
Zmanda, Inc. (http://www.zmanda.com)
Amanda 3.3.1 02/21/2012 AMANDA-SCRIPTS(7)