Browse Source

adjusted wording.

tags/2.0.0-beta
Qiang Xue 11 years ago
parent
commit
e10939a464
  1. 13
      apps/basic/views/site/contact.php

13
apps/basic/views/site/contact.php

@ -18,11 +18,18 @@ $this->params['breadcrumbs'][] = $this->title;
<div class="alert alert-success">
Thank you for contacting us. We will respond to you as soon as possible.
</div>
<p>
Note that if you turn on the Yii debugger, you should be able
to view the mail message on the mail panel of the debugger.
<?php if (Yii::$app->mail->useFileTransport): ?>
Application is in debug mode, message was logged under <code><?= Yii::getAlias(Yii::$app->mail->fileTransportPath); ?> </code>.
Because the application is in development mode, the email is not sent but saved as
a file under <code><?= Yii::getAlias(Yii::$app->mail->fileTransportPath); ?></code>.
Please configure the <code>useFileTransport</code> property of the <code>mail</code>
application component to be false to enable email sending.
<?php endif; ?>
You can also view message in debug module on mail panel.
</div>
</p>
<?php else: ?>

Loading…
Cancel
Save