Author Topic: How to send greeting cards for multiple e-mail addresses  (Read 2584 times)

0 Members and 1 Guest are viewing this topic.

Offline raghunadhreddys

  • Newbie
  • *
  • Posts: 46
    • View Profile
How to send greeting cards for multiple e-mail addresses
« on: October 16, 2009, 09:47:50 AM »
How to send the same e-card to multiple e-mail address at the same time.

Offline bergblume

  • Sr. Member
  • ****
  • Posts: 463
  • on to the top!
    • View Profile
Re: How to send greeting cards for multiple e-mail addresses
« Reply #1 on: October 16, 2009, 10:22:42 AM »
hi,

in your file postcard.php search for

Code: [Select]
if (($sender_email != "" && !check_email($sender_email)) || ($recipient_email != "" && !check_email($recipient_email))) {
  $msg .= (($msg != "") ? "<br />" : "").$lang['invalid_email_format'];
  $error = 1;
}

and replace to
Code: [Select]
if ($sender_email != "" && !check_email($sender_email)) {
  $msg .= (($msg != "") ? "<br />" : "").$lang['invalid_email_format'];
  $error = 1;
}

no you can type in several email-addresses comma separated (,)
greetz, bergblume