NAWA 0.9
Web Application Framework for C++
emailtest.cpp File Reference

Tests for SmtpMailer. Replace the email addresses and login data with existing ones to test. More...

#include <ctime>
#include <iomanip>
#include <nawa/Exception.h>
#include <nawa/application.h>
#include <nawa/mail/Email/impl/MimeEmail.h>
#include <nawa/mail/Email/impl/SimpleEmail.h>
#include <nawa/mail/SmtpMailer.h>
#include <nawa/util/encoding.h>
#include <nawa/util/utils.h>

Go to the source code of this file.

Functions

int init (AppInit &appInit)
 
int handleRequest (Connection &connection)
 

Detailed Description

Tests for SmtpMailer. Replace the email addresses and login data with existing ones to test.

Definition in file emailtest.cpp.

Function Documentation

◆ init()

int init ( AppInit appInit)

Definition at line 38 of file emailtest.cpp.

◆ handleRequest()

int handleRequest ( Connection connection)

Definition at line 42 of file emailtest.cpp.