当用户第一次登录应用程序时,需要更多帮助来发送欢迎电子邮件

时间:2017-03-03 07:13:12

标签: android email

请告诉我在哪里需要提及以下代码。我很困惑和学习,所以你能帮我一步一步吗?

// set credentials 
Sendgrid mail = new Sendgrid("<sendgrid_username>","<sendgrid_password>"); 
// set email data
mail.setTo("foo@bar.com").setFrom("me@bar.com").setSubject("‌​Subject goes here").setText("Hello World!").setHtml("<strong>Hello World!</strong>"); 
// send your message mail.send();

0 个答案:

没有答案
相关问题