LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-08-2013, 04:37 AM   #1
nawal1991
LQ Newbie
 
Registered: Feb 2013
Posts: 23

Rep: Reputation: Disabled
Thumbs up send greating card


hello ..


I have a page in website contain greating card ,


so I want the picture send by email when the click on the picture


how i do that by HTML or any thing ..
 
Old 07-08-2013, 09:00 AM   #2
vmccord
Member
 
Registered: Jun 2012
Location: Topeka, KS
Distribution: Mostly AWS
Posts: 71
Blog Entries: 31

Rep: Reputation: Disabled
Your question is not too clear on what and to whom you want to email with the image.

I like W3 for ideas. Sticking with html would be easier than php but is much more limited. The email example is near the bottom.
http://www.w3schools.com/html/html_forms.asp
 
Old 07-08-2013, 12:33 PM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,200

Rep: Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307
Quote:
Originally Posted by nawal1991 View Post
so I want the picture send by email when the click on the picture
No you don't. The Googlebot will be clicking on that picture many times a day.

Also, you can't send email with *just* HTML. You'll have to have some server side code sending the email.

Last edited by dugan; 07-08-2013 at 12:38 PM.
 
Old 07-08-2013, 01:14 PM   #4
vmccord
Member
 
Registered: Jun 2012
Location: Topeka, KS
Distribution: Mostly AWS
Posts: 71
Blog Entries: 31

Rep: Reputation: Disabled
I'm sorry, I wasn't clear either. I meant use the client email's service. But I'm not entirely sure what is being emailed to whom. I was thinking that a visitor would click on an image to initiate an email, like, "Click the image to send us an email." It's kind of hard to tell what the intent is.
 
Old 07-08-2013, 01:21 PM   #5
nawal1991
LQ Newbie
 
Registered: Feb 2013
Posts: 23

Original Poster
Rep: Reputation: Disabled
Sorry for unclear question ,,


I want like this Idea : http://www.systems1001.com/ecard.php
 
Old 07-08-2013, 05:47 PM   #6
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,200

Rep: Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307Reputation: 5307
You write an HTML form, and you write a server-side HTML form handler that sends email. Basically, you need to learn a server-side web technology (language and libraries) well enough to handle HTML forms and send emails from it.

There are a lot of technologies you can choose for the server-side handling of HTML forms (PHP et. al). An important factor in your decision will be what the hosting providers available to you support. All else being equal, though, I would pick Flask.

Last edited by dugan; 07-08-2013 at 10:02 PM.
 
  


Reply

Tags
html, php


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to send a string to function containing wild card paragkalra Programming 2 04-08-2010 12:51 AM
Postfix : mail cannot send to send outside ( can send/receive locally) bobbinsupport Linux - Networking 3 12-15-2007 10:40 PM
Send but not receive using Thinkpad with 3Com PC Card scottb Linux - Networking 1 07-15-2007 01:55 PM
3Com PC card can send but not receive slylock Linux - Networking 3 07-27-2005 08:52 PM
Problem getting mt card to recieve/send Seribicus Linux - Wireless Networking 0 10-13-2004 09:15 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration