LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   send greating card (https://www.linuxquestions.org/questions/programming-9/send-greating-card-4175468842/)

nawal1991 07-08-2013 04:37 AM

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 ..

vmccord 07-08-2013 09:00 AM

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

dugan 07-08-2013 12:33 PM

Quote:

Originally Posted by nawal1991 (Post 4986074)
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.

vmccord 07-08-2013 01:14 PM

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.

nawal1991 07-08-2013 01:21 PM

Sorry for unclear question ,,


I want like this Idea : http://www.systems1001.com/ecard.php

dugan 07-08-2013 05:47 PM

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.


All times are GMT -5. The time now is 09:56 AM.