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

Attachments in default mail client Mac OS #21

Open
technobulka opened this issue Apr 3, 2017 · 2 comments
Open

Attachments in default mail client Mac OS #21

technobulka opened this issue Apr 3, 2017 · 2 comments
Assignees

Comments

@technobulka
Copy link

technobulka commented Apr 3, 2017

Sending email with attachments:

$send = SimpleMail::make()
    ->setTo($email_to, "")
    ->setFrom($email_form, "")
    ->setSubject("Test attachments")
    ->setMessage("Text")
    ->setHtml()
    ->setWrap(80)
    ->addAttachment('1.png')
    ->addAttachment('2.png')
    ->send();

Open in "Mail" and see this:

This is a multi-part message in MIME format. --ab6e7f92212c31cf6e8a62f3505b117e Content-type:text/html; charset="utf-8" Content-Transfer-Encoding: 7bit 
Text
--ab6e7f92212c31cf6e8a62f3505b117e Content-Type: application/octet-stream; name="1.png" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="1.png" iVBORw0KGgoAAAANSUhE...
--ab6e7f92212c31cf6e8a62f3505b117e Content-Type: application/octet-stream; name="2.png" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="2.png" JVBERi0xLjMK...
--ab6e7f92212c31cf6e8a62f3505b117e--

Tested in other programs and problems did not arise.

@eoghanobrien
Copy link
Owner

Hi, thanks for reporting this, which version of macOS are you using?

@eoghanobrien eoghanobrien self-assigned this Apr 3, 2017
@technobulka
Copy link
Author

OS - 10.10.5
Mail - 8.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants