Author Topic: SMTP Mail Sending  (Read 5247 times)

Graham

  • Newbie
  • *
  • Posts: 3
    • View Profile
SMTP Mail Sending
« on: 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

Graham

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: SMTP Mail Sending
« Reply #1 on: 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.

Graham

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: SMTP Mail Sending
« Reply #2 on: 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 :)

bukbr

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
Re: SMTP Mail Sending
« Reply #3 on: 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?  :-[

steveg

  • Full Member
  • ***
  • Posts: 167
    • View Profile
Re: SMTP Mail Sending
« Reply #4 on: 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?

bukbr

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
Re: SMTP Mail Sending
« Reply #5 on: 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.

« Last Edit: February 01, 2015, 07:41:30 pm by bukbr »

steveg

  • Full Member
  • ***
  • Posts: 167
    • View Profile
Re: SMTP Mail Sending
« Reply #6 on: 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.

bukbr

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
Re: SMTP Mail Sending
« Reply #7 on: 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.

steveg

  • Full Member
  • ***
  • Posts: 167
    • View Profile
Re: SMTP Mail Sending
« Reply #8 on: 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. 

bukbr

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
Re: SMTP Mail Sending
« Reply #9 on: 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!

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: SMTP Mail Sending
« Reply #10 on: 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
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!

bukbr

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
Re: SMTP Mail Sending
« Reply #11 on: February 12, 2015, 06:44:10 pm »
Thank you! ;)