Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Mon Oct 21, 2019 12:33 pm
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: How to setup SMTP as Mailer?
PostPosted: Fri Mar 07, 2008 2:37 pm 
Offline

Joined: Tue Feb 12, 2008 11:34 am
Posts: 87
Location: Germany
Hi there,
I am trying to change the default values in class.phpmailer.php

Code:

var $Host       = "smtp.strato.de";
var $Helo        = "smtp.strato.de";

tried also with
Code:
var $SMTPAuth     = true;

with correct username and password.

But somehow it does not change my smtp server settings.
Still my emails are being rejected by yahoo and gmail with error messages like "The IP you're using to send email is not authorized 550-5.7.1 to send email directly to our servers. Please use 550 5.7.1 the SMTP relay at your service provider instead"

I am new to php, in fact i never worked with php files before starting using a2billing
So I am not sure if i am doing the modifications in the correct file.

I have joomla installed on my windows machine and their i can change php.ini settings of mail function to smtp and it sends emails properly, unfortunately in php.ini linux version there is no option for smtp configurations, (it says only for win32)

Any tips would be highly appreciated.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 24, 2008 10:05 pm 
Offline

Joined: Tue Feb 12, 2008 11:34 am
Posts: 87
Location: Germany
Hi again,
Would be so nice if someone can respond to this post. Whats the funtion of class.phpmailer.php ?
No changes to this file take effect. How can I implement smtp mailer in version 1.3.2?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 24, 2008 10:11 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
I don't think the phpmailer engine you're talking about is used anywhere in A2B, although I may be wrong.
The PHP mail() function is used in many places, and uses the 'sendmail' command so depends on the sendmail configuration or the configuration of whatever else is installed that provides a sendmail compatible wrapper.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 24, 2008 10:19 pm 
Offline

Joined: Tue Feb 12, 2008 11:34 am
Posts: 87
Location: Germany
i.c.
that means using something like postfix, and configuring postfix to use some smtp server?

I am really not sure, I am learning a lot, New to Linux, new to PHP, new to Apache, everything is new for me, started only after i started installing a2b.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 24, 2008 10:23 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
mazhar996 wrote:
i.c.
that means using something like postfix, and configuring postfix to use some smtp server?
Not necessarily, although Postfix is a good choice and I find it easy to configure. I read the first few chapters of the O'Reilly Sendmail book, then gave it away to the first willing victim I could find.
If you've access to a smart-host, which will relay mails for you, I find the easiest method is to install ssmtp. There's usually only one line to change in ssmtp.conf.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 
VoIP Billing solution


All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group