[Vtigercrm-developers] VT6 RC

Sreenivas Kanumuru svk at vtiger.com
Fri Sep 13 10:39:32 UTC 2013


Alan, I am not quite familiar with Thunderbird and other clients. Please
clarify this

*Please note that Thunderbird and Outlook can use ONE smtp service, but be
> configured for multiple IMAP accounts and it just works...*


When you have multiple IMAP acounts, which one of it is the sent email put
in?



--
Sreenivas Kanumuru
vtiger Team

Direct: +91 96323-55656
Skype: skanumuru

*Connect with us on: *Twitter <http://twitter.com/#%21/vtigercrm> *I*
Facebook <http://www.facebook.com/pages/vtiger/226866697333578?sk=wall> *I*
Blog <http://blog.vtiger.com/>* I*
Wiki<http://wiki.vtiger.com/index.php/Main_Page>
 *I *Forums  <http://forums.vtiger.com/>*I* Website <http://vtiger.com/>


On Fri, Sep 13, 2013 at 2:00 PM, Alan Lord <alanslists at gmail.com> wrote:

> On 13/09/13 09:10, Sreenivas Kanumuru wrote:
>
>> Asterisk Support will be included in 6.1. We are deferring it because
>> the current code is not very efficient, and needs to be refactored.
>>
>
> Cool
>
>      understand this, what should happen is the IMAP client in vtiger
>>     should add a *copy* of the outgoing message to the client's Sent
>>     Folder of their IMAP account.
>>     What it should absolutely *not* do, is send another copy of the
>>     message, via SMTP, to the sender so it arrives in their Inbox./
>>
>>
>>
>> This is not possible, unless we let users send email from their
>> individual SMTP accounts.
>>
>> Outgoing emails are going from a common SMTP account, lets call it X.
>> while Incoming emails from individual user's IMAP, lets say A.
>>
>> The request is asking for email sent from X, to go to A's Sent Mail.
>> That is not possible to my knowledge.
>>
>
> How do you think Thunderbird & Outlook or Roundcube or any other email
> clients, be they desk or web-based, work?
>
> They don't send a copy to my Inbox? They add a copy of the message to my
> sent box (often with an interim step via the outbox) which is then
> automatically synced with the IMAP server.
>
> Please note that Thunderbird and Outlook can use ONE smtp service, but be
> configured for multiple IMAP accounts and it just works...
>
> I'm pretty sure they use the IMAP APPEND command...
>
> http://tools.ietf.org/html/**rfc1730#section-6.3.10<http://tools.ietf.org/html/rfc1730#section-6.3.10>
>
> From the roundcube imap class:
>
>      /**
>>      * Append a mail message (source) to a specific folder
>>      *
>>      * @param string  $folder  Target folder
>>      * @param string  $message The message source string or filename
>>      * @param string  $headers Headers string if $message contains only
>> the body
>>      * @param boolean $is_file True if $message is a filename
>>      * @param array   $flags   Message flags
>>      * @param mixed   $date    Message internal date
>>      * @param bool    $binary  Enables BINARY append
>>      *
>>      * @return int|bool Appended message UID or True on success, False on
>> error
>>      */
>>     public function save_message($folder, &$message, $headers='',
>> $is_file=false, $flags = array(), $date = null, $binary = false)
>>     {
>>         if (!strlen($folder)) {
>>             $folder = $this->folder;
>>         }
>>
>>         if (!$this->check_connection()) {
>>             return false;
>>         }
>>
>>         // make sure folder exists
>>         if (!$this->folder_exists($**folder)) {
>>             return false;
>>         }
>>
>>         $date = $this->date_format($date);
>>
>>         if ($is_file) {
>>             $saved = $this->conn->appendFromFile($**folder, $message,
>> $headers, $flags, $date, $binary);
>>         }
>>         else {
>>             $saved = $this->conn->append($folder, $message, $flags,
>> $date, $binary);
>>         }
>>
>>         if ($saved) {
>>             // increase messagecount of the target folder
>>             $this->set_messagecount($**folder, 'ALL', 1);
>>         }
>>
>>         return $saved;
>>     }
>>
>
>
>
>  Scheduled Workflow (to run workflow at scheduled time) is only available
>> in On Demand edition.
>>
>
> That's a shame :-(
>
> Al
>
>
> ______________________________**_________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20130913/f1b841f2/attachment.html>


More information about the vtigercrm-developers mailing list