source: TI03-DataExtractor/branches/old_stuff/abstractPWSS/doc/mailUser.html @ 793

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI03-DataExtractor/branches/old_stuff/abstractPWSS/doc/mailUser.html@793
Revision 793, 3.7 KB checked in by astephen, 13 years ago (diff)

Put all the old code in the old_stuff branch.

Line 
1
2<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
3<html><head><title>Python: module mailUser</title>
4</head><body bgcolor="#f0f0f8">
5
6<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
7<tr bgcolor="#7799ee">
8<td valign=bottom>&nbsp;<br>
9<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>mailUser</strong></big></big></font></td
10><td align=right valign=bottom
11><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/as56/abstractWebService/abstractPWSS/mailUser.py">/home/as56/abstractWebService/abstractPWSS/mailUser.py</a></font></td></tr></table>
12    <p><tt>mailUser.py<br>
13===========<br>
14&nbsp;<br>
15Holds&nbsp;the&nbsp;<a href="#MailUser">MailUser</a>&nbsp;class&nbsp;used&nbsp;to&nbsp;contact&nbsp;the&nbsp;user&nbsp;via&nbsp;e-mail&nbsp;to<br>
16inform&nbsp;them&nbsp;of&nbsp;an&nbsp;event.</tt></p>
17<p>
18<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
19<tr bgcolor="#aa55cc">
20<td colspan=3 valign=bottom>&nbsp;<br>
21<font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
22   
23<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
24<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="smtplib.html">smtplib</a><br>
25</td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
26<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
27<tr bgcolor="#ee77aa">
28<td colspan=3 valign=bottom>&nbsp;<br>
29<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
30   
31<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
32<td width="100%"><dl>
33<dt><font face="helvetica, arial"><a href="mailUser.html#MailUser">MailUser</a>
34</font></dt></dl>
35 <p>
36<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
37<tr bgcolor="#ffc8d8">
38<td colspan=3 valign=bottom>&nbsp;<br>
39<font color="#000000" face="helvetica, arial"><a name="MailUser">class <strong>MailUser</strong></a></font></td></tr>
40   
41<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
42<td colspan=2><tt><a href="#MailUser">MailUser</a>&nbsp;class&nbsp;-&nbsp;sets&nbsp;up&nbsp;a&nbsp;mail&nbsp;message&nbsp;and&nbsp;sends.<br>&nbsp;</tt></td></tr>
43<tr><td>&nbsp;</td>
44<td width="100%">Methods defined here:<br>
45<dl><dt><a name="MailUser-__init__"><strong>__init__</strong></a>(self, userEmail, subject)</dt><dd><tt>__init__&nbsp;method&nbsp;-&nbsp;takes&nbsp;the&nbsp;recipients&nbsp;e-mail&nbsp;address&nbsp;and&nbsp;mail&nbsp;subject<br>
46as&nbsp;arguments&nbsp;and&nbsp;then&nbsp;sets&nbsp;up&nbsp;the&nbsp;instance&nbsp;variables&nbsp;to&nbsp;be&nbsp;used&nbsp;by&nbsp;the<br>
47sendMail&nbsp;method.</tt></dd></dl>
48
49<dl><dt><a name="MailUser-sendMail"><strong>sendMail</strong></a>(self, message)</dt><dd><tt>sendMail&nbsp;method&nbsp;-&nbsp;takes&nbsp;the&nbsp;message&nbsp;content,&nbsp;compiles&nbsp;the&nbsp;full&nbsp;message<br>
50and&nbsp;mails&nbsp;to&nbsp;user.</tt></dd></dl>
51
52</td></tr></table></td></tr></table><p>
53<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
54<tr bgcolor="#55aa55">
55<td colspan=3 valign=bottom>&nbsp;<br>
56<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
57   
58<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
59<td width="100%"><strong>ADMIN_MAIL_ADDRESS</strong> = 'as56@localhost'<br>
60<strong>LOCAL_MAIL_HOST</strong> = 'localhost'<br>
61<strong>PACKAGE_NAME</strong> = 'Abstract Python Web Service Server'</td></tr></table>
62</body></html>
Note: See TracBrowser for help on using the repository browser.