In this tutorial, we are going to add free email sender tool (or whatever you call it) to our wapka site. It will allow your users to send free emails right from your wapka site with your own email address and much much more features. Lets do it.

First I should explain what we are going to do and what will be the benefits of this. At starting, lets talk about the Free Email sender API that I am using for this tutorial.

The free email sender API is the tool created by external site owner to allow users to add forms to their sites and send free emails to anyone, and on anytime of the day. The API is free of cost and will never be charged. Some of the features of this API are as following..

  • You will have to add simple form to your site and all the hasske if coding will be done by the API owner website.
  • Your users will feel that they are using the tool in your own site. I mean fully white labeled API.
  • If someone sending pranks emails or any other such cases, users will be able to ban that user from sending them emails. It can't bee reversed for now though.
  • Many many such other features have been introduced.
Now lets begin our tutorial and add this wonderful Free Email Sender API to our wapka sites.
  1. Login to your free wapka account. (There is new passport feature in wapka, use that for login.)
  2. Now click on site link at the bottom under [Site List], if you have not created then create new site as per need.
  3. you will see the main page of wapka with links to admin mode and others. Just click on "admin mode" to goto admin mode to add this free email sender API.
  4. Now we will create new page for this email sender API. Click :: EDIT SITE (#) :: > New page
  5. New Page with page creation form will be displayed, name this page as FREE EMAIL SENDER, click submit button to add the page or in other words create the page.
  6. Now click on created page link, we just created in step 5.
  7. Now Click :: EDIT SITE (#) :: > Text and new text in our new created page. In text write the following text. and after that click submit button to add this.
  8. Now add another text following step 7, but this time write th following text
      
  9. Now click :: EDIT SITE (#) :: > Users > Items visibility > now click g c t l p uagainst the created text in step 7 > click URL GET variable > in displayed form set the following values and after that click the submit button to set the item visibility on variables.
    Display item if URL : GET
    variable: : get-res
    is : [=] is equal
    than value: error
  10. Again follow the step 9, but this time do following. Click  g c t l p u against the text we created in step 8 > click URL GET variable > in displayed form set the following values and after that click the submit button to set the item visibility on variables.
    Display item if URL : GET
    variable: : get-res
    is : [=] is equal
    than value: sent
At this moment we have created the base page for our Free Email Sender tool. Now in the following part we will get our free email sender API form and key from wap-server.com. Lets do it.

  1. Goto wap-server.com
  2. Create your free account, http://wap-server.com/register.html. It will take 2 min to create your account.
  3. Login to your free account at wap-server.com
  4. After login goto View Cpanel > Developers > Free Email Sender API > There you will find some info and a form to create your API. Lets fill out the form.
    1. First field is email to use, in this email provide the email that will be used to send emails from, for example, user A send email then in the header of email your email will be displayed as the host email or Sender through email.
    2. Next field is Error URL, in this field you will have to provide the error url of your site to let the user know that email is not sent. We have created this error url in PART 1-Step 7. So we will just right in the field, here is an example.

      Now change XXXXX with your own wapka site name, YYY with the site id where you have added the text in 7,8 steps of part 1 above.
    3. Next field is similar to the above but in this field you will have to write th success URL, so users get to know that email has been sent. Here is the URL to write in this field.
       
      Now change XXXXX with your own wapka site name, YYY with the site id where you have added the text in 7,8 steps of part 1 above.
    4. Click the activate button, and if every things goes right, you will have to activate your mail address by verification.
  5. After that you will be able to verified the email, you will see the page where you will find code to add in your site, its HTML code and easy to add, in this code you will see API keys and many other things, please remember those for better experience.
  6. Now we have got the codes to add in our site, we will goto wapka page where we have added texts in part 1 step 7 and 8. we will add another code via :: EDIT SITE (#) :: > WML/XHTML code > in the textarea field write the code we just got in step 5 of this part. Click submit button to add the code.
  7. Thats it. We have successfully added the script and now our users can send free emails, right from our sites.
You should test it for better performance and try try and you succeed. :) Here is a DEMO page created by wap-server.com team. You can also try this here for better understanding http://mobile.wap-server.com/waptools/emailsender.

I hope, you have enjoyed this tutorial, keep visiting for more interesting tutorials. :)

Tagged: