PHP Classes

installation

Recommend this page to a friend!

      Nomad MIME Mail  >  All threads  >  installation  >  (Un) Subscribe thread alerts  
Subject:installation
Summary:request for installation instructions
Messages:4
Author:Christine Salib
Date:2007-04-23 16:11:59
Update:2008-11-10 06:59:41
 

  1. installation   Reply   Report abuse  
Picture of Christine Salib Christine Salib - 2007-04-23 16:11:59
I am a php novice and could use some help in the installation and use of Nomad MIME mail. It was recommended to me as a way to solve a problem I am having with my hosting provider.

Thanks!

  2. Re: installation   Reply   Report abuse  
Picture of Alejandro García González Alejandro García González - 2007-11-21 15:26:28 - In reply to message 1 from Christine Salib
Hi:

The installation is very simple; you only have to copy "nomad_mimemail.inc.php" anywhere in your project tree.

When you need use it, only need to include and declare the class in your code:

When you need to use it, you only need to include it and declare the class in your code:

include ('nomad_mimemail.inc.php');
$mimemail = new nomad_mimemail();

And last, you can send mail this way:

$from = "me@mail.com";
$to = "friend@mail.com";
$subject = "Hello friend";
$text = "This is my Text Plain Message";
$html = "<p><strong>This</strong> is mi message in HTML</p>";

$mimemail->new_mail($from, $to, $subject, $text, $html);

  3. Re: installation   Reply   Report abuse  
Picture of Martin Lutonský Martin Lutonský - 2008-11-05 16:57:21 - In reply to message 2 from Alejandro García González
Hello and thank you for this great class. I just want to ask - is there any way how to send e-email to more than one recipient at once? Sorry for my bad english. Thx

  4. Re: installation   Reply   Report abuse  
Picture of Alejandro García González Alejandro García González - 2008-11-10 06:59:41 - In reply to message 3 from Martin Lutonský
Hi Martin.

The class support a many recipients in To, CC and BCC using;

add_to(mail@mail.com, name);
add_cc(mail@mail.com, name);
add_bcc(mail@mail.com, name);

example:

$mimemail->add_to("foo@mail.com", "Foo");
$mimemail->add_to("bar@mail.com", "Bar");