1 |
dpavlin |
1.1 |
#!/usr/local/bin/perl |
2 |
|
|
|
3 |
|
|
# SMTP server address |
4 |
|
|
$SMTPserver = "<your smtp server>"; |
5 |
|
|
|
6 |
|
|
# using SMTP VRFY ? (disable this if you get problems on new mails) |
7 |
|
|
$verifysmtp=1; |
8 |
|
|
|
9 |
|
|
# PATHS |
10 |
|
|
$PATH_NSWM="/nswm"; |
11 |
|
|
$CGI_PATH_NSWM="/nswm/cgi-bin/"; |
12 |
|
|
|
13 |
|
|
$MAIL_IMG="/nswm/mail.gif"; |
14 |
|
|
|
15 |
|
|
$LOG_PATH=$APP_PATH."log/"; |
16 |
|
|
|
17 |
|
|
# Language locales |
18 |
|
|
|
19 |
|
|
$incorrectlogin=" server name, user name, or password are incorrect."; |
20 |
|
|
$messagesent="Your message has been sent"; |
21 |
|
|
$smtphostunkown="hostname unknown."; |
22 |
|
|
$createsocketfailed="Create socket failed"; |
23 |
|
|
$connectionfailed="Connection failed"; |
24 |
|
|
$servicena="Service non available"; |
25 |
|
|
$commerror="Communication error"; |
26 |
|
|
$userunkown="User unknown"; |
27 |
|
|
$transfailed="Message transmission failed."; |
28 |
|
|
$notofield="Field 'To' empty !"; |
29 |
|
|
$errorunkown="Unknown error"; |
30 |
|
|
$nomailon="No mail on"; |
31 |
|
|
$messagesininbox="message(s) in your inbox"; |
32 |
|
|
$deletetext="Delete"; |
33 |
|
|
$deleteconfirmtext="Are you sure you want to delete this message ?"; |
34 |
|
|
$multipartmessage="[ This messages has one or more attachments. Only the text attachment is displayed ]"; |
35 |
|
|
$answertext="Answer"; |
36 |
|
|
$fwdtext="Forward"; |
37 |
|
|
$sendtext="Send"; |
38 |
|
|
|
39 |
|
|
$totext="To"; |
40 |
|
|
$fromtext="From"; |
41 |
|
|
$subjecttext="Subject"; |
42 |
|
|
$datetext="Date"; |
43 |
|
|
$messagetext="Message"; |
44 |
|
|
|
45 |
|
|
return 1; |