Raised This Month: $51 Target: $400
 12% 

[Native] Amx Mail


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
kiki33hun
Veteran Member
Join Date: Jul 2011
Location: Magyarország
Old 03-05-2012 , 06:27   [Native] Amx Mail
Reply With Quote #1

Amx Mail

Author: PomanoB
Version: 0.1.0


Description:
This plugin allows you to send emails directly from the server.

Plugin Example(s)
Coming soon

Functions:
Code:
/ *
* Connect to an SMTP server
*
* Server - the server address
* Port - the server port
*
* If successful, the function returns the identifier of the server
* It should be used in the first parameter of the remaining functions
*
* In case of failure, returns -1
*
* /
native smtp_connect (server [], port);


/ *
* Login to the SMTP server
*
* Socket - server ID
* Username - user name (for example [email protected])
* Password - the password
*
* /
native smtp_auth (socket, username [], password []);


/ *
* Send a letter
*
* Socket - server ID
* From - from whom a letter (for most servers must match the name of the user)
* To - to whom the letter
* Subject - the subject line
* Mail - the contents of the letter
* AddHeaders - additional headers (eg Reply-To :)
*
* /
native smtp_send (socket, from [], to [], subject [], mail [], addHeaders []);


/ *
* Disconnect from the server
*
* Socket - server ID
* /
native smtp_quit (socket);
Attached Files
File Type: sma Get Plugin or Get Source (amx_mail.sma - 1393 views - 5.0 KB)
File Type: inc amxmail.inc (444 Bytes, 533 views)
__________________

Last edited by kiki33hun; 03-05-2012 at 06:37.
kiki33hun is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:38.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode