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

[Native] Amx Mail


Post New Thread Reply   
 
Thread Tools Display Modes
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 - 1383 views - 5.0 KB)
File Type: inc amxmail.inc (444 Bytes, 525 views)
__________________

Last edited by kiki33hun; 03-05-2012 at 06:37.
kiki33hun is offline
zeus
Senior Member
Join Date: Jul 2008
Old 03-05-2012 , 06:39   Re: [Native] Amx Mail
Reply With Quote #2

What can I say anything else than : THANK YOU GOD !
zeus is offline
brian201049
Member
Join Date: Mar 2011
Location: Hong Kong
Old 03-05-2012 , 06:49   Re: [Native] Amx Mail
Reply With Quote #3

Use this module to make a register system plugin which need to verify e-mail address
brian201049 is offline
kiki33hun
Veteran Member
Join Date: Jul 2011
Location: Magyarország
Old 03-05-2012 , 06:52   Re: [Native] Amx Mail
Reply With Quote #4

It would be nice, but many would not be able to use! But eventually I could write!
__________________
kiki33hun is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-05-2012 , 09:33   Re: [Native] Amx Mail
Reply With Quote #5

Does the "To" parameter allow multiple recipients?
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
kiki33hun
Veteran Member
Join Date: Jul 2011
Location: Magyarország
Old 03-05-2012 , 09:37   Re: [Native] Amx Mail
Reply With Quote #6

I do not think
__________________
kiki33hun is offline
Carlen20
Senior Member
Join Date: Jun 2011
Location: Sweden
Old 03-05-2012 , 15:24   Re: [Native] Amx Mail
Reply With Quote #7

gj Kiki33hun
__________________
Nothing are impossible if you just use your mind!

Quote:
Originally Posted by NiceGuyx View Post
P.S: i'm the best coder here

Carlen20 is offline
kiki33hun
Veteran Member
Join Date: Jul 2011
Location: Magyarország
Old 03-06-2012 , 01:09   Re: [Native] Amx Mail
Reply With Quote #8

no,

Author: PomanoB
__________________
kiki33hun is offline
DjOptimuS
Senior Member
Join Date: Jan 2009
Old 03-06-2012 , 07:01   Re: [Native] Amx Mail
Reply With Quote #9

i don't like the infinite task, it is costly to the server resources. Can't be avoided ? To use a task only when needed ? Thank you.
DjOptimuS is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-06-2012 , 07:43   Re: [Native] Amx Mail
Reply With Quote #10

Why the plugin's author doesn't post himself his stuff ?
__________________
Arkshine is offline
Reply


Thread Tools
Display Modes

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 12:44.


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