SuurSuomalainen wrote:Please, help us to deal somehow with that raw htmlcode-like emails sent by newpost2mail beta 19 if used with the current phpbb 3.0.7. We do really need it...
I have the same problem that SuurSuomalainen. I had the php mail function, and that was working well, but the emails are been sending from "nobody" and I am not sure if this produce some kind of problem with hotmail (that thinks it's spam, and I am trying to correct it).henmedia wrote:One thing you could try is to switch from SMTP to PHP Mail Function in phpBB settings, maybe this might solve the problem for you.
Stefan
This doesn't resolve the issue. I have set null in the second parameter (instead of $data[bbcode_uid]), seems it works.clarghi wrote:Hi,
try {
$message .= str_replace("<br />", "<br />\n", generate_text_for_display($data[message], $data[bbcode_uid], $data[bbcode_bitfield], $post_data[forum_desc_options]))."\n";
} catch(Exception $e) {
return;
}
Code: Select all
// français (fr)
$n2m_TEXT[fr][mode] = "Mode";
$n2m_TEXT[fr][forum] = "Forum";
$n2m_TEXT[fr][thread] = "Fil de discussion";
$n2m_TEXT[fr][subject] = "Sujet";
$n2m_TEXT[fr][user] = "Membre";
$n2m_TEXT[fr][ip_hostname] = "IP/Utilisateur";
$n2m_TEXT[fr][host_na] = "(n/d)";
$n2m_TEXT[fr][actions] = "Actions";
$n2m_TEXT[fr][reply] = "Répondre";
$n2m_TEXT[fr][quote] = "Citer";
$n2m_TEXT[fr][edit] = "Editer";
$n2m_TEXT[fr][delete] = "Supprimer";
$n2m_TEXT[fr][info] = "Info";
$n2m_TEXT[fr][pm] = "MP";
$n2m_TEXT[fr][email] = "Email";
$n2m_TEXT[fr][attachments] = "Annexes";
$n2m_TEXT[fr][edited_by] = "Editer par";
$n2m_TEXT[fr][edit_reason] = "Raison";
Code: Select all
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 78: Use of undefined constant post - assumed 'post'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 79: Use of undefined constant reply - assumed 'reply'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 80: Use of undefined constant quote - assumed 'quote'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 81: Use of undefined constant edit - assumed 'edit'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 100: Use of undefined constant en - assumed 'en'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 100: Use of undefined constant mode - assumed 'mode'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 101: Use of undefined constant en - assumed 'en'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 101: Use of undefined constant forum - assumed 'forum'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 102: Use of undefined constant en - assumed 'en'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 102: Use of undefined constant thread - assumed 'thread'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 103: Use of undefined constant en - assumed 'en'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 103: Use of undefined constant subject - assumed 'subject'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 104: Use of undefined constant en - assumed 'en'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 104: Use of undefined constant user - assumed 'user'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 105: Use of undefined constant en - assumed 'en'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 105: Use of undefined constant ip_hostname - assumed 'ip_hostname'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 106: Use of undefined constant en - assumed 'en'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 106: Use of undefined constant host_na - assumed 'host_na'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 107: Use of undefined constant en - assumed 'en'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 107: Use of undefined constant actions - assumed 'actions'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 108: Use of undefined constant en - assumed 'en'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 108: Use of undefined constant reply - assumed 'reply'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 109: Use of undefined constant en - assumed 'en'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 109: Use of undefined constant quote - assumed 'quote'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 110: Use of undefined constant en - assumed 'en'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 110: Use of undefined constant edit - assumed 'edit'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 111: Use of undefined constant en - assumed 'en'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 111: Use of undefined constant delete - assumed 'delete'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 112: Use of undefined constant en - assumed 'en'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 112: Use of undefined constant info - assumed 'info'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 113: Use of undefined constant en - assumed 'en'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 113: Use of undefined constant pm - assumed 'pm'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 114: Use of undefined constant en - assumed 'en'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 114: Use of undefined constant email - assumed 'email'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 115: Use of undefined constant en - assumed 'en'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 115: Use of undefined constant attachments - assumed 'attachments'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 116: Use of undefined constant en - assumed 'en'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 116: Use of undefined constant edited_by - assumed 'edited_by'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 117: Use of undefined constant en - assumed 'en'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.config.php on line 117: Use of undefined constant edit_reason - assumed 'edit_reason'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.php on line 68: Use of undefined constant en - assumed 'en'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.php on line 85: Undefined index: post_edit_user
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.php on line 98: Undefined variable: headers
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.php on line 99: Use of undefined constant sitename - assumed 'sitename'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.php on line 106: Undefined variable: message
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.php on line 124: Undefined variable: post_EDITOR
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.php on line 145: Use of undefined constant attachment_data - assumed 'attachment_data'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.php on line 148: Use of undefined constant message - assumed 'message'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.php on line 148: Use of undefined constant bbcode_uid - assumed 'bbcode_uid'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.php on line 148: Use of undefined constant bbcode_bitfield - assumed 'bbcode_bitfield'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.php on line 148: Use of undefined constant forum_desc_options - assumed 'forum_desc_options'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.php on line 153: Use of undefined constant attachment_data - assumed 'attachment_data'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.php on line 165: Use of undefined constant post_edit_reason - assumed 'post_edit_reason'
[phpBB Debug] PHP Notice: in file [ROOT]/newpost2mail.php on line 231: Use of undefined constant forum_id - assumed 'forum_id'
Code: Select all
$n2m_MAIL_ON[post] = 1;
$n2m_MAIL_ON[reply] = 1;
$n2m_MAIL_ON[quote] = 1;
$n2m_MAIL_ON[edit] = 1;
Code: Select all
$n2m_MAIL_ON['post'] = 1;
$n2m_MAIL_ON['reply'] = 1;
$n2m_MAIL_ON['quote'] = 1;
$n2m_MAIL_ON['edit'] = 1;
Code: Select all
$n2m_TEXT[en][mode] = "Mode";
$n2m_TEXT[en][forum] = "Forum";
$n2m_TEXT[en][thread] = "Thread";
$n2m_TEXT[en][subject] = "Subject";
$n2m_TEXT[en][user] = "User";
$n2m_TEXT[en][ip_hostname] = "IP/Host";
$n2m_TEXT[en][host_na] = "(n/a)";
$n2m_TEXT[en][actions] = "Actions";
$n2m_TEXT[en][reply] = "reply";
$n2m_TEXT[en][quote] = "quote";
$n2m_TEXT[en][edit] = "edit";
$n2m_TEXT[en][delete] = "delete";
$n2m_TEXT[en][info] = "info";
$n2m_TEXT[en][pm] = "pm";
$n2m_TEXT[en][email] = "email";
$n2m_TEXT[en][attachments] = "Attachments";
$n2m_TEXT[en][edited_by] = "edited by";
$n2m_TEXT[en][edit_reason] = "reason";
Code: Select all
$n2m_TEXT['en']['mode'] = "Mode";
$n2m_TEXT['en']['forum'] = "Forum";
$n2m_TEXT['en']['thread'] = "Thread";
$n2m_TEXT['en']['subject'] = "Subject";
$n2m_TEXT['en']['user'] = "User";
$n2m_TEXT['en']['ip_hostname'] = "IP/Host";
$n2m_TEXT['en']['host_na'] = "(n/a)";
$n2m_TEXT['en']['actions'] = "Actions";
$n2m_TEXT['en']['reply'] = "reply";
$n2m_TEXT['en']['quote'] = "quote";
$n2m_TEXT['en']['edit'] = "edit";
$n2m_TEXT['en']['delete'] = "delete";
$n2m_TEXT['en']['info'] = "info";
$n2m_TEXT['en']['pm'] = "pm";
$n2m_TEXT['en']['email'] = "email";
$n2m_TEXT['en']['attachments'] = "Attachments";
$n2m_TEXT['en']['edited_by'] = "edited by";
$n2m_TEXT['en']['edit_reason'] = "reason";