I
I
ILoveYAnny2019-02-15 16:07:16
Yandex
ILoveYAnny, 2019-02-15 16:07:16

Is it possible to send 35 MB files via the API to Yandex.Mail for Domain?

Hello, I'm using PHP Mailer and I want to send a file. However, I am getting a Too Big error. Are there ways to solve this problem? So that the mb file from Yandex Disk is loaded, but I want it to be an attachment, not a link.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Dubrovin, 2019-02-15
@z3apa3a

>telnet smtp.yandex.ru 25
Trying 93.158.134.38...
Connected to smtp.yandex.ru.
Escape character is '^]'.
220 smtp3p.mail.yandex.net ESMTP (Want to use Yandex.Mail for your domain? Visit http://pdd.yandex.ru)
ehlo me
250-smtp3p.mail.yandex.net
250-8BITMIME
250-PIPELINING
250-SIZE 42991616
250-STARTTLS
250-AUTH LOGIN PLAIN XOAUTH2
250-DSN
250 ENHANCEDSTATUSCODES

250-SIZE 42991616 The
maximum message size in Yandex is 42991616 octets, taking into account the fact that in base64 the size increases by more than 34%, this allows letters with attachments no more than ~ 32MB to pass, a larger file can only be sent as a link. Most likely, the web interface has the ability to show such links as attachments with a special letter markup. If you are interested in displaying a large file from the cloud as an attachment in the Yandex interface, send an email with a large file and see how exactly such a link is embedded in the email so that the link is shown as an attachment.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question