Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 229726

emailComposer doesn't work

$
0
0

Emailcomposer does not work.
When I click the button that calls the function the only thing that is the log console. What am I doing wrong ?

can you help me ?
Thank you

import { EmailComposer } from '@ionic-native/email-composer';

  constructor(private emailComposer: EmailComposer) {

}

 InviaMail() {
    console.log("click invio")

    this.emailComposer.isAvailable().then(() => {
      let email = {
        to: '',
        cc: '',
        bcc: [''],
        subject: 'Cordova Icons',
        body: 'How are you? Nice greetings from Leipzig',
        isHtml: false
      };
      this.emailComposer.open(email);
    }, (err) => {
      console.log(err);
    });


  }

Viewing all articles
Browse latest Browse all 229726

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>