From c3213038a116b102a16ac6c2137fb812dc3e09bf Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 17 Mar 2007 15:42:08 +0000 Subject: [PATCH] r1467: Adding a mailtest script for people who are having problems receiving emails in Bugdar. --- docs/mailtest.php | 125 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 125 insertions(+) create mode 100644 docs/mailtest.php diff --git a/docs/mailtest.php b/docs/mailtest.php new file mode 100644 index 0000000..8efbbdd --- /dev/null +++ b/docs/mailtest.php @@ -0,0 +1,125 @@ + + + + + + Bugdar: Mail Test + + + +

Mail Test

+

This tool will run a few email tests to make sure that emailing works. Follow the instructions below.

+ +
+ +in['__submit__'])) +{ +?> + +

Email Addresses

+

Enter in the following email addresses for sending and receiving.

+ +
+

Email address to receieve all tests:

+

An email address that exists on the mail server that is not the one receiving the tests:

+

+
+ +setFromName('Bugdar Mailing Test'); + $mail->setSubject('Email Tests'); + + // normal Bugdar mailing + $mail->setBodyText(sprintf($text, 1, 'sending with the Bugdar-configured address')); + $mail->send($bugsys->in['receive']); + + // mail from the alternate address + $mail->setBodyText(sprintf($text, 2, 'sending from the address you specified that exists on the mail server')); + $mail->setFromAddress($bugsys->in['sender']); + $mail->send($bugsys->in['receive']); + + // mail from self + $mail->setBodyText(sprintf($text, 3, 'sending from the receiving address')); + $mail->setFromAddress($bugsys->in['receive']); + $mail->send($bugsys->in['receive']); + + // mail from non-existent + $mail->setBodyText(sprintf($text, 4, 'sending from a non-existent address')); + $mail->setFromAddress('bugdar-mail-test@bluestatic.org'); + $mail->send($bugsys->in['receive']); + +?> + +

Complete

+

All the test emails were sent to in['receive'] ?>. Please check that you received all 4 tests.

+ + + +
+ +

Variables

+

+

PHP:
+
Mail Test: $Revision$
+
Sendmail (From): ""
+
Sendmail (Path): ""
+

+ + + + \ No newline at end of file -- 2.43.5