-
Notifications
You must be signed in to change notification settings - Fork 38
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
Multi sending #75
Comments
You have to be more specific, the Email package isn't written by me, I don't know all ins and outs... ;) As to 3: I don't think the package should force the use of a view for the email body, which means attachments should still work if you pass a string to |
I don't focus on u. I analise mail libs and write my version.
it's next step after this example :) Current parser use very easy algorithm(ex: rewrite code added in pre/code tags) and can't be disabled in config/method.
I'm not understood you |
You move code / functionality from the email classes to a View class extension. That creates a dependency, and it breaks existing code that calls |
where u find moved code / functionality?
Nope, class have You have any ideas how adds multi sending and don't break anything? |
Ok, lets call it duplicating code then. Like attach_inline(), which should be inside the email classes.
You misunderstood me, inline images should still work for code NOT using a View based solution. Like all existing code already out there... Which means the existing code should be fixed, not worked around. |
i add this wrapper because current "attach" methods not returns cid and this solution dont breaks existing code.
I dont have other ideas, replacing in string is worse solution |
Example:
Code like this throw error or work slow because multi sending not supported.
Rework:
body
/alt_body
typed inEmail_Driver::send()
, not in settersEmail_Driver::before_send()
called inEmail_Driver::send()
init properties only onceAlso:
email/classes/email/driver.php
Line 233 in 5d09652
'second/img.jpg' rewrite 'firtst/img.jpg'
Email\View_Body
would solve it:The text was updated successfully, but these errors were encountered: