Considering there have been a lot of questions regarding both email accounts and Cron settings, we have decided to post some help here and some FAQs at the end of it. If you think something may be improved/added, please feel free to post below and we will decide whether to add it or not to this mini tutorial

Email accounts:

In order to set up email accounts, some information such as ports, servers and security are needed, so if you are not sure about this, please ask your email server administrator for these details.

Administration Electronic Mail Account:This is the email account that your Feng Office installation is going to use to send notifications and reminders, so it is important to have it right.

We usually select "SMTP server" as mail transport, and remember that "SMTP address" usually is the same as "SMTP username".

Regular Electronic Mail Account:If we want to set up a regular email account, we must go to Email>Accounts>Add email account.

Once we are there, we have to type in the data required (careful with the port numbers, authentication, server, security, etc.)

Take into account that when you introduce a Gmail, Yahoo or Hotmail account, Feng Office will automatically recognize it and fill in certain info for you. Do remember that when you set a Hotmail account, you may recieve emails, but not send them, and this happens because of THEIR settings, not ours.

If we set an IMAP email account, we will be able to choose which folders would we like to recieve emails from, by clicking on the select boxes.

If you happen to see a section mentioning IMAP synchronization, it is because your Feng Office Administrator has enabled this, otherwise, you will not see it. What is this for? Simple, this way you will be able to synchronize the emails you send from Feng Office with your email server, as long as it is an IMAP account.

Cron Events:

With the Cron Events, which the Feng Office Administrator will be able to set, your Feng Office installation may look for new emails automatically, send notifications, reminders and check for upgrades. How does this help? You will not spend time wasting for emails to be generated and sent for instance when you create a new object and subscriptions must be sent.

FAQs:

Q: I am 100% sure my email accounts settings are fine, but I still cannot send/recieve emails. What could it be?

A: You ought to double-check if the server hosting your Feng Office installation has those ports open or not.

Q: Downloading only 10 emails? How am I supposed to synchronize my email account with over 4k recieved emails?!

A: "Email fetch limit" This is the maximum amount of emails that you are going to download each time you press "Check mails". Do take into consideration that if you have the Cron Events running, you may download EVERY email from the account.

Q: IMAP Synchronization....? What is that?

A: From Feng Office 1.7.1 onwards you may synchronize the emails you send from Feng Office with your email Server via IMAP. Your Feng Office Administrator must set this to "Yes" and then you should edit your email account and fill in the required fields for this to work.

Q: The IMAP synchronization sounds great! But what if I have already been using Feng Office for a while and have not been able to synchronize this? Is it too late to synchronize my old sent emails from Feng Office?

A: No, it is not too late. Your Feng Office Administrator may do this for you by looking for the "Sync" button at Administration>Email Accounts, or you may do it yourself by running the following script:.../public/tools/mailsyncscript.php?email=["email"]&username=["username"]

where:["email"] = email address to be synchronized (i.e.: something@something.com)["username"] = username of the owner of the account (i.e.: user1)

Q: The Cron seems to be a great tool... but how do I run it??

A: To run the FENG_ROOT/cron.php file:in Linux, set a cron to run itin Windows OS, you need to set a scheduled task to run it (you can create them at the Control Panel)

in order to do that in Windows, you have to run it with the php application, i.e.:

c:\path\php\php.exe c:\path\a\feng\cron.php

« Last Edit: February 08, 2011, 10:08:05 AM by franponce87 »

Logged

Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!

Thanks for the tutorials. My problem seems rather simple yet a great source of frustration.

I am using IMAP to collect emails and that seems to be doing great. Strangely the mail sending is just not working. It does not come up with any error messages it actually indicates the mail has been sent but never reaches its destination.

This is just to add to the tutorial ... franponce87 was helpful when i asked the question, however, i'd like to just help the other NEWBIE'S out there ...

Where franponce87 says:"Q: The Cron seems to be a great tool... but how do I run it??A: To run the FENG_ROOT/cron.php file: in Linux, set a cron to run it

okay this is what worked for me, log into your cpanel go down to cron jobs, setup how often you want your cron job to run, the tricky part is point the cron to the right php file, for me the following works like a charm:"php /home/cpanel username/public_html/feng directory/cron.php" the things in italics are standard, the other you need to change to your descriptions

Hello,unfortunately, after reading this mini tutorial, I still have issues with notifications.Running feng Office 1.7.4 on a shared hosting. Logged in as administrator.I have setup a smtp account for the administration mail account.Sending a test message from Administration/Tools does work fine.

I am declared as subscriber to a document. I don't receive any notifications when I edit the document or add comment to the document or make a revision.

I've looked at cache/log.php, there's no mention of an error.

So, do I have to set up some cron task ? I'd rather have notifications sent as soon as an edit/comment/etc happens ...

For the time being, 'send event notification with cron' is not activated.

I am declared as subscriber to a document. I don't receive any notifications when I edit the document or add comment to the document or make a revision.

Hi, welcome to Feng Office Forums!

That is because you are the one editing the document.. so it would make no sense to notificate you whenever you make changes. Try this: create a new user, make a comment on the very same document, and then the other users subscribed should receive a notification about it.

Best regards,Francisco

Logged

Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!

You will realize that you get notification e-mails for every object you have created or commented on without having subscribed to it. This is the autosubscription feature of Feng Office that creates a subscription for you. Of course you can unsubscribe at any time if you wish.

No problem.Yes, I agree it may cause confusions, but what it means is that whenever you update an object or make a comment on it, you get autosubscribed, so if someone else comments or make changes on it, you will receive a notification.

The documentation is quite out of date in some areas.. but then again, it is of Wiki content, so anyone can help updating it. If you would like to do so, please go ahead.

Best regards,Francisco

Logged

Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!

Session "default" started at 2011-10-26T15:27:07+0000#1 ERROR: Error: set_time_limit() has been disabled for security reasons in '/www/docs/gipegasus.com.ar/public_html/fengoffice/application/controllers/MailController.class.php' on line 896 (error code: 2)Time since start: 0.095198154449463 seconds-------------------------------------------------------------------------------

Session "default" started at 2011-10-26T15:28:26+0000#1 ERROR: Error: set_time_limit() has been disabled for security reasons in '/www/docs/gipegasus.com.ar/public_html/fengoffice/application/controllers/MailController.class.php' on line 1586 (error code: 2)#2 ERROR: Error: fsockopen() has been disabled for security reasons in '/www/docs/gipegasus.com.ar/public_html/fengoffice/library/PEAR/Net/Socket.php' on line 136 (error code: 2)Time since start: 0.15400695800781 seconds-------------------------------------------------------------------------------