채택완료

mailer.lib에 mailer질문입니다.

2017-03-29 (수) 16:36:38 5,047

function mailer($fname, $fmail, $to, $subject, $content, $type=0, $file="", $cc="", $bcc="") 

$fname부터 어떤 변수인지 알려주셨으면 좋겠습니다. ($to = 받는사람) 

이런 방식으로 부탁드립니다.

|

답변 2개

채택된 답변
+20 포인트

fname = 보내는사람이름

fmail = 보내는사람 메일주소

to = 받는사람 메일주소

subject = 메일제목

content = 메일본문

type = 본문형식 (text=0, html=1, text+html=2)

file = 첨부파일 (array 형식)

cc = 동보수신

bcc = 참조

자세한 내용은 phpmailer github 참조하세요.

https://github.com/PHPMailer/PHPMailer/blob/master/class.phpmailer.php 

그누보드에서 사용하는 메일클래스입니다.

$fname from-name?

$fmail from-mail

$to to-mail

$subject 제목

$content 본문

답변을 작성하려면 로그인이 필요합니다.