09.04.2013, 22:18
(
Last edited by thefatshizms; 10/04/2013 at 10:49 PM.
)
While looking at a mailing include I had an idea to make my own one.. with a twist.
What is this?
This is a simple include to send mail from ingame with a twist.. you can also send bbcodes!
BBcodes? wat.
Yes, you can now send bbcodes (as well as other html) such as [b] and [i].
BBcodes available:
[b] content [ /b] - Makes then content bold
[i] content [ /i] - Makes the content italic
[link=http://link.com] link name [/link] - creates a link (<a></a> in html)
What is this?
This is a simple include to send mail from ingame with a twist.. you can also send bbcodes!
BBcodes? wat.
Yes, you can now send bbcodes (as well as other html) such as [b] and [i].
BBcodes available:
[b] content [ /b] - Makes then content bold
[i] content [ /i] - Makes the content italic
[link=http://link.com] link name [/link] - creates a link (<a></a> in html)
- list items [ /list]- creates the <ul> parts of the list
[li] content [ /li] - creates a list item inside the given list
[size=number] content [ /size] - makes the font size the given number
More bbcodes might be added in the future
How to use?
There is one function which is:
Code:SendMail(to[], to_email[], from[], from_email[], subject[], message[], playerid = -1)
And yes, there are two files but only define one ! (send.php)
Download
v1 - http://www.4shared.com/zip/ZNDSoUrV/Mailing_2.html?
v2:
You only need to replace the bbcode.php, http://pastebin.com/hiui7bQt
Code:Added bbcode [img]
only need to replace the bbcode.php http://pastebin.com/jG22NY2q
Code:added [email] added [background] added [font] added [s]