The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Can't modify php.ini - other ways of getting email to work?
Hi there, I hope someone can help me out with this: Turns out (Windows) emails aren't being sent from our forum b/c the sendmail_from setting in the php.ini file is blank (this was determined by a combination of the Admin CP Diagnostics tool and help from the folks over at vBulletin.com). However, the host company won't change or let us change this file -- when we asked them about it we got the following response:
Quote:
|
#2
|
||||
|
||||
Quote:
|
#3
|
|||
|
|||
Thanks for getting back to me so quickly, I feel silly now as I'd seen that How-To tip before I'd posted but somehow in all my newbie glory hadn't -really- made the connection between it and my problem...d'oh! But now that I have tried it I'm still getting an error message within the diagnostic tool -- specifically it tells me the following:
Quote:
Thanks yet again for the help with this, I swear I won't -always- be quite such a noob...I hope... =) |
#4
|
|||
|
|||
Hi there, I'm back to working on this problem after some time away from it and was wondering if anybody could help me: After working with my host company for a while I've -finally- been able to confirm that things -are- set up correctly on their end for php/smtp mail to work -- in fact I was able to get the following code, which is their recommended way of enabling php/smtp mail on their server, to work:
Code:
<? require("c:\php\includes\class.phpmailer.php"); $mail = new PHPMailer(); $mail->IsSMTP(); $mail->Host = "sendmail.brinkster.com"; $mail->SMTPAuth = true; // This line is important for smtp authentication $mail->Username = "Validbrinkster@hostedemail.com"; $mail->Password = "EmailPassword"; $mail->From ="Validbrinkster@hostedemail.com"; $mail->FromName ="Validbrinkster@hostedemail.com"; $mail->AddAddress("Valid@emailaddress.com"); $mail->IsHTML(true); $mail->Subject = "Email Subject"; $mail->Body = "Email Body"; if(!$mail->Send()) { echo "Message was not sent <p>"; echo "Mailer Error: " . $mail->ErrorInfo; exit; } echo "Message has been sent"; ?> As always, thanks in advance to anyone who might help me out with this =) |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|