?
Solved

How I send image to email

Posted on 2011-02-12
7
Medium Priority
?
142 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 111

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 111

Accepted Solution

by:
Ray Paseur earned 1000 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
WordPress Tutorial 3: Plugins, Themes, and Widgets

The three most common changes you will make to your website involve the look (themes), the functionality (plugins), and modular elements (widgets).

In this article we will briefly define each again, and give you directions on how to install them.

 
LVL 8

Assisted Solution

by:rationalboss
rationalboss earned 1000 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

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

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

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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.
Suggested Courses

741 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