emailHandling::sendmail Struct Reference

#include <emailHandling.hpp>

List of all members.


struct  Error
struct  get_file_stat
struct  open_file
struct  set_file_stat
struct  write_file

Public Types

enum  user_type { user_is_other, user_is_self }

Public Member Functions

 sendmail ()
 sendmail (const std::string &message, const std::string &to, const std::string &subject="", const std::string &attachment="", const std::string &bcc=email_self)
int send_direct () const
void send_indirect (const std::string &filename, const user_type ut=user_is_other) const

Public Attributes

std::string m
std::string t
std::string s
std::string a
std::string b

Detailed Description

Definition at line 37 of file emailHandling.hpp.

Member Enumeration Documentation


Definition at line 77 of file emailHandling.hpp.

Constructor & Destructor Documentation

Definition at line 45 of file emailHandling.hpp.

emailHandling::sendmail::sendmail ( const std::string &  message,
const std::string &  to,
const std::string &  subject = "",
const std::string &  attachment = "",
const std::string &  bcc = email_self 
) [inline]

Definition at line 48 of file emailHandling.hpp.

Member Function Documentation

int emailHandling::sendmail::send_direct ( ) const [inline]

Definition at line 54 of file emailHandling.hpp.

References a, b, StreamHandling::copy(), L, m, emailHandling::mail_agent, s, and t.

void emailHandling::sendmail::send_indirect ( const std::string &  filename,
const user_type  ut = user_is_other 
) const [inline]

Definition at line 78 of file emailHandling.hpp.

References a, b, m, emailHandling::mail_agent, s, S, t, and user_is_other.

Referenced by CgiHandling::Submission::Submission().

Member Data Documentation

Definition at line 111 of file emailHandling.hpp.

Referenced by send_direct(), and send_indirect().

The documentation for this struct was generated from the following file: