2

我正在做phonegap项目。我需要从我的 phonegap 应用程序发送电子邮件。我按照教程进行操作。当我运行应用程序时,我收到上述错误“Uncaught TypeError: Cannot read property 'email' of undefined”。我的科尔多瓦版本是 3.6.3。

<script>
 function exc()
    {

        cordova.plugins.email.open({
            to:      'max@mustermann.de',
            cc:      'erika@mustermann.de',
            bcc:     ['john@doe.com', 'jane@doe.com'],
            subject: 'Greetings',
            body:    'How are you? Nice greetings from Leipzig'
        });
    } 
</script>

你能告诉我可能出了什么问题,我在哪里做错了。

4

0 回答 0