Feng Forum

Support => Feng Office 3 => : Graham January 13, 2015, 05:56:30 AM

: SMTP Mail Sending
: Graham January 13, 2015, 05:56:30 AM
Hi

I have just recently installed feng office 3.0-rc, and so far loving what I see, however there is one problem.  Although it can receive my emails perfectly, it will not send them, no matter what I try.

So for I have tried:
Using the normal SSL connection to my hosts smtp server, that never worked
Searched the forums, they suggested not using ssl
Spoke to my host to enable non SSL smtp on my account
still not working
had a look at the code, it is beyond my level  :o

Here is the log file for a send:

Okay, for some reason it is not letting me post my log here, or a link to the log so lets try this:

copy and past the below into a browser
pastebin.com/JPJu1idd

Why a support forum does not allow log file snippets is beyond me :(

if someone could help me fix this, I would be a very happy chap. :)

Thanks in advance
: Re: SMTP Mail Sending
: Graham January 13, 2015, 06:02:22 AM
I also tried connecting to the mail server from telnet, and can send a mail manually so the server is working and on the correct post.
: Re: SMTP Mail Sending
: Graham January 13, 2015, 08:07:45 AM
Hi all,

after much digging around in code, hardcoding server names etc, I have found the problem, and it has nothing to do with the code - but perhaps something that could be made clearer during setup of email accounts (based on what i have read - there are many people who have similar issues)

The problem is this:

when i send mail, i use send.o*****.com BUT when my website (upon which feng is running) sends email - it is blocked from using that address and must use mailout.o*****.com

Now i understand that the exact setting may vary according to your host, but if you are still having problems using smtp and none of the other fixes have worked, then perhaps ask your host if you need to use a different smtp server to send mail FROM THE WEBSITE.

Feng Office people > This is an awesome piece of software, and if I can iron out the bugs, then I think I would happily move to the full edition
BUT - that does not excuse the fact that people cannot upload an error log snippet to the support forums.

Good work guys :)
: Re: SMTP Mail Sending
: bukbr January 31, 2015, 11:15:01 AM
For me there's still a problem. Testing mail, on Confg, works well, but, when I assign a task to someone, of course with a valid mail, this user doesn't receive the e-mail.

Also when submitting comments, no mails arrives!

What I must do?  :-[
: Re: SMTP Mail Sending
: steveg January 31, 2015, 06:33:24 PM
For me there's still a problem. Testing mail, on Confg, works well, but, when I assign a task to someone, of course with a valid mail, this user doesn't receive the e-mail.

Also when submitting comments, no mails arrives!

What I must do?  :-[

Have you set up a cronjob to pull cron.php regularly?
: Re: SMTP Mail Sending
: bukbr January 31, 2015, 06:42:03 PM
Is this what you mean? Looking up the wiki, and following the instructions about cronjob:

I logged my webhost using SSH, typed crontab -e as instruction, but, I got error message:

You are not allowed to use this program (crontab)

Do you think it will solve the problem? Version 2 worked fine, without it.

Thanks.

: Re: SMTP Mail Sending
: steveg February 02, 2015, 01:48:31 PM
Is this what you mean? Looking up the wiki, and following the instructions about cronjob:

I logged my webhost using SSH, typed crontab -e as instruction, but, I got error message:

You are not allowed to use this program (crontab)

Do you think it will solve the problem? Version 2 worked fine, without it.

Thanks.

Yes - you need crontab running.  Some web hosts allow you to access via their panel.
: Re: SMTP Mail Sending
: bukbr February 06, 2015, 06:06:27 PM
Thank you, you helped very much!!!  :D

The only problem I'm having is: when creating a new task, assigning to a user, e-mail notification is not going to this user. Check box in subscribers is checked.

What should I do?

Thanks again.
: Re: SMTP Mail Sending
: steveg February 07, 2015, 02:20:46 PM
Thank you, you helped very much!!!  :D

The only problem I'm having is: when creating a new task, assigning to a user, e-mail notification is not going to this user. Check box in subscribers is checked.

What should I do?

Thanks again.

Yes - this is a bug that I hope the developers have noticed.    My work around is to invite them to a task, and then save it, and then open it and add them as a subscriber, which will them email them the notice. 
: Re: SMTP Mail Sending
: bukbr February 10, 2015, 10:06:11 PM
Ok, you're right, there's a bug!  ???

Thanks for the temporary solution, it helped me a lot!
: Re: SMTP Mail Sending
: franponce87 February 12, 2015, 09:23:08 AM
Hello everyone! Thanks for the feedback!
Indeed, there was a bug in there which was not always sending the notifications (depending on some settings) but which has been solved for the upcoming 3.0.7

Best regards,
Francisco
: Re: SMTP Mail Sending
: bukbr February 12, 2015, 06:44:10 PM
Thank you! ;)