We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have use function attachContent to attach pdf content. And got Data too long for column. Database: MySql
$cmd = Yii::$app->mailer->compose()->setFrom()->setTo()->setSubject(); $cmd->attachContent($attachContent,["fileName"=>"name.pdf"]); $cmd->queue();
SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'swift_message' at row 1
For workaround I have change the column swift_message from text to long text.
The text was updated successfully, but these errors were encountered:
@wisaruthk glad you got is solved. Long text can contain up to 4GB of data. Can't imagine a better solution right now.
Sorry, something went wrong.
Fixed with pull request #37
No branches or pull requests
I have use function attachContent to attach pdf content. And got Data too long for column.
Database: MySql
SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'swift_message' at row 1
For workaround I have change the column swift_message from text to long text.
The text was updated successfully, but these errors were encountered: