09-01-2011
Maybe you can find whatever database of file-types it uses, and use it to write up a list of mime-types to make conversion simpler.
8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have a problem while sending attachement , it is displying Content into body of mail (Junk Data) instead of attachment (zip format) in Linux, same code is working in Sun Solaris..
I have read query in this site , need to set MIME type to mailx componment. Please help me how to set MIME type..... (1 Reply)
Discussion started by: suneel
1 Replies
2. Shell Programming and Scripting
Hi,
I have read the related posts by perleo and those who assisted. I wish to do a similar thing, in that I wish to use the Net:smtp module.
I have downloaded it and followed the instructions for the install.
When I check the perldoc net::smtp, the information returns (thus showing it... (1 Reply)
Discussion started by: cheng
1 Replies
3. UNIX for Dummies Questions & Answers
Using Lynx, when I try to download a .rar, it confirms I want to download and its got it as an appication/rar file.
However, split archives that end in .r## (.r00, .r01 ...) are not recognized as an appication/rar file and it reads the file like a .txt or .html.
How can I fix this?
Thanks! (2 Replies)
Discussion started by: yitzle
2 Replies
4. Shell Programming and Scripting
Alright, so I am trying to use perl (or any other shell scripting language, awk/sed/bash for instance), to retrieve the mime-type of a file.
I want to keep it in one file, and most of the modules that are on cpan that check for mime types (Magic), aren't installed on these boxes.
Anyone have... (2 Replies)
Discussion started by: Rhije
2 Replies
5. Shell Programming and Scripting
Hello,
I'm a newbie perl scriptor and i'm trying to figure out why i can't send an email using MIME::Lite with Net::SMTP. I keep receiving the following error:
SMTP MAIL command failed:
5.7.1 Helo invalid .
at attach1.pl line 31
The error keeps coming from the very last line... (2 Replies)
Discussion started by: xmaverick
2 Replies
6. Shell Programming and Scripting
We are getting some special scenarios where Net::SMTP is not working for some mails.
we are sending a similar kind of data via mails but some of the mails are not received.
After checking the Net::SMTP in debug mode we found below difference:
Good One - (Mail sent properlly)
---
-----... (0 Replies)
Discussion started by: NIMISH AGARWAL
0 Replies
7. Programming
Hey, for the purpose of a research project I need to know if a specific type of parallel processing is being utilized by any user-run programs. Is there a way to detect whether a program either returns a value to another program at the end of execution, or just utilizes any form of parallel... (4 Replies)
Discussion started by: azar.zorn
4 Replies
8. UNIX for Beginners Questions & Answers
Hello,
I am trying to send a gzip file on email using below command but the zipped file received on email is corrupt.
mailsend -smtp $smtpip -content-type 'application/x-gzip' -mime-type "application/x-gzip" -t $receiver -f $sender -sub "$subject" -M "$MSG" -attach $file
file name is ... (1 Reply)
Discussion started by: tushar.modgil
1 Replies
LEARN ABOUT SUNOS
asadmin-list-mimes
asadmin-list-mimes(1AS) User Commands asadmin-list-mimes(1AS)
NAME
asadmin-list-mimes, list-mimes - gets the MIME types
SYNOPSIS
list-mimes --user admin_user[--password admin_password][--host localhost] [--port 4848][--passwordfile filename][--secure|-s]instance_name
Gets the MIME types associated with the named server instance. The server determines the MIME type of a requested resource by invoking the
type-by-extension directive in the ObjectType section of the obj.conf file. The type-by-extension function does not work if no MIME element
has been defined in the server element.
OPTIONS
--user administrative user associated for the instance.
--password administrative password corresponding to the administrative user.
--host host name of the machine hosting the administrative instance.
--port administrative port number associated with the administrative host.
--passwordfile file containing passwords appropriate for the command (e.g., administrative instance).
--secure if true, uses SSL/TLS to communicate with the administrative instance.
OPERANDS
instance_name name of the instance.
Example 1: Using list-mimes
asadmin> list-mimes --user admin --password adminadmin --host fuyako --port 7070 server1
sampleMIME
Where: sampleMIME is the name of the MIME listed.
EXIT STATUS
0 command executed successfully
1 error in executing the command
INTERFACE EQUIVALENT
HTTP Server node, MIME Type Files page
asadmin-create-mime(1AS), asadmin-delete-mime(1AS)
J2EE 1.4 SDK March 2004 asadmin-list-mimes(1AS)