Why should an app NOT contain an SMTP username and password to send emails?

  1. Android blocks all SMTP
  2. Emails cannot have subjects
  3. They can be extracted from the APK and misused
  4. SMTP is slower than SMS
Answer

C) They can be extracted from the APK and misused

Secrets in apps can be reverse engineered; use a backend server instead.

Computer Science MCQ · More Messaging: SMS and Email MCQs · Practise