• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1830
  • Last Modified:

Add Email Address in SEND EMAIL button

I got CONTACT US page in my website.Where there is a contact form i have setup but i am not getting that how to make the SEND EMAIL button to make it work so i can recieve the message directly on my email address
Untitled.jpg
0
ibrahim52
Asked:
ibrahim52
  • 14
  • 11
1 Solution
 
ibrahim52Team LeaderAuthor Commented:
This is the source code and please tell me where i should add the code of your solution.
code.txt
0
 
Michel PlungjanIT ExpertCommented:
Change
<form name="contactform">
to

<form name="contactform" action="mailto:ibrahim52@hisprovider.com" enctype="text/plain">


unless you want to use the safer method of using your ISPs sendmail (if they have it)

The above means that the CLIENT must have a working email setup
0
 
ibrahim52Team LeaderAuthor Commented:
No success.I tried to edit and checked but not working.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
Michel PlungjanIT ExpertCommented:
I forgot
method="post"



<form name="contactform" action="mailto:ibrahim52@hisprovider.com" enctype="text/plain" method="post">


I received

name=Michel
email=Test@test.test
attn=Technical Support
msg=Test message
Submit=Send Email


0
 
ibrahim52Team LeaderAuthor Commented:
oh alright,let me check
0
 
ibrahim52Team LeaderAuthor Commented:
No its still not working.
0
 
Michel PlungjanIT ExpertCommented:
That is not very informative
What did you do. What did your email client do. Do you HAVE an email client installed. Which one. What platform. Did you try on more computers. Did you get any error message
0
 
ibrahim52Team LeaderAuthor Commented:
oh k,you mean to say whenever the visitor will click that Send button.The default email client will appear ?
0
 
Michel PlungjanIT ExpertCommented:
No. with POST, the normal thing that happens on windows is that you are warned that this email will be sent with your email client.
with GET it will open the client, but then you need to use subject and body as field names to get the contents into the email.

That is how mailto: works. If that is not how you want it (for example because it is not certain that the user has an email client (for example in an internet cafe or on a phone), then you need to use a server mailing process. Most ISPs have sendmail.
0
 
ibrahim52Team LeaderAuthor Commented:
exactly,i need that.But how should i setup
0
 
Michel PlungjanIT ExpertCommented:
depends on your server/ISP.

Look at their support pages.
0
 
ibrahim52Team LeaderAuthor Commented:
Hmmm..Then i guess i should contact them and ill let you know.Thanks by the way
0
 
ibrahim52Team LeaderAuthor Commented:
My problem has still not been resolve.Can i re-open this post?
0
 
ibrahim52Team LeaderAuthor Commented:
Thank you very much.Well so as i have posted that screenshot and i tried to do exactly posted here but still i am not recieving any mail on my mentioned email address.So i am posting my webpage.Please have a look

codes.txt
0
 
Michel PlungjanIT ExpertCommented:
but I have already answered this in comment #22937523

<form name="contactform">

does NOT have an ACTION so of course it does nothing,

Change it to

<form name="contactform" action="mailto:ibrahim52@hisprovider.com" enctype="text/plain" method="post">

to use mailto or

<form name="contactform" action="theNameOfTheMailProgramOfYourProvider.php" method="post">
to use the program suppied by your provider. It could be called
sendmail.php or similar




0
 
Michel PlungjanIT ExpertCommented:
and change
ibrahim52@hisprovider.com
to your valid email address
0
 
ibrahim52Team LeaderAuthor Commented:
yeah thats what,i am extremely sorry.I just checked the HTML ,the command wasnt mentioned.I am rechecking and ill let you know.Thank you.
0
 
ibrahim52Team LeaderAuthor Commented:
Alright,so i have done the editing.Now if i am trying from internet explorer i am hving one pop up with this message

Could not perform the operation because the default mail client is not properly installed.
0
 
Michel PlungjanIT ExpertCommented:
My FIRST comment was:

unless you want to use the safer method of using your ISPs sendmail (if they have it)

The above (e.g. mailto) means that the CLIENT must have a working email setup

0
 
ibrahim52Team LeaderAuthor Commented:
thank you
0
 
Michel PlungjanIT ExpertCommented:
May I ask why a "B" grade? I believe I have fully explained all issues.
0
 
ibrahim52Team LeaderAuthor Commented:
But still the problem has not been resolved on my webpage.I didnt mean to give B intentionally.
0
 
Michel PlungjanIT ExpertCommented:
Sometimes a "NOT POSSIBLE" is a valid answer - if the client does not install a mail client, then no-one can help you.

I mean it is the same if your client does not have a computer, then they cannot send you mail. That I cannot help with of course

I have explained in details what to do with your form and suggest you use a server mailer - you need to contact your ISP for that

0
 
ibrahim52Team LeaderAuthor Commented:
But i am having one more website of my company with the same look of the page.That works like a charm.But this page doesnt work.
0
 
Michel PlungjanIT ExpertCommented:
So show me both pages and I will see if I can see what the difference is
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 14
  • 11
Tackle projects and never again get stuck behind a technical roadblock.
Join Now