Created
October 27, 2015 09:10
-
-
Save RealyUniqueName/8e41f6899b1f3a296562 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@:native('\\phpmailerNamespace\\PHPMailer') | |
extern class PHPMailerNative | |
{ | |
public function addAttachment( path : String, name : String = "", encoding : String = "base64", type : String = "", disposition : String = "attachment" ) : Bool | |
} | |
class PHPMailer extends PHPMailerNative | |
{ | |
override public function addAttachment( path : String, name : String = "", encoding : String = "base64", type : String = "", disposition : String = "attachment" ) : Bool | |
{ | |
return super.addAttachment(path,name,encoding,type,disposition); | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment