FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Problem with attaching file (from a form) to email in PHP
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Problem with attaching file (from a form) to email in PHP [message #172756 is a reply to message #172751] Mon, 28 February 2011 01:16 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 2/27/2011 6:57 PM, Cameleon wrote:
> On Feb 27, 1:41 pm, Jerry Stuckle<jstuck...@attglobal.net> wrote:
>> On 2/27/2011 10:18 AM, Luuk wrote:
>>
>>> On 27-02-11 16:04, Cameleon wrote:
>>>> On Feb 26, 2:36 pm, Jerry Stuckle<jstuck...@attglobal.net> wrote:
>>>> > Which is why I use phpmailer. It's much better than trying to send by hand.
>>
>>>> Thanks Jerry,
>>
>>>> you are right about using phpmailler... but I tried it and couldn't
>>>> find much unformations, andnwas not able to use it properly... do you
>>>> have any documentation or code example to do something like I'm trying
>>>> to?
>>
>>> http://phpmailer.worxware.com/index.php?pg=examples
>>
>> http://www.lmgtfy.com/?q=phpmailer+examples
>>
>> All kinds of good examples - including the first one being the link Luuk
>> posted.
>>
>
> Tnak you all... seems very promising.
>
> a last question... if it says
>
> require_once '../class.phpmailer.php'
>
> does that mean that I copy this file in the root directory of my
> server (where the main index.htm file reside, and do I have to
> copy all other phpmailer files too...

In the example given, that would be relative to the file including
phpmailer. Since the example is in the root directory of your web
server, the phpmailer class file would be one level below the root
directory.

Remember - examples are meant to be exactly that - EXAMPLES. They
provide guidance, but are NOT necessarily correct for your specific
installation. They often need to me modified as necessary.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SOCIAL NETWORK FOR PHP PLATFORM..
Next Topic: HTML select field where the OPTION text is of different colors
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 21:25:09 GMT 2024

Total time taken to generate the page: 0.04270 seconds