 |
 |
 |
 |
Registered: 03/21/08
Posts: 224
|
|
|
 |
 |
 |
 |
|
 |
 |
 |
 |
|
Express Hosting
"We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#174734 - 01/21/07 03:03 AM
Re: Verification Email Formatting?
[Re: Jim]
|
newbie
|
Registered: 01/19/04
Posts: 39
Loc: Chicago
|
|
Long story short, I figured out how to make this work for my configuration. If anyone is interested in how I figured it out, I will elaborate.
The solution:
Call phpmailer IsSMTP() in ubbthreads.inc.php MAILER CLASS extender.
// ######################################################################## // MAILER CLASS // Define class for sending email // ######################################################################## class mailer extends PHPMailer {
var $to_email; var $From = null;
// ###################################################################### // headers // ###################################################################### function send_mail($htmlmail="",$from="",$to="",$subject="",$body="",$bcc=array()) {
global $mailer,$config,$ubbt_lang; $this->IsSMTP(); // telling the class to use SMTP if ($from) { $this->From = $from; $this->FromName = $from; } else { $this->From = $config['SITE_EMAIL']; $this->FromName = $config['COMMUNITY_TITLE']; }
I realize that this might be an issue with the installation and configuration. I did not install the software and am not sure what options where selected during the install process. However, I am still concerned that my registration in ntdoc's forum had the same problem.
This problably isn't a big issue for most Threads admins, but I would like to share my findings with anyone who is interested.
Again, to my knowledge, this only affects 7.0.2 installed on Windows 2003 using IIS6 when forum generated emails are sent to addresses hosted on qmail servers.
|
|
Top
|
|
|
|
|
 |
 |
 |
 |
|
|