Hi Anees,
How to fetch all the attachments in a single mail ??
the code below downloads only the first attachment in a mail and not the
other ones..
when fetching for other parts of the mail ie
$part = $message->getPart(3 or 4 );
it doesn't wor
Hi Anees,
How to fetch all the attachments in a single mail
it downloads only the first attachment in a mail and not the other ones..
when fetching for other parts of the mail ie
$part= $message->getPart(3 or 4 );
it doesn't works !
plz
Hi anees
Thx for the continous help instead ..
One thing more here . i am getting only the first attachment of a mail
getting downloaded .
How to download all the attachments in a single mail... ?
Anees wrote:
>
>
> Yes, I think there should be some methods to do some tricks with POP3
>
>
Yes, I think there should be some methods to do some tricks with POP3
i just checked and saw the method
void setFlags (int $id, array $flags)
from the Zend_Mail_Storage_Writable_Interface class
just try with this
mean while i too have a check with it.
phpbrat wrote:
>
>
> but i wanted
Hi,
The code which i have used for listing the Mails is not filtering any
messages
By default it is listing all the messages from the POP3 mail server
phpbrat wrote:
>
> I want to list ALL messages from INBOX whenever i access through the
> script ..
> Presently the script lists the NEW messa
Ya ur right ..
but i wanted to share with you that i m getting only those messages listed
that are just newly mailed to the server and once i access thru the script
.. on coming again i don't get any untill 'n unless there is new one on the
server ?
i dont't have any idea bout this .. maybe u can
Hi anees ,
thx a lot for the help.. it works great !
One thing more here'
I want to list ALL messages from INBOX whenever i access through the script
..
Presently the script lists the NEW messages only and not those which were
earlier accessed thru this script.
Is there any workaround for this??
Hi
am just including the core part of the attachment saving
'mail.mailserver.com','user'=>'u...@server.com','password'=>'pass123'));
//This foreach loop is using to saperate each message as the
number of
messages
$msg= 0;
Hi Anees,
i want to download attachment from a pop3/imap mail account using Zend
framework ..
Can you please help me with this ? the script flow..
Thanks in advance.
Brat
Anees wrote:
>
>
>
> Anees wrote:
>>
>>
>> $fh = fopen($name,'w') or die("can't open file");
>> fwrite($fh,$content)
Anees wrote:
>
>
> $fh = fopen($name,'w') or die("can't open file");
> fwrite($fh,$content);
> fclose($fh);
>
Hi
there was a mistake where i used fopen.
I given the saving location as $sitename."/dir".$filename
instead
$_server['DOCUMENT_ROOT']."/dir/".$filename
Thanks
again
i am looking f
Hi
Thanks for your reply Martin, Bruno n j5
I just read the messages of an email address using Zend_Mail_Storage_Pop3
$mail = new Zend_Mail_Storage_Pop3(array('host'=>
host.com','user'=>'[EMAIL PROTECTED]','password'=>'pass'));
i took a particular message (it includes attachment)
$message = $
Perhaps Anees is looking for an efficent file storage algorithm? In order to
organize the attachment files on the server so you wont run into max file
per directory limits?
If so, I am looking for some ideas on this as well.
Anees wrote:
>
> Hi
>
> i am developing a module that sores all emai
Anees wrote:
> Hi
>
> i am developing a module that sores all emails coming to an account into a
> database
> and i have succeeded in that using Zend_Mail_Storage_Pop3 calss
>
> and also i am getting the information about the attachments that sending
> with mail
> i can display it, download it..
Anees wrote:
>
> [...]
> But i need to store the file into a location in server
> how i can do this?
>
with 'the file' you mean the attachment?
What is your problem exactly? Don't you know the php-command for opening and
writing to a file? Are you concerned about security? etc.
-
http://
Hi
i am developing a module that sores all emails coming to an account into a
database
and i have succeeded in that using Zend_Mail_Storage_Pop3 calss
and also i am getting the information about the attachments that sending
with mail
i can display it, download it.. (using header() function )
Bu
15 matches
Mail list logo