Solved

How I send image to email

Posted on 2011-02-12
7
139 Views
Last Modified: 2013-11-27
How I can send image to email ?

I have this site how I can add some script to send the displayed image without big modification

http://www.pgallery.bwor.net/InterPhoto-200.html

This is code responsible to display image
{if $previmageid}<a href="{'InterPhoto.php'|GetUrl:'id':$previmageid}" title="{$lan_prev}"><img src="{$templateurl}images/prevbutton.gif" align="absmiddle" class="prevbutton"></a>{else}<img src="{$templateurl}images/prev_next_no_button.gif" align="absmiddle" class="prevbutton">{/if}<img src="InterPhoto.image.php?file={$image.path|cat:"/"|cat:$image.imageid|cat:"/"|cat:$image.filename|InterEncode}" align="absmiddle" class="bigimage" />{if $nextimageid}<a href="{'InterPhoto.php'|GetUrl:'id':$nextimageid}" title="{$lan_next}"><img src="{$templateurl}images/nextbutton.gif" align="absmiddle" class="nextbutton"></a>{else}<img src="{$templateurl}images/prev_next_no_button.gif" align="absmiddle" class="prevbutton">{/if}

Open in new window

0
Comment
Question by:wz-exexch-fg
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 110

Expert Comment

by:Ray Paseur
ID: 34878419
Are you asking how you can send the image as an email attachment?  Or in the body of the email?

If it were my application, I might do neither, but instead send a URL link to the image with a note that tells the client, "To download this image, right click, copy and save."
0
 

Author Comment

by:wz-exexch-fg
ID: 34878425
send an email attachment
0
 
LVL 110

Accepted Solution

by:
Ray Paseur earned 250 total points
ID: 34878646
Make a Google search for these exact terms: php send email with attachment

Both PHP.net and SitePoint have good references.  Example:
http://php.net/manual/en/function.mail.php
http://articles.sitepoint.com/article/advanced-email-php

And PHP.net contains this nugget:
If intending to send HTML or otherwise Complex mails, it is recommended to use the PEAR package » PEAR::Mail_Mime.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 8

Assisted Solution

by:rationalboss
rationalboss earned 250 total points
ID: 34879246
0
 

Author Comment

by:wz-exexch-fg
ID: 35086023
I will check the all answers
0
 
LVL 16

Expert Comment

by:CWS (haripriya)
ID: 39680209
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question