Emailjs and Angular2

588 views
Skip to first unread message

Fabien CHARLES

unread,
Feb 1, 2017, 10:02:36 AM2/1/17
to Email.js Mailing List
Hi, 

my customer want an email client in is Angular2 platform. 

I would like use emailjs-impa-client but I have some error during compilation : 

ERROR in ./~/emailjs-tcp-socket/src/emailjs-tcp-socket.js
Module not found: Error: Can't resolve 'mailjs-tcp-socket-tls' in '...'

in component I call emailjs-imap-client like this :


import { ViewChild, ElementRef, Component } from '@angular/core';
import { environment } from '../environments/environment';

var ImapClient = require ('emailjs-imap-client');

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})
export class AppComponent {
  @ViewChild('inputText')  input : ElementRef;

  title = 'app works!';


Somebody know how can i do ? 


Regards 

Fabien
Reply all
Reply to author
Forward
0 new messages