- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: mailx and lotus notes
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2008 08:57 AM
тАО02-21-2008 08:57 AM
mailx and lotus notes
i send a mail from a ux box containing a body text and two attachements.
The first one arrives correctly the second one do not arrives but i see some characters realted to it:
begin 664 LISTQTSA.txt <;'-C:&EA=F]N94!A
If I send the same mail to may hotmail box I am able to see both of them correctly.
The command I use is the folowing:
{ echo 'MLST=|LISTQTSA.txt|';echo 'ID=|QR000388549|';echo 'BC=|QTSA|';echo 'OFRMT=|Pdf|';echo 'KEEPBODY';echo 'SUBJ=|Ns.miglior off
erta n. QR000388549 del 18/02/2008 per S.R.L.|';echo 'FROM=||';echo 'ORIENTATION=|Landscape|';echo '@@##EndOfParameterSect
ion##@@';uuencode ../SPF/MAILQTSA_LP_01_01_P3920301 MAILQTSA.txt;uuencode ../DAT/OCGOML38_08022114374011 LISTQTSA.txt;} |mailx -m -s
'QR000388549 del 18/02/2008' gwfax@box.com
I send the two file saparately one per time, the arrive correctly.
I send them togheter but without -m, and i saw the original error.
I try to use ux2dos before uunecoding, same error.
Did you know any hint ?
Thanks
Angelo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2008 11:21 AM
тАО02-21-2008 11:21 AM
Re: mailx and lotus notes
There should be another section filename and type information for the SECOND attachment between the two uuencode statements.
Without it the mail reader does not know there is a second attachment. What you see as "begin 644..." is the encoded piece of the second attachment appearing as text in the mail message. Without the header information before it, the mail reader can not decode it. You still can decode the second attachment but you have to do it manually (save it to a file and run uudecode)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2008 02:30 AM
тАО02-22-2008 02:30 AM
Re: mailx and lotus notes
so wich is the section I should put between the to uuencode command.
Consider that the following:
echo 'MLST=|LISTQTSA.txt|';echo 'ID=|QR000388549|';echo 'BC=|QTSA|';echo 'OFRMT=|Pdf|';echo 'KEEPBODY';echo 'SUBJ=|Ns.miglior off
erta n. QR000388549 del 18/02/2008 per S.R.L.|';echo 'FROM=||';echo 'ORIENTATION=|Landscape|';echo '@@##EndOfParameterSect
ion##@@'
is used to format the printer/fax server which receive the two files.
Thanks
Angelo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2008 04:09 AM
тАО02-22-2008 04:09 AM
Re: mailx and lotus notes
echo statements for first attachment
uuencode of first attachment
echo statements for second attachment
uuencode of second attachment
Based on your commands I would try something like this but you have to verify your fax server syntax.
{
echo 'MLST=|LISTQTSA.txt|';
echo 'ID=|QR000388549|';
echo 'BC=|QTSA|';
echo 'OFRMT=|Pdf|';
echo 'KEEPBODY';
echo 'SUBJ=|Ns.miglior offerta n. QR000388549 del 18/02/2008 per S.R.L.|';
echo 'FROM=||';
echo 'ORIENTATION=|Landscape|';
echo '@@##EndOfParameterSection##@@';
uuencode ../SPF/MAILQTSA_LP_01_01_P3920301 MAILQTSA.txt;
echo 'MLST=|LISTQTSA.txt|';
echo 'ID=|QR000388549|';
echo 'BC=|QTSA|';
echo 'OFRMT=|Pdf|';
echo 'KEEPBODY';
echo 'SUBJ=|Ns.miglior offerta n. QR000388549 del 18/02/2008 per S.R.L.|';
echo 'FROM=||';
echo 'ORIENTATION=|Landscape|';
echo '@@##EndOfParameterSection##@@';
uuencode ../DAT/OCGOML38_08022114374011 LISTQTSA.txt;
} |mailx -m -s 'QR000388549 del 18/02/2008' gwfax@box.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2008 05:22 AM
тАО02-22-2008 05:22 AM
Re: mailx and lotus notes
I try but the result is the same the second file does not arrive.
I also try with the following one but I get the same issue:
export EMAIL_TO=my@mail.com
export EMAIL_FROM=server
export EMAIL_SUBJECT='000388549 del 18/02/2008'
export EMAIL_BODY=' '
export FILE_NAME=' '
export ATTACHED_FILE=' '
echo "To: $EMAIL_TO" > soggetto
echo "From: $EMAIL_FROM" >> soggetto
echo "Subject: $EMAIL_SUBJECT" >> soggetto
echo "MIME-Version: 1.0" >> soggetto
echo 'Content-type: multipart/mixed; boundary="xxxxyyyzzqzzyyyxxxx"' >> soggetto
echo '--xxxxyyyzzqzzyyyxxxx'>> soggetto
echo "" >> soggetto
echo 'MLST=|LISTQTSA.txt|' >> soggetto
echo 'ID=|QR000388549|' >> soggetto
echo 'OFRMT=|Pdf|'>> soggetto
echo 'KEEPBODY'>> soggetto
echo 'SUBJ=|Ns.miglior offerta n. QR000388549 del 18/02/2008 per FATROTEK S.R.L.|'>> soggetto
echo 'FROM=||'>> soggetto
echo 'ORIENTATION=|Landscape|'>> soggetto
echo '@@##EndOfParameterSection##@@'>> soggetto
uuencode ../SPF/MAILQTSA_LP_01_01_P3920300 MAILQTSA.txt >> soggetto
echo "MIME-Version: 1.0" >> soggetto
echo 'Content-type: multipart/mixed; boundary="xxxxyyyzzqzzyyyxxxx"' >> soggetto
echo '--xxxxyyyzzqzzyyyxxxx'>> soggetto
uuencode ../DAT/OCGOML38_08022114055588 LISTQTSA.txt >> soggetto
cat soggetto |/usr/sbin/sendmail -t
thanks
Angelo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2008 07:00 AM
тАО02-22-2008 07:00 AM
Re: mailx and lotus notes
Look in the faxserver's documentation in case you find some information about this.
Or may someone else has faxserver experience.
What is the faxserver software you are using?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2008 07:15 AM
тАО02-22-2008 07:15 AM
Re: mailx and lotus notes
the fax server I think has no importance at this point, the mails arrive corrupted at the lotus notes mailbox. This means that before lotus notes send the files to the fax server they are already corrupted such as I have described above.
regards.
Angelo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2008 08:27 AM
тАО02-22-2008 08:27 AM
Re: mailx and lotus notes
But rather than spending time trying to construct the headers manually each time you should try an mailer program that can email files as attachments on a commad line. Two commonly used such programs are "mutt" and "mpack" and are available for HP-UX on the HP-UX porting and archive site
http://hpux.cs.utah.edu/hppd/hpux/Networking/Mail/mutt-1.5.17/
You don't need to specify headers, these prgrams create the headers and and encode the files. (mutt has runtime dependancies, it needs other software installed)
Search on this list for sending attachments in batch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2008 06:01 AM
тАО02-25-2008 06:01 AM