Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invitation mail #337

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Invitation mail #337

wants to merge 4 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Mar 19, 2019

No description provided.

xiaoyaoxiangyun added 4 commits March 9, 2019 15:43
@ghost
Copy link
Author

ghost commented Mar 19, 2019

将收费确认和邀请函合成为一个邮件
(无视前两个commit,那个是上次直接在我的master分支上改的QAQ后两个commit已经把它覆盖掉了)

$this->send_mail($mail, $subject, $message);
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

奇怪的空格要删掉

$this->email->send_fee_received_mail($mail, $data['school'], $data['bill']);
$association_name = $query['association_name'];
$this->email->send_fee_received_and_invitation_mail($mail, $data['school'], $data['bill'], $association_name);

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

空行删掉

$id = $this->ci->user->get_id($mail);
$id_message='<br><br>贵高校本次比赛的ID是<b>' . $id . '</b>,请领队同学务必牢记,并在比赛签到时出示。<br><br>祝好!<br><br>北京大学自行车协会';
$message = $school . ',<br><br>贵校车协交来的' . $fee . '元参赛费用已经收到,感谢你们对北大赛的大力支持!如有任何问题,请直接与各地区负责联系。' . $id_message;
$invitation_message = '
<div style="background-image: url(\'https://s2.ax1x.com/2019/03/09/ASQKuF.md.jpg\'); background-size:100% 100%; width: 900px; height: 600px; z-index: -1; display: inline-block;">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

从这里开始到div结束的缩进要调一下

北京大学自行车协会将于5月4日、5日和6日分别在北京大学和河北廊坊市固安县永定河自行车公园举办“北大车协 · 第十六届全国高校自行车交流赛”。本届比赛由xxx举办,并得到了xxx的大力支持。<br>
贵协作为全国知名的高校自行车运动社团,协会会员自行车运动水平优秀,学生素质高尚优良。我们诚挚邀请贵协参加“北大车协 · 第十六届全国高校自行车交流赛”, 以车会友,交流学习。
</p>

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

删空行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant