473,763 Members | 8,423 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

mail() & attaching picture

How can i brows for picture on disk and then save it into array for mailing
?

------
www.podvodni-svijet.com

"Half-brother in blood,
full brother in heart will I be.
Thou shalt lead and I will follow.
May no new grief divide us."

Valar morghulis!
--
Remove all FAKEs when replying to mail !

Jul 17 '05 #1
6 2170
".: DeVa :." <FA********@FAK Epodvodni-svijet.com> wrote:
How can i brows for picture on disk and then save it into array for mailing
?


I never did this myself but it's probably similar to the plaintext/html email
examples you can find in the php manual:
http://ch2.php.net/mail
Instead of text/html you then would have image/jpeg or image/gif as mime type
and just add the binary data to the mail body.

Ja ne
Adrian

--
Sou desu-ka? O_o -_- x_x _
http://www.animelayer.net/ (Reviewdatenban k)

Jul 17 '05 #2
Yes i looked there, but didnt find anytthing that could help me....

If someone can post mi source or example for attaching picture with mail()
( MIME) i would be very very happy ant thanlofoul to him...

I searched all over the net and didnt find nothing good or it is not working
or it is bunch of unexplained self named variable code....

TNX VERY MUCH
Adrian Stutz [anime_layer] natipka¹e:
".: DeVa :." <FA********@FAK Epodvodni-svijet.com> wrote:
How can i brows for picture on disk and then save it into array for
mailing ?


I never did this myself but it's probably similar to the
plaintext/html email examples you can find in the php manual:
http://ch2.php.net/mail
Instead of text/html you then would have image/jpeg or image/gif as
mime type and just add the binary data to the mail body.

Ja ne
Adrian

Jul 17 '05 #3

".: DeVa :." <FA********@FAK Epodvodni-svijet.com> wrote in message
news:c5******** **@bagan.srce.h r...
Yes i looked there, but didnt find anytthing that could help me....

If someone can post mi source or example for attaching picture with mail()
( MIME) i would be very very happy ant thanlofoul to him...

I searched all over the net and didnt find nothing good or it is not working or it is bunch of unexplained self named variable code....

TNX VERY MUCH


I looked once, and got this:
http://www.zend.com/zend/spotlight/s...emailpart1.php

Have fun.

Garp
Jul 17 '05 #4
Yes i tryed that one allready, tnx... i found it by myself and its all
working just fine now :))

Bett ya that i head a good time :)

Garp natipka¹e:
".: DeVa :." <FA********@FAK Epodvodni-svijet.com> wrote in message
news:c5******** **@bagan.srce.h r...
Yes i looked there, but didnt find anytthing that could help me....

If someone can post mi source or example for attaching picture with
mail() ( MIME) i would be very very happy ant thanlofoul to him...

I searched all over the net and didnt find nothing good or it is not
working or it is bunch of unexplained self named variable code....

TNX VERY MUCH


I looked once, and got this:
http://www.zend.com/zend/spotlight/s...emailpart1.php

Have fun.

Garp

Jul 17 '05 #5
Hello,

On 04/12/2004 12:58 PM, .: DeVa :. wrote:
How can i brows for picture on disk and then save it into array for mailing


You need to use a form to upload the picture to the server and then
compose and send a message attaching the picture.

You may want to try this class to generate and handle the file upload
with the form:

http://www.phpclasses.org/formsgeneration

and this other class to compose and send the message attching the
picture file:

http://www.phpclasses.org/mimemessage
--

Regards,
Manuel Lemos

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/

Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html
Jul 17 '05 #6
".: DeVa :." <FA********@FAK Epodvodni-svijet.com> wrote in message news:<c5******* ***@bagan.srce. hr>...
Yes i looked there, but didnt find anytthing that could help me....

If someone can post mi source or example for attaching picture with mail()
( MIME) i would be very very happy ant thanlofoul to him...


1. <http://phpmailer.sourc eforge.net/>
2. <http://www.google.com/search?q=php+ma il>

--
http://www.sendmetoindia.com - Send Me to India!
Email: rrjanbiah-at-Y!com
Jul 17 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3404
by: Dariusz | last post by:
I have a problem with a call a Javascript "window.open()" function which is executed as part of a PHP file when a user clicks on an thumbnail image. The PHP is executed which passes some variables to Javascript to execute the new window opening. But as it does this, the main window is loaded which is blank (the browser URL bar shows the URL of the URL passed to the PHP / Javascript script). I would like to keep the gallery page visible...
5
1263
by: Ken | last post by:
I want to write a js variable inside a function to a web page. test.js try_picture(); function try_picture() { var picture = '<tr><td colspan=2 align=right><font size=2>Picture &nbsp;&nbsp;5:&nbsp;</font></td><td colspan=2><input type=file size=68 name="picture5"></td></tr>'; }
4
28196
by: Ed Landau | last post by:
In VB6.0, I can put an image on a form and assign it's .picture property at run-time. In VBA (within MS Access), when I put down an image control on a form, it asks me for the source to the image (at design-time). Why? Why can't I find PictureBox in VBA within MS Access? And most importantly...why can't I put either in a Report within MS Access? What I really want is to be able to display pictures in an MS Access report (pictures...
1
5318
by: Sachin Kuchinad | last post by:
Hi All I am using .NET Framework version 1.0.3705 to build a website. Now i have made a webform and on that i have added a dropdown to the page I bind this listbox to a datareader . This does not happenm , i have no clue what the problem is I am attaching the error <font color='red' >
1
1558
by: rb | last post by:
I am making a simple inventory control db. I want to include a picture of the item in each record. The picture will be from digital camera and in jpg format. I want to be able to browse and choose the picture as i am inputting info about each item. It would be best if the picture was imbedded into the db rather than a link to jpg file. thanks for any help ron
0
5573
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted ******************************************************** For this teeny job, please refer to: http://feeds.reddit.com/feed/8fu/?o=25
2
2253
by: avi1000 | last post by:
Hi I have a Word file with a picture inside that I have inserted and saved as HTML filtered. I'm trying to send the mail so that the Word doc will appear as the body of the mail with the picture inside in the right place like in the doc. (and not as ana attachment) I know how to send a regular text Word email - I'm using the File.ReadAllText() method. Is there a way to send an email with a picture inside? By the way, I know that there's the...
8
19234
AmberJain
by: AmberJain | last post by:
I'm having an mail account on yahoo mail. I formatted my HDD 3 days ago and reinstalled windows XP professional SP2. My problem is that I'm unable to attach any files to any of outgoing mail in my yahoo mail account. The progress bar of yahoo "file attaching" operation just progress for infinite time without attaching anything. I tried this with IE 6.0 , IE 7.0 , opera 9.20 but ended with no success .
1
1488
by: Forsi | last post by:
Hello I don't know a thing about writing VBA Codes but this forum I was able thas helped me to finally figure out how to link the pictures to a path etc on a form. Everything works fine on the form - the pictures change with each employee etc, etc. However, when I select the command button "change picture" or "Remove", it opens the dialog box or the folder on the c:\drive etc and I can select a new picture or the one for deletion; BUT I...
0
9564
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10002
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9823
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7368
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6643
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5270
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5406
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3917
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3528
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.