11
phpsharma
how to use xoopsmailer class to send email to send for a single user
  • 2004/12/2 15:43

  • phpsharma

  • Just popping in

  • Posts: 16

  • Since: 2004/9/23


Hi
how to send a mail with template to single user.

$xoopsMailer1 =& getMailer();
$xoopsMailer1->useMail();
$xoopsMailer1->setTemplate('register.tpl');
$xoopsMailer1->assign('SITENAME', $xoopsConfig['sitename']);
$xoopsMailer1->assign('ADMINMAIL', $xoopsConfig['adminmail']);
$xoopsMailer1->assign('SITEURL', XOOPS_URL."/");

Setusers will send the mails to single user

$email_user=sample@sample.com
$xoopsMailer1->setToUsers($email_user);

$xoopsMailer1->setFromEmail($xoopsConfig['adminmail']);
$xoopsMailer1->setFromName($xoopsConfig['sitename']);
$xoopsMailer1->setSubject(sprintf(_US_USERKEYFOR1,$myts->oopsStripSlashesGPC($uname)));
$xoopsMailer1->send();

Please help me.



12
phpsharma
Re: How to show some text after input box?
  • 2004/12/1 18:32

  • phpsharma

  • Just popping in

  • Posts: 16

  • Since: 2004/9/23


Hi Mark,

Thanks for your reply. Can you tell me the template name to add. But as far as i know the registration form will not come from a template. It dynamically generates from php classes.

Please correct me if i am not ?

Thanks,
sharma



13
phpsharma
How to show some text after input box?
  • 2004/12/1 18:01

  • phpsharma

  • Just popping in

  • Posts: 16

  • Since: 2004/9/23


Hi,

I would like to add some text after a input box in registration form. How to accomplish this.

firstname <input type=text>(this is compulsory)

Please help me.

Thanks in advance
sharma



14
phpsharma
Admin area is a combination
  • 2004/11/30 12:48

  • phpsharma

  • Just popping in

  • Posts: 16

  • Since: 2004/9/23


Hi all,

My admin area is over crowded with all the active blocks for all type of groups. this is really unmanageable to work. How to make admin area look professional...

Thanks,
sharma



15
phpsharma
How to extend registration form?
  • 2004/10/12 14:02

  • phpsharma

  • Just popping in

  • Posts: 16

  • Since: 2004/9/23


Hi ,

I am using XOOPS for a match site. I would like to extend the regform with more select and text and check boxes. I hope aleast some of you have tried it. Can any one here show me a approach/way to do it?. which file to edit?. how to insert and where to look for the insert statements. please any one guie here to move faster.


Thanks,
sharma




TopTop
« 1 (2)



Login

Who's Online

218 user(s) are online (97 user(s) are browsing Support Forums)


Members: 0


Guests: 218


more...

Donat-O-Meter

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

Latest GitHub Commits