Skip to content
This repository has been archived by the owner on Dec 22, 2019. It is now read-only.

attachData Function #83

Open
jimping opened this issue Oct 28, 2016 · 3 comments
Open

attachData Function #83

jimping opened this issue Oct 28, 2016 · 3 comments

Comments

@jimping
Copy link

jimping commented Oct 28, 2016

Would be great to implement the "attachData" function.

@Bogardo
Copy link
Owner

Bogardo commented Nov 13, 2016

@Jonnyxe Are you referring to 'Attaching Data to Messages' as mentioned in the API docs?
If so, you can use the data($key, $value) method.

@jimping
Copy link
Author

jimping commented Nov 13, 2016

No, I want to attach a PDF file I saved as a string in the database. The standard mail class in Laravel supports a function to attach a file presented as a string - the attachData function. It would be very great if I could use this function with your mailgun class, too! :)

@Bogardo
Copy link
Owner

Bogardo commented Nov 13, 2016

This package relies on the mailgun-php library and unfortunately that library doesn't support this.
You could request this feature there, once it has been added by them it's a minor tweak on my end to add support for it in this package.

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

No branches or pull requests

2 participants