Skip to content

SendEmail(IEmailMessage) doesn't work #112

@scastria

Description

@scastria

There are 2 ways to send an email:

SendEmail(IEmailMessage)
SendEmail(string,string,string)

The second option is NO GOOD if you need to specify a CC recipient. Therefore, I MUST use the first option.

The first option IS COMPLETELY BROKEN!! The concrete EmailMessage class that implements the IEmailMessage is marked INTERNAL. Therefore, the only way to use the first option is to write my own class that implements IEmailMessage. That WILL NOT WORK either since the Android implementation of EmailTask tries to cast the IEmailMessage argument as the internal EmailMessage class to check for isHtml. Of course, my class cannot be cast as the internal EmailMessage because it is INTERNAL.

Either make the internal EmailMessage public OR modify the IEmailMessage interface so that it includes isHtml so that the Android implementation does NOT have to cast the argument as the concrete EmailMessage class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions