Maximum size of attachment in mail


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Maximum size of attachment in mail
# 1  
Old 02-04-2014
Oracle Maximum size of attachment in mail

Hi Friends,

My requirment is to Query the oracle database , generate the file change the extension to .csv and send to clients automatically everyday.

However i am able to perform the task. But sometimes when the file size is getting increased more than 1 MB then the mail is sending with blank attachment. (While called through CRON).

The same thing i have replicated manually but it sent the 2 MB attachment without any issue.

Can anyone please suggest me what is the way to check what is the maximum size of the attachment that can be send using send mail or where is the configuration file for the same.

Thanks In advance.
Smilie
# 2  
Old 02-05-2014
zip it?
# 3  
Old 02-05-2014
Your own MTA or some other mail server further down the chain may put limits on message size.
# 4  
Old 02-06-2014
@DGPickett,

The size is 2 MB after zipping.

@Corona688,
When i am manually running the shell that time its working fine but when getting called through CRON then its not able to send 2 mb attachment.
Both sender and receiver mail id are in the same domain.

Thanks
# 5  
Old 02-06-2014
Please show your code.
# 6  
Old 02-25-2014
The MTA locally is a daemon process, often 'sendmail -bd' (mnemonic: sendmail Becoime a Daemon), that accepts connections and stores or forwards mail. It generally has no intrinsic limit, but some mail servers and services do to stifle abuse. Configuring sendmail is one of the thicker o'reilly books. Generaly, the MTA is listening on port 25 or is fired by inet for that port.

IF you are internet exposed, you can make the content available on a obscure URL and send a link. Then there are stronger compressors: compress is weaker than zip and gzip, and the latter two are the same zlib family. bzip2 is stronger, and then there is RAR and 7zip and .... Even when sending a URL, serving compressed content is nicer.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Maximum buffer size for read()

Hi friends, Hope everybody is fine. First have a look at my code, then we will talk about it. $ cat copy.c #include <stdio.h> #define PERMS 0644 /* RW for owner, R for group, others */ #define BUFSIZE 1 char *progname; int main(int argc,char * argv) { int f1, f2, n; ... (4 Replies)
Discussion started by: gabam
4 Replies

2. UNIX for Advanced & Expert Users

How to identify maximum stack size?

Hi All, I have set max stack size as 4KB for my thread, but it always using very less. So I like to know what is the maximum stack size is used by my thread. I tried with gcc -fstack-usage command line option, but its not supported by mips. Kindly suggest me the way to find the max stack... (6 Replies)
Discussion started by: rajamohan
6 Replies

3. UNIX for Dummies Questions & Answers

How to send html file in a mail not as an attachment but it should display in the mail in table for

Hi The below script working when we are sending the html as attachment can u please guide how to send thesmae data in table form direct in the mail and not in mail attachment . cat Employee.sql SET VERIFY OFF SET PAGESIZE 200 SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON - HEAD... (0 Replies)
Discussion started by: mani_isha
0 Replies

4. UNIX for Dummies Questions & Answers

Maximum file size ????

Hi All, - block size of 512KB & every address requires 4 bits - The inode structure contains 10 direct pointers, 1 single indirect, 1 double indirect & 1 triple indirect pointer What could be the possible maximum file size for this system Any guess? I am unable to understand the question... (0 Replies)
Discussion started by: preethgideon
0 Replies

5. UNIX for Advanced & Expert Users

mailx commannd - Mail and Attachment in same mail

Hi , I am using mailx command for sending the mails. Rightnow I am sending the attachment (by using uuencode $filename) as a seperate mail.I wanna send the attachment also with the same mail. (6 Replies)
Discussion started by: sharif
6 Replies

6. UNIX for Dummies Questions & Answers

maximum tar file size?

Is there a reasonable maximum limit for tar file sizes? I want to transfer a pile of files from one server to another but have restricted means, so tarring them first will probably be best... but how big can I go - both for the file format itself and for the operating system (linux) to handle? ... (7 Replies)
Discussion started by: Bobby
7 Replies

7. UNIX for Dummies Questions & Answers

Maximum size of a file in unix

What's the maximum file size supported by unix. (3 Replies)
Discussion started by: nagalenoj
3 Replies

8. HP-UX

Mailx Maximum attachment size

Hi friends, what is the maximum allowable attachment size, we can send using mailx command. what is an alternate option if my file is > than that size? thanks sreeji (0 Replies)
Discussion started by: sreejithau
0 Replies

9. Programming

Maximum File Size

Hi, When i checked for the maximum file size on solaris 5.9 the max file size obtained was only 2147483647 and all the further writes to the file which had reached that max size is not added to that file. even i had registered the signal SIGXFSZ, but the signal was not delivered to the... (5 Replies)
Discussion started by: matrixmadhan
5 Replies

10. UNIX for Dummies Questions & Answers

Maximum size of sed file...

The sed -f option (reading sed commands from a file) seems to have a limit of 200 transactions per file. I can't see anything in the man pages about this restriction. I have a file with several thousand sed commands I need to perform (substitutions) - and while I can split the file into... (14 Replies)
Discussion started by: peter.herlihy
14 Replies
Login or Register to Ask a Question