Friday, 28 June 2013

Sending Mail in C#

Send mail using below code in C#

using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class _Default : System.Web.UI.Page
protected void Page_Load(object sender, EventArgs e)

protected void BtnSend_Click(object sender, EventArgs e)
System.Net.Mail.MailMessage obj = new System.Net.Mail.MailMessage();
obj.From = new System.Net.Mail.MailAddress(TxtFrm.Text);
if (TxtTo.Text.Contains(","))
string[] to = TxtTo.Text.Split(',');
foreach (string r in to)
obj.To.Add(new System.Net.Mail.MailAddress(r));
obj.To.Add(new System.Net.Mail.MailAddress(TxtTo.Text));
obj.CC.Add(new System.Net.Mail.MailAddress(TxtCc.Text));
obj.Bcc.Add(new System.Net.Mail.MailAddress(TxtBCc.Text));
obj.Subject = TxtSub.Text;
obj.IsBodyHtml = true;
System.Net.Mail.Attachment att = new System.Net.Mail.Attachment(FileUpload1.PostedFile.InputStream,FileUpload1.PostedFile.FileName,FileUpload1.PostedFile.ContentType);
obj.Body = Txtbdy.Text;
System.Net.Mail.SmtpClient smtp = new System.Net.Mail.SmtpClient("", 25);
catch (Exception ex)

Thursday, 27 June 2013

Test Post from PHP training in Vadodara, .NET Training in Vadodara by Pace Infonet

Test Post from PHP training in Vadodara, .NET Training in Vadodara by Pace Infonet

Wednesday, 26 June 2013

A New Plugin to Make Your WordPress Site Mobile-Friendly

Responsive WordPress design is all the rage these days.
More and more folk are accessing the web via tablets and smartphones, and WordPress designers are scrambling to make themes that can gracefully adapt to smaller screens.
If you’re not quite ready to abandon the non-responsive WordPress theme that you’re currently using, but still want to make your site more mobile-friendly, you might consider the WP Mobile Detector Plugin, written by the team at Websitez.
What it does
    Detects whether your WordPress site is being accessed on a) a smartphone or b) a regular mobile device.
    Automatically loads your site with a mobile-friendly theme of your choice (your original theme still displays when your site is accessed from a normal computer).
    When your site is viewed on a regular cell phone, the plugin disables all images and advanced HTML, for quicker loading and less hassle.
    If viewed on a smartphone, the plugin resizes any images that are too large to display properly.
    Offers mobile analytics – you can track the stats of your mobile visitors and see what kind of devices they’re using (smartphone or regular cellphone).
The idea is that everyone who accesses your WordPress site gets a customized version that’s best suited to the device they’re using.
WP Mobile Detector comes in two flavors: Free (available in the WordPress Plugin Directory), and Premium (available for download at Websitez for $49.95).
What you get in the free version
    Mobile analytics
    A choice of seven mobile-ready WordPress themes, built on the jQuery Mobile Framework. (These come pre-installed with the plugin, but you can add as many more themes as you want).
What you get in the paid version
Everything in the free version, plus:
    An additional two pre-installed themes (for a total of nine)
    Mobile ad support, so any advertising on your WordPress site can be optimized for a mobile audience
    A theme editor that allows you to customize your mobile themes (change colors, add logos etc)

Wapple Architect Mobile Plugin for WordPress

This WordPress plugin is designed to mobilize a blog within just a few minutes. The plugin detects every mobile device that reaches your site, and the plugin tailor makes each aspect of the blog to fit that particular handset. This plugin detects by using Wapple’s web services instead of using a third part tool. Any theme that has been established on your site will be carried to the mobile version in order to keep a consistent look.
    Keeps the same URL of the site without redirecting to the mobile version
    Retains SEO for the site
    Supports characters from multiple language
    Allows users to comment from mobile.
    Complete freedom over how the mobile site is styled. A few settings can be edited to adjust the look and style of the site.
    Every element of the mobile site is controlled from the size of individual images and posts. Tags and categories and even the wording can be changed as well.
