[FX.php List] Email attachments in PHP

Gjermund Gusland Thorsen ggt667 at gmail.com
Wed May 28 13:45:33 MDT 2008


tmp files are always stored in /tmp/ or in a similar php specifix temp
directory.

ggt

2008/5/28 Bob Patin <bob at patin.com>:
> thanks,
>
> The question would be where the attachment is saved so that it can get
> attached to an email... that's why I'm thinking it might not be possible.
>
> What I'm trying to do is send a MIME attachment with some XML in it; I'm
> assuming that putting the XML code into an email won't do it, is that right?
> From reading the spec for this particular market that I'm dealing with, they
> expect a text email with the info in plain text, with a MIME attachment
> containing the XML code...
>
> Bob Patin
> Longterm Solutions
> bob at longtermsolutions.com
> 615-333-6858
> http://www.longtermsolutions.com
> FileMaker 9 Certified Developer
> Member of FileMaker Business Alliance and FileMaker TechNet
>
>  CONTACT US VIA INSTANT MESSAGING:
>     AIM or iChat: longterm1954
>     Yahoo: longterm_solutions
>     MSN: tech at longtermsolutions.com
>     ICQ: 159333060
>
> --------------------------
> Contact us for FileMaker hosting and programming for all versions of
> FileMaker
> PHP • CDML • Full email services • Free DNS hosting • Colocation •
> Consulting
>
> On May 28, 2008, at 2:12 PM, Gjermund Gusland Thorsen wrote:
>
>> With pear mail that should be possible, no clue to how, I know python
>> has better functions for that amongst other things.
>>
>> Remember php is mainly for parsing text, however it should be fully
>> doable in php!
>>
>> http://pear.php.net/ might be your way to go?
>>
>> ggt
>>
>>
>> 2008/5/28 Bob Patin <bob at patin.com>:
>>>
>>> I've got a client for whom I need to generate a small text file, attach
>>> it
>>> to an email, and send it, all from within PHP.
>>>
>>> Is this doable, and if so, how would I go about it? the text file would
>>> be
>>> very tiny, and the content of it would be generated in PHP code.
>>>
>>> Thanks for any guidance,
>>>
>>> Bob Patin
>>> Longterm Solutions
>>> bob at longtermsolutions.com
>>> 615-333-6858
>>> http://www.longtermsolutions.com
>>> FileMaker 9 Certified Developer
>>> Member of FileMaker Business Alliance and FileMaker TechNet
>>>
>>> CONTACT US VIA INSTANT MESSAGING:
>>>   AIM or iChat: longterm1954
>>>   Yahoo: longterm_solutions
>>>   MSN: tech at longtermsolutions.com
>>>   ICQ: 159333060
>>>
>>> --------------------------
>>> Contact us for FileMaker hosting and programming for all versions of
>>> FileMaker
>>> PHP • CDML • Full email services • Free DNS hosting • Colocation •
>>> Consulting
>>>
>>> _______________________________________________
>>> FX.php_List mailing list
>>> FX.php_List at mail.iviking.org
>>> http://www.iviking.org/mailman/listinfo/fx.php_list
>>>
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>


More information about the FX.php_List mailing list