1
elvir
New member autoemail module!
  • 2004/1/12 23:44

  • elvir

  • Just popping in

  • Posts: 90

  • Since: 2004/1/4 1


I would like to set up an autoemail for any new registered user on my web site.

Something like we get when we register a new account with MSN or YAHOO!


Does anyone knows is there a XOOPS module for autoemail for new registered members or XOOPS can do that itself?


Thanks.

2
Mithrandir
Re: New member autoemail module!

You mean a welcome email to new users?

You could set activation by email so the user will receive an email with the activation key. Then edit the root/language/[yourlanguage]/mail_template/register.tpl to fit your welcoming message.

3
elvir
Re: New member autoemail module!
  • 2004/1/13 0:20

  • elvir

  • Just popping in

  • Posts: 90

  • Since: 2004/1/4 1


Hi Mithrandir,

I know for an e-mail activation key but it's not what I'm looking for.

Let say I want to set up the welcome.html and in this document I want to present my web site ( what is it, what they can find on it, how they can use it ... etc ... ).

Xoops does have an INBOX, and I want the welcome.html sent to new users INBOX automatically, so they can open it and read it.

Hope you understand ...

Thanks.

4
Mithrandir
Re: New member autoemail module!

root/register.php - between line 274 and 275

Add the following:
$xoopsMailer =& getMailer();
$xoopsMailer->setFromUser(new XoopsUser(1)); //set the admin account as sender
$xoopsMailer->sendPM($newid, [subject goes here], [body goes here]);

Note: this isn't tested, so don't give me hell because it won't work See what happens

Login

Who's Online

154 user(s) are online (79 user(s) are browsing Support Forums)


Members: 0


Guests: 154


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jun 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits