Previous Thread
Next Thread
Print Thread
Hop To
#170255 12/13/2006 10:08 PM
Joined: Dec 2006
Posts: 42
C
newbie
newbie
C Offline
Joined: Dec 2006
Posts: 42
Im having some trouble getting my board mailer working again after my forums were moved to new host. It may be just a permissions issue or it may be my host. Could someone refresh my memory on what folder and relevent files the mail function call on? UBBThreads V6.5b2


Emerald Forest Gaming Community
ChAoS #170260 12/14/2006 1:30 AM
Joined: Dec 2006
Posts: 42
C
newbie
newbie
C Offline
Joined: Dec 2006
Posts: 42
I tried enabling this option

Send Email Using '-f' Option
Enable this option only if you are on a Unix/Linux server and mails are not being sent.

and I get this error message in my box
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

mminnis@hotmail.com
unrouteable mail domain "hotmail.com"



Emerald Forest Gaming Community
ChAoS #170263 12/14/2006 2:26 AM
Joined: Dec 2006
Posts: 42
C
newbie
newbie
C Offline
Joined: Dec 2006
Posts: 42
Upon further research I found this through my webhosts help section

Code
Because of the large amount of spam email that occurs every day, our email servers need to restrict how email gets sent. Normally in PHP, you would use the mail function to send out an email. Below is an example of how the mail function works: 
$to      = 'somebody@somewhere.com';
$subject = 'the subject';
$message = 'hello';
$headers = 'From: email@yourdomain.com';

mail($to, $subject, $message, $headers);
This will no longer work. Replace the above code with the PHP Class called PHPMailer which you can download from here. Here is an example of PHPMailer that would replace the above mail code: 
require("class.phpmailer.php");

$mail = new PHPMailer();

$mail->IsSMTP();                                   // send via SMTP
$mail->Host     = "mail.yourdomain.com"; // Outgoing Mail (SMTP) server
$mail->SMTPAuth = true;     // turn on SMTP authentication
$mail->Username = "email@yourdomain.com";  // SMTP username
$mail->Password = "yourpassword"; // SMTP password

$mail->From     = "email@yourdomain.com";
$mail->FromName = "Your Name";
$mail->AddAddress("somebody@somewhere.com"); 

$mail->IsHTML(false);                               // send as plain text

$mail->Subject  =  "the subject";
$mail->Body     =  "hello";

if(!$mail->Send())
{
   echo "Message was not sent ";
   echo "Mailer Error: " . $mail->ErrorInfo;
   exit;
}

echo "Message has been sent";

so I am looking over dosendmail.php and I am afraid integrating it may be beyond me at the moment. Would anyone care to help? Here is my http://emeraldforestseattle.com/ubbthreads/dosendemail.txt Let me know if ya need props or candy or flowers smile

Last edited by ChAoS; 12/14/2006 2:27 AM.

Emerald Forest Gaming Community
ChAoS #170292 12/14/2006 9:56 PM
Joined: Dec 2006
Posts: 42
C
newbie
newbie
C Offline
Joined: Dec 2006
Posts: 42
cash?


Emerald Forest Gaming Community
ChAoS #170294 12/15/2006 12:56 AM
Joined: Dec 2006
Posts: 42
C
newbie
newbie
C Offline
Joined: Dec 2006
Posts: 42
sorry I cant edit this post- Ill have to remove the file from the server Allen


Emerald Forest Gaming Community
ChAoS #174010 01/17/2007 7:41 AM
Joined: Dec 2003
Posts: 117
K
Member
Member
K Offline
Joined: Dec 2003
Posts: 117
I experience this problem...

xxx@martindowson.com
unrouteable mail domain "martindowson.com"
xxx@hotmail.com
unrouteable mail domain "hotmail.com"
xxx@hotmail.com
unrouteable mail domain "hotmail.com"
xxx@mondrian.com
unrouteable mail domain "mondrian.com"

But I do get some 'confirmations' from other domains. Is this down to a blocking on the server or is it an issue with 7.0.2?


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
1 members (Havenofsobriety), 522 guests, and 99 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)