I had no idea at all about PHP or programming until I started reading your website! "Non avevo idea affatto di programmazione PHP o fino a quando ho iniziato a leggere il tuo sito!"
Scott

RocksEmail Class

Descrizione

Questo rappresenta un email.

Questa gestione degli allegati, CC e l'aggiunta di tutte le altre parti di e-mail.

  • array $to: an array of recipients that the email is being sent to proprietà-read: array $ a: una serie di destinatari che l'email viene inviata
  • array $cc: the carbon copy addresses of the email proprietà-read: array $ cc: la copia carbone indirizzi e-mail
  • array $bcc: the blind carbon copy addresses of the email proprietà-read: array $ bcc: i ciechi indirizzi di carbonio copia dell'e-mail
  • array $attachments: the attachments of the email proprietà-read: array $ allegati: gli allegati delle email
  • string $subject: the subject of the email proprietà: string $ subject: oggetto della e-mail
  • string $from: the from address of the email proprietà: string $ from: l'indirizzo del mittente della mail
  • string $body: the body of the email proprietà: stringa $ corpo: il corpo del messaggio
  • string $includeHtml: include a html version in the email proprietà: stringa $ IncludeHTML: include una versione html nella e-mail
  • Dominic Skinner autore: Dominic Skinner
  • 0.2.1 Versione: 0.2.1

) Situato in / RocksEmail.php (linea 21)

Metodo Summary
AddAttachement ( string $filename , [ string $fileType = null ], [ string $data = null ]) vuoto AddAttachement (string $ filename, [string $ filetype = null], [string $ data = null])
AddBCC ( string $address ) vuoto AddBCC (string $ indirizzo)
AddCC ( string $address ) vuoto AddCC (string $ indirizzo)
AddTemplatedBody ( string $templateFilename ) vuoto AddTemplatedBody (string $ templateFilename)
AddTo ( string $address ) vuoto AddTo (string $ indirizzo)
Send () annullare Invia ()
__get ( vuoto __get ( ) $ Var)
__set ( annullare __set ( , $ Var, ) $ VarValue)
__toString () vuoto __toString ()
Metodi
(line 122 ) AddAttachement (linea 122)

Questo aggiunge un allegato alla mail.

  • public accesso: public
AddAttachement ( string $filename , [ string $fileType = null ], [ string $data = null ]) vuoto AddAttachement (string $ filename, [string $ filetype = null], [string $ data = null])
  • $filename : the filename of the attachment stringa $ filename: il nome del file allegato
  • $fileType : the file type of the attachment stringa $ filetype: il tipo di file dell'allegato
  • $data : of the attachment this is not needed as it can be retrieved from the filename. $ stringa di dati: dell'attaccamento questo non è necessaria, dato che possono essere recuperate dal nome del file.
(line 69 ) AddBCC (linea 69)

Questo aggiunge un indirizzo di posta elettronica all'elenco di indirizzi e-mail copia per conoscenza nascosta

  • public accesso: public
AddBCC ( string $address ) vuoto AddBCC (string $ indirizzo)
  • $address : the email address to add stringa $ address: l'indirizzo email di aggiungere
(line 60 ) AddCC (linea 60)

Questo aggiunge un indirizzo di posta elettronica all'elenco di indirizzi e-mail copia di carbonio

  • public accesso: public
AddCC ( string $address ) vuoto AddCC (string $ indirizzo)
  • $address : the email address to add stringa $ address: l'indirizzo email di aggiungere
(line 81 ) AddTemplatedBody (linea 81)

Questo aggiunge un corpo template all'indirizzo e-mail, che rende il lavoro con e-mail molto più semplice.

Tutti i parametri dopo il $ templatedFilename vengono poi utilizzati nel modello. Ci devono essere almeno due parametri passati a questo metodo.

  • public accesso: public
AddTemplatedBody ( string $templateFilename ) vuoto AddTemplatedBody (string $ templateFilename)
  • $templateFilename : the filename of the templated body stringa $ templateFilename: il nome del file del corpo templated
(line 51 ) AddTo (linea 51)

Questo aggiunge un indirizzo di posta elettronica all'elenco di indirizzi e-mail a

  • public accesso: public
AddTo ( string $address ) vuoto AddTo (string $ indirizzo)
  • $address : the email address to add stringa $ address: l'indirizzo email di aggiungere
(line 130 ) Invia (linea 130)

Questo invia l'e-mail.

  • public accesso: public
Send () annullare Send ()
(line 42 ) __get (linea 42)
  • public accesso: public
__get ( __ vuoto get ( ) $ Var)
  • $ Var
(line 33 ) __set (linea 33)
  • public accesso: public
__set ( void __ set ( , $ Var, ) $ VarValue)
  • $ Var
  • $ VarValue
(line 177 ) __toString (linea 177)
  • public accesso: public
__toString () vuoto __ toString ()

Nessun commento è stato fornito.
security image

Scritto da Dominic Skinner
Ultimo aggiornamento: 2011/10/25 16:00:38