Example #1
0
    private void SendEmail()
    {
        string body = string.Format(@"

A message has been left on woodlandlife.co.uk.

From: {0}
Email: {1}
Phone: {2}
Add to mailing list?: {3}

Message:

{4}",

                                    Name.Text,
                                    EmailAddress.Text,
                                    Phone.Text,
                                    MailingList.SelectedValue,
                                    Message.Text);


        JuggleDrumManager.Email email = new JuggleDrumManager.Email("Contact Us Message", body);
        email.Send();
    }
Example #2
0
    private void SendEmail()
    {
        string body = string.Format(@"

        Someone wants to sign up to the think-tank mailing list.

        From: {0}
        Email: {1}
        Phone: {2}

        Message:

        {3}",

        Name.Text,
        EmailAddress.Text,
        Phone.Text,
        Message.Text);

        JuggleDrumManager.Email email = new JuggleDrumManager.Email("Think Tank Message", body);
        email.Send();
    }
Example #3
0
    private void SendEmail()
    {
        string body = string.Format(@"

Someone wants to sign up to the think-tank mailing list.

From: {0}
Email: {1}
Phone: {2}

Message:

{3}",

                                    Name.Text,
                                    EmailAddress.Text,
                                    Phone.Text,
                                    Message.Text);


        JuggleDrumManager.Email email = new JuggleDrumManager.Email("Think Tank Message", body);
        email.Send();
    }
Example #4
0
    private void SendEmail()
    {
        string body = string.Format(@"

        A message has been left on woodlandlife.co.uk.

        From: {0}
        Email: {1}
        Phone: {2}
        Add to mailing list?: {3}

        Message:

        {4}",

        Name.Text,
        EmailAddress.Text,
        Phone.Text,
        MailingList.SelectedValue,
        Message.Text);

        JuggleDrumManager.Email email = new JuggleDrumManager.Email("Contact Us Message", body);
        email.Send();
    }