Author Topic: Using vlibTemplate + vlibMimeMail  (Read 1017 times)

0 Members and 1 Guest are viewing this topic.

Offline ClausVB

  • Administrator
  • Hero Member
  • *****
  • Posts: 566
    • Homepage: clausvb.de
Using vlibTemplate + vlibMimeMail
on: Tue, 25. June 2002 - 19:47:00
Is it possible to create a template, parse data into it via vlibTemplate and sent it via HTML-Mail & vlibMimeMail?

What I have in mind is a notification, that a new case (phd.clausvb.de) is entered in the database.

Like:
-------------
FROM: PowerHelpDesk [[email protected]]
TO: [email protected]
Subject: New case: Kuhl, Sebastian (Tel: 0228 / 55 -3613)
BODY:
Some <b>HTML-text</b>
<br />
etc.
-------------
It works perfectly if you enter
$body = "Some <b>HTML-text</b><br />etc." and send it via
$mail -> htmlbody($body);

But what can I do, if I want to use vlibTemplate to create the $body?

Greetings,
Claus

releasedj

  • Guest
Using vlibTemplate + vlibMimeMail
Reply #1 on: Wed, 26. June 2002 - 14:40:00
Hi Claus,

This is a simple example of what you want.

http://www.activefish.co.uk/vlib/troublesh...ithtemplate.php.

Regards,

Kelvin

Offline ClausVB

  • Administrator
  • Hero Member
  • *****
  • Posts: 566
    • Homepage: clausvb.de
Using vlibTemplate + vlibMimeMail
Reply #2 on: Wed, 26. June 2002 - 17:52:00
Thank you so much!

If I can give anything in return, for example moderating the german support, I would gladly do.

Bye,
Claus

releasedj

  • Guest
Using vlibTemplate + vlibMimeMail
Reply #3 on: Wed, 26. June 2002 - 18:15:00
Thanks for the offer Claus.

For the moment I'll just be supporting in English, however soon I'll be revamping the vLIB site, and will be thinking about a multi-language site.

Thanks for the offer in any case!

Kelvin

[size=8][ This Message was edited by: releasedj on 2002-06-26 18:32 ][/size]

Offline ClausVB

  • Administrator
  • Hero Member
  • *****
  • Posts: 566
    • Homepage: clausvb.de
Using vlibTemplate + vlibMimeMail
Reply #4 on: Wed, 26. June 2002 - 23:56:00
No problem.