i im a little lost here i do everything but when i click on send nothing happends. i add a console log b ut is not working either. someone can guide me?
this is my code
Product Name <ion-item>
<ion-label floating>Name</ion-label>
<ion-input type="text" name="name" [(ngModel)]="name" required="required" minlength="4" ></ion-input>
</ion-item>
<ion-item>
<ion-label floating>Phone</ion-label>
<ion-input type="number" name="phoneNumber" [(ngModel)]="phoneNumber" required="required" minlength="10" ></ion-input>
</ion-item>
<ion-item>
<ion-label floating>Place</ion-label>
<ion-input type="text" name="place" [(ngModel)]="place" required="" minlength="3" ></ion-input>
</ion-item>
<ion-item>
<ion-label floating>Quantity</ion-label>
<ion-input type="number" name="quantity" [(ngModel)]="quantity" required="" ></ion-input>
</ion-item>
<button type="submit" ion-button round [disabled]="form.invalid" >Send Enquiry</button>
</ion-list>
sendEmail(productName, name, phone, place, quantity) {
alert(‘senemail enter’);
let email = {
to: 'pbalza@acumar.gov.ar',
cc: 'sales@rajamane.in',
bcc: ['avijith.naik@datakue.com', ''],
attachments: [],
subject: 'Product Enquiry',
body: '<p>Product Name: ' + productName + "</p>" +
'<p>Name: ' + name + '</p>' +
'<p>Phone Number: ' + phone + '</p>' +
'<p>Place: ' + place + '</p>' +
'<p>Quantity: ' + quantity + '</p>',
isHtml: true
};
this.emailComposer.open(email);
}
thnkx