Pessoal,
Não sei se já aconteceu com vocês…
Tenho que enviar um arquivo por e-mail. Só que o cliente utiliza no nome do arquivo ponto e vírgula…
ex.: 5137121071;5137122528.pdf
Só que ao utilizar a macro sc_mail_send retorna o erro:
é como se o ponto vírgula fosse utilizado como separador…
Fatal error: Uncaught Swift_IoException: Unable to open file for reading [C:\xampp\htdocs\euroweb\impor_tmp*29112019110427\5137121071*] in C:\Program Files\NetMake\v9\wwwroot\scriptcase\prod\third\swift\classes\Swift\ByteStream\FileByteStream.php:143 Stack trace: #0 C:\Program Files\NetMake\v9\wwwroot\scriptcase\prod\third\swift\classes\Swift\ByteStream\FileByteStream.php(84): Swift_ByteStream_FileByteStream->_getReadHandle() #1 C:\Program Files\NetMake\v9\wwwroot\scriptcase\prod\third\swift\classes\Swift\Mime\ContentEncoder\Base64ContentEncoder.php(43): Swift_ByteStream_FileByteStream->read(8192) #2 C:\Program Files\NetMake\v9\wwwroot\scriptcase\prod\third\swift\classes\Swift\Mime\SimpleMimeEntity.php(547): Swift_Mime_ContentEncoder_Base64ContentEncoder->encodeByteStream(Object(Swift_ByteStream_FileByteStream), Object(Swift_Transport_StreamBuffer), 0, 76) #3 C:\Program Files\NetMake\v9\wwwroot\scriptcase\prod\third\swift\classes\Swift\Mime\SimpleMimeEntity.php(522): Swift_Mime_SimpleMimeEntity->_bodyToByteStream(Object(Sw in C:\Program Files\NetMake\v9\wwwroot\scriptcase\prod\third\swift\classes\Swift\ByteStream\FileByteStream.php on line 143