This is a free plugin, which allows anyone to download it, but it does have a lot of features to it. Everything is not automatic, but it does provide the user with a good number of features and customization.
In order to fully utilize all of the features that the plugin provides, it is best for a small agency to use this plugin. For independent users there are other plugins that are a good bit simpler to use.

WP Mobile Splash Page Editor

The WP Mobile Splash Page Editor gives you unlimited control in terms of styling. There are several options that involve everything from the color to the logo design, and you can easily create a mobile splash page to meet the look and style of your WordPress site. In addition to providing you with a customizable splash page, there is also the dedication towards speed to make the page load quickly, and it also has no impact on your SEO as well.
    Easy to edit content
    Unlimited styling
    PageSpeed of 100/100
    Optimized for Mobile Internet
    Native Phone Features Support
This is a splash page editor, which helps the user create an instant page in order to attract more users to their site.
Because a splash page has to have an immediate appeal, the ability to customize and style it with limitless possibilities helps make this plugin useful for any developer, but only those looking to drive more traffic to their site through mobile devices.
Independent developers with this goal in mind can find good use out of this plugin as well as small agencies to help increase the traffic to several webpages.

Mobile Smart Pro

The Mobile smart Pro plugin is used to allow web developers to easily customize their webpage for mobile devices. Once you have the plugin, each page and post will have the option of being adjusted for mobile pages, and you can add specific content to the mobile version of the page. In fact, you can even take things a step further by adding mobile-specific versions of the theme and mobile-specific menus.
    Mobile Device Detection
    Theme switching that moves to a mobile theme specified by the web developer
    Footer Switcher to switch between the mobile and desktop versions of the website
    Tablet mode that gives the ability to enable and disable an automatic switch for tablets such as iPad and Android tablets
    Developer features that include template tags to customize the theme for different devices. There is also the “unstyled” theme to keep the theme the same for different
Premium Features
    Domain switching that redirects users to the mobile version of your site, which requires you to change some of your DNS settings
    Mobile pages that give you mobile-specific text content and the same edit screen as the desktop content
    Mobile menus that allow you to set up mobile-specific menus to make navigation easier
This plugin has two versions and both are useful, but some of the key features of the plugin are only included in the premium version. This means that it has a cost.
For independent developers with very small and simple websites, there is no need for this plugin as the additional features won’t prove very useful. For developers of larger sites or a group of developers, the premium version of this plugin will allow for a greater amount of customization and optimization for a mobile site.
The plugin requires some coding experience and in depth knowledge of things such as DNS settings, so it should only be handled and used by a more experienced developer.

Superb Mobile WordPress Plugins - DudaMobile Website Developer

The DudaMobile Website Developer plugin works to make it an easier task for developers to convert their WordPress website into a mobile-friendly webpage.  Some of its major benefits is that it is fast as well as free. The plugin allow you to customize your site and pick several features to add to the webpage, which includes things such as click-to-call, mobile, maps, and contact forms. There is also the site editor to help customize other features of the mobile site and add additional things as well.
    Quickly coverts WordPress website into a more mobile-friendly website
    Keeps the same look and feel of older WordPress sites
    Automatically syncs with the your current WordPress site
    Optimized to operate and function on all smartphones
    Automatically redirects every visitors from a mobile device to the mobile version of the site
    Site analytics are available for free
    Works with both Google Analytics and AdSense
    No coding necessary to operate and use the plugin
Because it is both simple and free, this is a good plugin for all users. Independent developers can make use of the simple interface to quickly optimize their site and make it mobile ready. The plugin allows for experimentation and it provides you with a preview of what it will look like on smartphones before it is published.
Major web developers and agencies can make use of this plugin as well to quickly optimize several sites or customize a site for mobile use without worry about additional complicated features.
This is a very basic plugin though. For those looking for more tools and resources a premium mobile plugin would be a better option.