Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SMTP server configuring
02-23-2013, 08:48 PM, (This post was last modified: 02-24-2013, 02:15 AM by Jayasuriya.)
#1
SMTP server configuring
Hi,

I am facing problems to connect to my smtp server from the local host(wamp). can anybody have any idea about how to configure smtp server with web erp

the fallowing error is populating,

Warning: mysqli_free_result() expects parameter 1 to be mysqli_result, boolean given in C:\wamp\www\webERP\includes\ConnectDB_mysqli.inc on line 144
Reply
02-24-2013, 08:06 AM, (This post was last modified: 02-24-2013, 08:18 AM by phil.)
#2
RE: SMTP server configuring
Pretty sure this will be a php config issue - check smtp settings in php.ini
The smtp functionality in webERP is redundant really as emails are sent by the php mail command without the smtp parameter set - (the only exception being the OffersReceived.php script) there is probably no need for the additional tables and scripts to set smtp parameters inside webERP. Would be interested to understand the rationale for this - perhaps we could remove this spurious code?

See output of grep for the ->send() function of the htmlMimeEmail class that we use for sending email:

Code:
BackupDatabase.php:$result = $mail->send(array('"' . $_SESSION['UsersRealName'] . '" <' . $_SESSION['UserEmail'] . '>'));
doc/Manual/ManualAPIFunctions.php:    $response = $client->send($msg);
EDIProcessOrders.php:        $result = $mail->send($Recipients);
EDISendInvoices.php:                $MessageSent = $mail->send(array($CustDetails['ediaddress']));
EDISendInvoices_Reece.php:                $MessageSent = $mail->send(array($CustDetails['ediaddress']));
MailInventoryValuation.php:    $result = $mail->send($Recipients);
MailSalesReport_csv.php:$result = $mail->send($Recipients);
MailSalesReport.php:    $result = $mail->send($Recipients);

OffersReceived.php:        $result = $mail->send(array($Email), 'smtp');

PDFChequeListing.php:    $result = $mail->send($ChkListingRecipients);
PDFDeliveryDifferences.php:    $result = $mail->send($DelDiffsRecipients);
PDFDIFOT.php:    $result = $mail->send($DelDiffsRecipients);
PO_PDFPurchOrder.php:        $Success = $mail->send(array(
PrintCustTrans.php:        $result = $mail->send(array($_GET['Email']));
PrintCustTransPortrait.php:        $result = $mail->send(array($_GET['Email']));
RecurringSalesOrdersProcess.php:        $result = $mail->send(array($RecurrOrderRow['email']));
report_runner.php:    $result = $mail->send($Recipients);
Z_CreateCompanyTemplateFile.php:           $result = $mail->send($Recipients);
Z_ImportChartOfAccounts.php:            $response = $client->send($msg);
Z_ImportGLAccountGroups.php:            $response = $client->send($msg);
Z_ImportGLAccountSections.php:            $response = $client->send($msg);
Z_ImportPartCodes.php:            $response = $client->send($msg);
Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)