Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Ben Ramsey
@ramsey@phpc.social  ·  activity timestamp 2 weeks ago

@mwop @ocramius @heiglandreas I *think* I’ve used this in the past. I remember parsing MIME messages a few years ago, but I can’t remember what for, and I can’t recall the exact library I used. This might be it.

https://github.com/zbateson/mail-mime-parser

  • Copy link
  • Flag this post
  • Block
Alerta! Alerta!
@heiglandreas@phpc.social replied  ·  activity timestamp 2 weeks ago

@ramsey THanks! Great pointer!

😕 Some dependencies though that are not really required for my use-case...

But I'll give it a whirl!

/cc @mwop @ocramius

  • Copy link
  • Flag this comment
  • Block
Ben Ramsey
@ramsey@phpc.social replied  ·  activity timestamp 2 weeks ago

@heiglandreas @mwop @ocramius Very odd that guzzlehttp/psr7 and php-di/php-di are required. If anything, I would expect these to be development dependencies and maybe only psr/http-message as a production dependency.

  • Copy link
  • Flag this comment
  • Block
Alex Rock
@pierstoval@mastodon.social replied  ·  activity timestamp 2 weeks ago

@ramsey @heiglandreas @mwop @ocramius I'm sure that if some symfony core team member has to parse email one day, they'll come here and add it to symfony/mime by extracting some stuff from all these packages 🤣

  • Copy link
  • Flag this comment
  • Block
Ben Ramsey
@ramsey@phpc.social replied  ·  activity timestamp 2 weeks ago

@pierstoval @heiglandreas @mwop @ocramius Parsing email messages is not something I expect most folks using #Symfony need, so it’s not likely it’ll get added to their packages, especially since they've gone this long without it.

  • Copy link
  • Flag this comment
  • Block
Ben Ramsey
@ramsey@phpc.social replied  ·  activity timestamp 2 weeks ago

@mwop @ocramius @heiglandreas Actually, on second thought, I think I used the zetacomponents library that @derickr linked to.

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.8 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login