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

A simple contact form application using nawa. More...

#include <nawa/Exception.h>
#include <nawa/application.h>
#include <nawa/logging/Log.h>
#include <nawa/mail/Email/impl/SimpleEmail.h>
#include <nawa/mail/SmtpMailer.h>
#include <nawa/util/encoding.h>
#include <random>

Go to the source code of this file.

Functions

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

Detailed Description

A simple contact form application using nawa.

Definition in file contactform.cpp.

Function Documentation

◆ init()

int init ( AppInit appInit)

Definition at line 40 of file contactform.cpp.

◆ handleRequest()

int handleRequest ( Connection connection)

Definition at line 47 of file contactform.cpp.