Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to retrieve fixed upper limit on message size SMTP server [closed]

Tags:

smtp

size

message

I need to know the fixed upper limit on message size SMTP server. For instance, for GMAIL we have 25MB as limit for sending mail.

Can any one please help me with command that I can use. I referred to RFC 1870 for the same.

Thanks and Regards, NehaC

like image 519
user1312132 Avatar asked Apr 04 '12 06:04

user1312132


People also ask

How do I increase attachment size in SMTP?

Open IIS 6.0 Manager, expand your computer's name, scroll down to the SMTP server, right-click it and select “Properties” from the context menu. Click the “Messages” tab and set a maximum message size. Alternatively you could allow any size messages by deselecting the “Limit message size to (KB):” checkbox.

Which command is used for SMTP sender for closing the connection?

QUIT. The QUIT command send the request to terminate the SMTP session. Once the server responses with 221 , the client closes the SMTP connection.

What is the maximum file size Gmail can receive?

You can receive emails of up to 50 MB. Note: To send file attachments larger than 25 MB, use Google Drive or other file-sharing services. You can receive up to 500 attachments per single email.


1 Answers

You can get a guess of this by sending an EHLO message and seeing if the server responds with a SIZE:

$ nc -v aspmx.l.google.com. 25
Connection to aspmx.l.google.com. 25 port [tcp/smtp] succeeded!
220 mx.google.com ESMTP gv4si23346623qab.115
EHLO somehost
250-mx.google.com at your service, [YOUR_IP]
250-SIZE 35882577
250-8BITMIME
250-STARTTLS
250 ENHANCEDSTATUSCODES

In this case, the server reported a limit of 35 MB.

http://cr.yp.to/smtp/size.html

like image 110
A B Avatar answered Sep 29 '22 09:09

A B