Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- write_command("MAIL FROM: <foo@bar.de>");
- write_command("RCPT TO: <foo@bar.de>");
- Smtp smtp_client = Smtp();
- smtp_client.new_connection("smtp.mailtrap.io", 25);
- smtp_client.auth_login("username", "password");
- smtp_client.sendmail();
- smtp_client.close_connection();
Add Comment
Please, Sign In to add comment