diff --git a/index.php b/index.php index 3b14a8e..960bab7 100644 --- a/index.php +++ b/index.php @@ -1,137 +1,190 @@ . require 'load.php'; +// show an email +$real_email = null; +if( isset( $_GET[ 'email' ] ) && filter_var( $_GET[ 'email' ], FILTER_VALIDATE_EMAIL ) ) { + $email = $_GET[ 'email' ]; + $real_email = $email; +} else { + $email = __( "your.name@example.com" ); +} + header( 'Content-Type: text/html; charset=' . CHARSET ); ?> <?php _e("E-mail server parameters") ?> — <?php echo SITE_NAME ?> + + + + -

+

+

+ +

+

Roundcube', + http_build_get_query( 'https://roundcube.reyboz.it/', [ + '_user' => $real_email, + ] ) + ) ) ?>

-

+

+

+ +

()

- + + + + + + + + + + + +
mail.reyboz.it
993
(← )
()
+ +

+ + + + + + + + + + + + + - +
mail.reyboz.it
995
()
-

+

- + - +
mail.reyboz.it
you@example.it (← write your e-mail address there)
465
() +
Authentication
-

+

MX record pointing to %s."), "mail.reyboz.it" ) ?>

SPF record with \"%s\" in order to avoid spammers to use your domain as sender."), "v=spf1 mx -all" ) ?>

%s', $title, $what ); }