Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SMTP] Mail with Cyrillic symbols. Expected response code "354" but got code "250", with message "250". #269

Open
gam6itko opened this issue Jan 27, 2025 · 0 comments

Comments

@gam6itko
Copy link

gam6itko commented Jan 27, 2025

If I send about 10 mails with certain template then I will get error Expected response code "354" but got code "250", with message "250".

<extends:sendit:builder subject="Ваш сервис получил отзыв"/>
<use:bundle path="sendit:bundle"/>

<block:html>
    <p>съешь же ещё этих мягких французских булок, да выпей чаю</p>
    <p>съешь же ещё этих мягких французских булок, да выпей чаю</p>
    <p>съешь же ещё этих мягких французских булок, да выпей чаю</p>
    <p>съешь же ещё этих мягких французских булок, да выпей чаю</p>
    <p>съешь же ещё этих мягких французских булок, да выпей чаю</p>
</block:html>

If you remove half of <p>...</p> then error will not occur.
I suspect that the error is related to the number of Cyrillic characters in a mail.

Here I have code with bug reproduction: gam6itko/spiral-app-sandbox@53714f4

@gam6itko gam6itko changed the title [SMTP] Expected response code "354" but got code "250", with message "250". [SMTP] Mail with Cyrillic symbols. Expected response code "354" but got code "250", with message "250". Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant