As always here is the place where I have learned a lot. And I have now a new things to learn:
I have a html form:
F 3条回答 甜味超标 (楼主) 2020-12-31 06:44 Another way to do this, using only a single variable for path and filename is: $message->attach(Swift_Attachment::fromPath('full-path-with-attachment-name')); 0 讨论(0) 查看其它3个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
Another way to do this, using only a single variable for path and filename is:
$message->attach(Swift_Attachment::fromPath('full-path-with-attachment-name'));