I thought I knew all about PHP until I found this website! "나는이 웹사이트를 발견하기 전까지는 PHP에 관한 모든 것을 안다고 생각했지만!"
소룡

RocksEmail 클래스

설명

이것은 이메일을 나타냅니다.

이것은 추가 첨부 파일 참조 및 이메일의 다른 부분을 처리합니다.

  • array $to: an array of recipients that the email is being sent to 속성 - 읽기 : 배열 $까지 : 수신자의 배열 이메일로 전송된다는 것에
  • array $cc: the carbon copy addresses of the email 속성 - 읽기 : 배열 $ CC : 탄소 복사본이 전자 우편 주소
  • array $bcc: the blind carbon copy addresses of the email 속성 - 읽기 : 배열 $ 숨은 참조 : 이메일의 숨은 참조 주소
  • array $attachments: the attachments of the email 속성 - 읽기 : 배열 $ 첨부 파일 : 이메일의 첨부 파일
  • string $subject: the subject of the email 재산 : 문자열 주제 $ : 이메일 제목
  • string $from: the from address of the email 재산 : 문자열에서 $ : 이메일 주소
  • string $body: the body of the email 재산 : 문자열 $ 신체 : 이메일 본문
  • string $includeHtml: include a html version in the email 재산 : 문자열 $ includeHtml가 : 이메일에서 HTML 버전을 포함
  • Dominic Skinner 작성자 : 도미닉 스키너
  • 0.2.1 버전 : 0.2.1

) / RocksEmail.php (라인 21)에 위치

방법 요약
AddAttachement ( string $filename , [ string $fileType = null ], [ string $data = null ]) 공극 AddAttachement (문자열 $ 파일 이름, [문자열 $ 파일 형식 = NULL], [문자열 $ 데이터 = NULL])
AddBCC ( string $address ) 무효 AddBCC (문자열 $ 주소)
AddCC ( string $address ) 무효 AddCC (문자열 $ 주소)
AddTemplatedBody ( string $templateFilename ) 무효 AddTemplatedBody (문자열 $ templateFilename)
AddTo ( string $address ) 무효 AddTo (문자열 $ 주소)
Send () 무효화 보내기 ()
__get ( 무효 __get ( ) 은 $ var)
__set ( 무효화 __set을 ( , 은 $ var, ) $ varValue)
__toString () 공극 __toString ()
방법
(line 122 ) AddAttachement (라인 122)

이것은 이메일 첨부 파일을 추가합니다.

  • public 접근 : 공개
AddAttachement ( string $filename , [ string $fileType = null ], [ string $data = null ]) 공극 AddAttachement (문자열 $ 파일 이름, [문자열 $ 파일 형식 = NULL], [문자열 $ 데이터 = NULL])
  • $filename : the filename of the attachment 문자열 $ 파일 이름 : 첨부 파일의 파일 이름
  • $fileType : the file type of the attachment 문자열 $ 파일 형식 : 첨부 파일의 파일 형식
  • $data : of the attachment this is not needed as it can be retrieved from the filename. 문자열 $ 데이터 : 그것은 파일 이름에서 검색될 수로 첨부 파일이 필요하지 않습니다.
(line 69 ) AddBCC (라인 69)

이것은 숨은 이메일 주소 목록에 이메일 주소를 추가

  • public 접근 : 공개
AddBCC ( string $address ) 무효 AddBCC (문자열 $ 주소)
  • $address : the email address to add 문자열 $ 주소 : 추가할 수있는 이메일 주소
(line 60 ) AddCC (라인 60)

이것은 탄소 복사 이메일 주소 목록에 이메일 주소를 추가

  • public 접근 : 공개
AddCC ( string $address ) 무효 AddCC (문자열 $ 주소)
  • $address : the email address to add 문자열 $ 주소 : 추가할 수있는 이메일 주소
(line 81 ) AddTemplatedBody (라인 81)

이것은 단순한 이메일 작업을하게 이메일 주소로 템플릿 본문을 추가합니다.

$ templatedFilename 후 모든 매개 변수는 다음 템플릿에 사용됩니다. 이 메서드에 전달되는 적어도 두 개의 매개 변수가 있어야합니다.

  • public 접근 : 공개
AddTemplatedBody ( string $templateFilename ) 무효 AddTemplatedBody (문자열 $ templateFilename)
  • $templateFilename : the filename of the templated body 문자열 $ templateFilename : 템플릿 신체의 이름
(line 51 ) AddTo (라인 51)

이것은 이메일 주소에 대한 목록에 이메일 주소를 추가

  • public 접근 : 공개
AddTo ( string $address ) 무효 AddTo (문자열 $ 주소)
  • $address : the email address to add 문자열 $ 주소 : 추가할 수있는 이메일 주소
(line 130 ) 보내기 (라인 130)

이것은 이메일을 보냅니다.

  • public 접근 : 공개
Send () () 보내기 무효화
(line 42 ) __get (라인 42)
  • public 접근 : 공개
__get ( 공극 __ 구하기 ( ) 은 $ var)
  • $ VAR
(line 33 ) __set (라인 33)
  • public 접근 : 공개
__set ( 공극 __ 세트 ( , 은 $ var, ) $ varValue)
  • $ VAR
  • $ varValue
(line 177 ) __toString (라인 177)
  • public 접근 : 공개
__toString () 공극 __의 toString ()

댓글이 제공되지 않았습니다 없습니다.
보안 이미지

도미닉 스키너 글
최근 업데이트 : 2011년 10월 25일 16시 0분 38초를