I have installed and have running vtiger, love it think it's great, however I can't seem to get the out going mail settings right.
Have tried mail.domainname.com with a vaild username and password, but with no luck, any help would be great.
Thanks
I have installed and have running vtiger, love it think it's great, however I can't seem to get the out going mail settings right.
Have tried mail.domainname.com with a vaild username and password, but with no luck, any help would be great.
Thanks
In the vitger_root/modules/Emails/ folder, you will find a file called 'mail.php'. At around line 48/49 of that file, there is a call to the function setMailerProperties() as shown below:
setMailerProperties($mail,$subject,$contents,$from _email,$from_name,$to_email,$attachment,$emailid);
If you look into the parameter list of the function, it has used the $mail object as a value parameter.
I replaced the function call with the following and my email is working.
setMailerProperties(&$mail,$subject,$contents,$fro m_email,$from_name,$to_email,$attachment,$emailid) ;
Yes, nothing other than passing $mail as a reference instead of value. That means, I just added a '&' before the $mail in the parameter list.
I hope it works for you. It took me all morning this morning to fart around with this one, too.
Hi tlhallums,
Tried your setting change but still getting the following error:
Mail could not be sent to the admin user. Please check the admin emailid/Server settings
Regards
Matthew
My english is not good... sorry.
I had the same problem... the only have to do is put "localhost" instead "mail.domain.com" with your login data.
its work try it.![]()
Tried the "&" tip above but had no luck with the Outgoing.
Was having this same issue and was dousing the pc with gasoline when I realized I had to include the port number!
mail.domainname.com:26
When you configure a new email address, you can look at the general email account setup settings provided by bluehost they will tell you the port number.
Thanks for the tip on adding a port. I think I spent almost 2 hours reading through several pages of forums and trying different things that didn't work. This worked right away. I'm new to this, so there's a bit of a learning curve to begin with.![]()
for me, using localhost in server name field, and nothing in username and password fields did the trick.
Thanks for all of these tips, it helped me a lot.
However, I still have a problem with sending e-mails. When I try to send one, I get an error:
Warning: Invalid argument supplied for foreach() in /home2/vtiger/public_html/vtigercrm/include/utils/CommonUtils.php on line 2675
Does anyone know how to solve this one?
Hi all,
I don't if this issue had been solved, but for my suddenlynot... I mean, the outgoing mail was working automatic, just now we moved the server from siteground to gator, and it's not working...
I did as you explain replacing the function, it's not working..
I add the port for gmail, it's not working... I put the local host instead of the smtp, it's not working...
Any update, or suggestion?