Welcome, Guest. Please login or register.
Did you miss your activation email?
February 13, 2012, 03:25:54 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
149700 Posts in 21103 Topics by 7538 Members
Latest Member: ionline
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: How can I send e-mails with WB  (Read 258 times)
HouLauX

Offline Offline

Posts: 15


« on: February 05, 2010, 09:48:42 PM »

My question is very simpel: can someone tell me how to send e-mails with websitebaker?

Thanks in advance,
HouLauX
Logged
Monky
Development Team
*****
Offline Offline

Posts: 47



WWW
« Reply #1 on: February 06, 2010, 12:36:51 AM »

In what context do you want to do that? Do you plan write PHP code (e.g. create a module) that sends emails to users? If you don't want to do that you should look for a module. I think there are several modules that handle emails (e.g. massmail etc).

If you want to write code yourself. The WB class provides a function that can be used like this
Code:
$wb->mail(SERVER_EMAIL,$mail_to,$mail_subject,$mail_message

Hope this helps,
Sebastian
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!