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

Home » Imported messages » comp.lang.php » CLP - ON TOPIC! - Need PHP form email help, Please!
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: CLP - ON TOPIC! - Need PHP form email help, Please! [message #173133 is a reply to message #173130] Wed, 23 March 2011 18:26 Go to previous messageGo to previous message
Michael Vilain is currently offline  Michael Vilain
Messages: 88
Registered: September 2010
Karma:
Member
In article <230320111305395422%batwzrd(at)hotmail(dot)com>,
Tim <batwzrd(at)hotmail(dot)com> wrote:

> In article <4LZhp.79092$or1(dot)46990(at)newsfe26(dot)ams2>, Andy
> <andy(at)NOSPAMmanyplay(dot)com> wrote:
>
>> "Tim" <batwzrd(at)hotmail(dot)com> wrote in message
>> news:210320111731440609%batwzrd(at)hotmail(dot)com...
>>> I have a form in which the user can upload a photo, which is then sent
>>> to me along with the other data on the form. I have formatted the data
>>> into an HTML email with the photo attached. I would like the photo
>>> embedded in a specific place on the page, but I have not found the code
>>> to do this and don't know enough about it to write the code myself.
>>>
>>> It would also be nice to be able to have the photo, once uploaded, to
>>> replace the upload button and associated text on the page in the place
>>> I want the photo to appear. Then maybe send the page as is as an HTML
>>> email?
>>>
>>> Any help would be appreciated.
>>>
>>
>> Hi Tim,
>>
>> Have a look at phpmailer...
>>
>> http://phpmailer.worxware.com/
>>
>> ...if you can generate an html page that looks like the email page you
>> would
>> like to email, then phpmailer can wrap it all up, embed the images and send
>> it as email.
>>
>> Hope this helps
>>
>>
>> Andy
>>
> Actually, I think that is really the issue. if I could get the code to
> make the page, sending it as an email wouldn't be a problem.
>
> I also find it strange, and very frustrating, that I seem to have to
> become a php expert just to make this one form page behave the way I
> want. There are no references or tutorials that I have found that
> address this, and apparently no one wants to help other than chastising
> me for not already knowing everything.
>
> Could no one just say "it would work better to make the html as a page
> separate from the email"? I even suggested as much in my original post,
> yet no one acknowledged it.

Not so strange in my view as your requirements are rather specific. If
you accepted what existing packages do "out of the box" then you won't
have to learn php to customize your form. It's just in the nature of
the beast, IMO.

The php email packages deal specifically with how to send a variety of
email types from within php. You want to _embed_ a graphic in an email
body which requires you to learn how to encode create your own in-line
attachment and encode them rather than let a package do it for you. If
this is beyond your skill level, hire someone or change the requirements.

--
DeeDee, don't press that button! DeeDee! NO! Dee...
[I filter all Goggle Groups posts, so any reply may be automatically ignored]
[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
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: ip address of client
Next Topic: Islandnet.com dropping support for PHP4
Goto Forum:
  

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

Current Time: Sat Nov 23 23:23:02 GMT 2024

Total time taken to generate the page: 0.03296 seconds