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

MsgHTML() does not recreate AltBody #28

Closed
Synchro opened this issue Feb 28, 2013 · 0 comments
Closed

MsgHTML() does not recreate AltBody #28

Synchro opened this issue Feb 28, 2013 · 0 comments
Labels

Comments

@Synchro
Copy link
Member

Synchro commented Feb 28, 2013

MsgHTML() always overwrites the value of Body, but if AltBody has already been set to a non-empty value, it's left untouched. This doesn't make sense when AltBody is populated by MsgHTML if it is initially empty, meaning that subsequent calls to MsgHTML will change Body but not AltBody. This is probably unexpected if you're creating and sending messages in a loop. If you want AltBody to be kept, it's simple to set it after calling MsgHTML, or simply don't use MsgHTML in the first place. The whole point of MsgHTML is to make message setup simpler, so it should overwrite AltBody every time.

This issue was originally reported on sourceforge by Thilo Muller.

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

No branches or pull requests

1 participant