当前位置: 首页>>代码示例>>PHP>>正文


PHP myclass::send_email_to_user方法代码示例

本文整理汇总了PHP中myclass::send_email_to_user方法的典型用法代码示例。如果您正苦于以下问题:PHP myclass::send_email_to_user方法的具体用法?PHP myclass::send_email_to_user怎么用?PHP myclass::send_email_to_user使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在myclass的用法示例。


在下文中一共展示了myclass::send_email_to_user方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: myclass

require "fs_folders/php_functions/library.php";
require "fs_folders/php_functions/source.php";
require "fs_folders/php_functions/myclass.php";
$mc = new myclass();
if (isset($_POST['submit'])) {
    // echo "submit clicked!";
    $invited_fn = $_POST['invited_fn'];
    $invited_ln = $_POST['invited_ln'];
    $invited_email = $_POST['invited_email'];
    $invited_wob = $_POST['invited_wob'];
    $invited_occu = $_POST['invited_occu'];
    $invited_style = $_POST['invited_style'];
    $invited_offer = $_POST['invited_offer'];
    $mc->insert_invited($invited_fn, $invited_ln, $invited_email, $invited_wob, $invited_occu, $invited_style, $invited_offer);
    $mc->send_email_to_admin($invited_fn, $invited_ln, $invited_email, $invited_wob, $invited_occu, $invited_style, $invited_offer);
    $mc->send_email_to_user($invited_fn, $invited_ln, $invited_email, $invited_wob, $invited_occu, $invited_style, $invited_offer);
    $response_text = true;
} else {
    $mc->get_visitor_info("", "invite");
    $response_text = false;
}
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
	<head> 


			<?php 
$mc->header_attribute("Sign Up | Fashion Sponge", "Fashion Sponge is the easiest & fastest way to: Show your ootd, see the latest trends, discover fashionable people & blogs, get beauty & style tips & find fashion inspiration.", "OOTD | Trends | Fashion Blogs | Beauty Tips | Fashion Inspiration ");
?>
 
开发者ID:jesus143,项目名称:fs-dev,代码行数:30,代码来源:invite+old.php

示例2: myclass

require "fs_folders/php_functions/myclass.php";
$mc = new myclass();
$mc->auto_detect_path();
$mc->init_peoplebehindyou_peopleaheadofyou();
if (isset($_POST['submit'])) {
    // echo "submit clicked!";
    $invited_fn = $_POST['invited_fn'];
    $invited_ln = $_POST['invited_ln'];
    $invited_email = $_POST['invited_email'];
    $invited_wob = $_POST['invited_wob'];
    $invited_occu = $_POST['invited_occu'];
    $invited_style = $_POST['invited_style'];
    $invited_offer = $_POST['invited_offer'];
    $mc->insert_invited($invited_fn, $invited_ln, $invited_email, $invited_wob, $invited_occu, $invited_style, $invited_offer);
    $mc->send_email_to_admin($invited_fn, $invited_ln, $invited_email, $invited_wob, $invited_occu, $invited_style, $invited_offer);
    $mc->send_email_to_user($invited_fn, $invited_email);
    $response_text = true;
} else {
    $mc->get_visitor_info("", "invite");
    $response_text = false;
}
?>
<!DOCTYPE html> 
<html xmlns="http://www.w3.org/1999/xhtml">
	<head> 


			<?php 
$mc->header_attribute("Sign Up | Fashion Sponge", "Fashion Sponge is the easiest & fastest way to: Show your ootd, see the latest trends, discover fashionable people & blogs, get beauty & style tips & find fashion inspiration.", "ootd | Trends | Fashion Blogs | Beauty Tips | Fashion Inspiration ");
?>
 
开发者ID:jesus143,项目名称:fs-dev,代码行数:30,代码来源:invite.php


注:本文中的myclass::send_email_to_user方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。