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)