Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
e10939a4
Commit
e10939a4
authored
Feb 10, 2014
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adjusted wording.
parent
5fe47471
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
contact.php
apps/basic/views/site/contact.php
+10
-3
No files found.
apps/basic/views/site/contact.php
View file @
e10939a4
...
@@ -18,11 +18,18 @@ $this->params['breadcrumbs'][] = $this->title;
...
@@ -18,11 +18,18 @@ $this->params['breadcrumbs'][] = $this->title;
<div
class=
"alert alert-success"
>
<div
class=
"alert alert-success"
>
Thank you for contacting us. We will respond to you as soon as possible.
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
)
:
?>
<?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
;
?>
<?php
endif
;
?>
You can also view message in debug module on mail panel.
</p>
</div>
<?php
else
:
?>
<?php
else
:
?>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment