Angular,按钮按下启动电子邮件应用

发布于 2025-02-10 18:17:03 字数 133 浏览 1 评论 0原文

假设我在电子邮件中发送验证代码,并且在按下我只想在电话上打开电子邮件应用程序时有一个按钮“检查邮件”,请直接

编辑:如果您有任何建议,请尝试使用Cordova-App-App-App-App-App-App-App-App-nunch插件

Suppose I send a verification code on email and I have a button "check mail" On pressing that I want to just open the email app on the phone directly

edit: trying cordova-app-alunch plugin for it, if you have any suggestions

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

苍暮颜 2025-02-17 18:17:03

这可能会有所帮助

您也可以打开新邮件并提供预选信息

let email = {
      to: '[email protected]',
      cc: '[email protected]',
      bcc: ['[email protected]', '[email protected]'],
      attachments: [
        'file://img/logo.png',
        'res://icon.png',
        'base64:icon.png//iVBORw0KGgoAAAANSUhEUg...',
        'file://README.pdf'
      ],
      subject: 'Cordova Icons',
      body: 'How are you? Nice greetings from Leipzig',
      isHtml: true
    }

在以下方面,您可以打开并使用按钮的一个按下来附加以下内容

// Send a text message using default options
this.emailComposer.open(email);

this might help

you can also open new mail and give pre selected info

let email = {
      to: '[email protected]',
      cc: '[email protected]',
      bcc: ['[email protected]', '[email protected]'],
      attachments: [
        'file://img/logo.png',
        'res://icon.png',
        'base64:icon.png//iVBORw0KGgoAAAANSUhEUg...',
        'file://README.pdf'
      ],
      subject: 'Cordova Icons',
      body: 'How are you? Nice greetings from Leipzig',
      isHtml: true
    }

with following you can open and attach the following with one press of a button

// Send a text message using default options
this.emailComposer.open(email);

最丧也最甜 2025-02-17 18:17:03

您可以使用发送邮件是一个节点软件包。

You can use send mail is an node package.

别念他 2025-02-17 18:17:03

您可以使用它,如果登录,它可以导航到Gmail。

mailto:[email protected]

you can use it, it navigate to Gmail if logged in.

mailto:[email protected]
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文