Randall Flagg - 2010-07-06


I was wondering if there is a way to use the MsgHTML but like this:


Because I want a custom mail with the name of my client, and more stuff that I
have in a database.

And I need to send at least 4 to 5 mails with different info. (please don't
talk about SPAM, I know about that)

How can I achieve that with PHPmailer?

I know I can use something like this:

$mail->Body = 'My dynamic content here <?php echo(GetCoolInfoFromDatabase());?>'

But I want to have some order in my code, and I think it could easy to modiffy
this if I have it in a separated file.

Thanks in advance for everything!