programming

C# Source Code to send email

Taggings:

How to detect the country of the website visitor in Drupal

<p>We want to detect the country of a website visitor in Drupal in order to redirect the user automatically to a specific page according to its country (or to compute the correct lanuage&nbsp;or currency for the current user)</p>

Send an e-mail with C#

<p class="MsoNormal" style="MARGIN: 0in 0.9pt 0pt 17.6pt; LINE-HEIGHT: normal; tab-stops: .5in; mso-layout-grid-align: none"><span style="color: #000000;"><span style="FONT-SIZE: 11.5pt; FONT-FAMILY: 'Segoe UI','sans-serif'">We want to write a class that can be used to send an email to a selected email address. This class should have four properties namely: To, From, Subject, and Body, </span><span style="FONT-SIZE: 11.5pt; FONT-FAMILY: 'Segoe UI','sans-serif'; mso-ansi-language: DE" lang="DE">and a method to send the email (in the current version, attachements are not covered).<br /></span></span></p><p class="MsoNormal" style="MARGIN: 0in 0.9pt 0pt 17.6pt; LINE-HEIGHT: normal; tab-stops: .5in; mso-layout-grid-align: none">&nbsp;</p><p class="MsoNormal" style="MARGIN: 0in 0.9pt 0pt 17.6pt; LINE-HEIGHT: normal; tab-stops: .5in; mso-layout-grid-align: none">&nbsp;</p><p class="MsoNormal" style="MARGIN: 0in 0.9pt 0pt 17.6pt; LINE-HEIGHT: normal; tab-stops: .5in; mso-layout-grid-align: none">&nbsp;</p>

How to Send SMS in Java

<p class="MsoNormal" style="margin: 0in 0in 10pt;"><span style="font-size: small;"><span style="color: #000000;"><span style="font-family: Calibri;"><span style="mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-font-kerning: 18.0pt;">We want to write a java code and use it in order to be able to send SMS</span><span style="mso-bidi-language: AR-SY; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-font-kerning: 18.0pt;">&acute;s to a mobile phone through http </span></span></span></span></p>

tinymce javascript code

Extend Typo3 with custom functionality

Typo3 is a powerful content management system with a rich framework for extensions. However for simple tasks it can be too much work to write a fully-fledged extention. The goal is to integrate small server-side programs into a typo3 managed website with less work.

Speeding up project using Zend_Db

<p>An existing project realized with the Zend Framework should be optimized in terms of performance. The use of Zend_Db slows down the database access because of its automatic table-scanning and overhead. The SQL-queries as well as the table structures are already optimized and should not be changed. The configuration on the server environment:</p><ul><li>PHP 5.2.6</li><li>MySQL Server Version: 5.0.75</li><li>Zend Framework 1.5</li><li>Apache 2.6.28-16</li><li>Suhosin-Patch 0.9.6.2</li></ul><p>The update to a newer version of Zend Framework is right now not possible because of some migration problems. The changes in the code should be measurable and viewable with XDEBUG/kcachegrind.</p>

Securing web pages written in PHP

<p>An existing web page with no special focus on safety should be secured against different kinds of attacks. The page is located on a shared web server on which no special privileges are granted. The versions of the software used in the environment are the following:</p><ul><li>PHP 5.2.6</li><li>MySQL Server Version: 5.0.75</li><li>Zend Framework 1.5</li><li>Apache 2.6.28-16</li><li>Suhosin-Patch 0.9.6.2</li></ul><p>PHP-Configuration:</p><ul><li>safe_mode off</li><li>magic_quotes_runtime off</li><li>magic_quotes_gpc off</li></ul><p>Especially the parameters should be checked against malicious contents.</p><p>GET-Parameters:</p><ul><li>site, string</li><li>nodeid, integer</li><li>action, string</li></ul><p>The POST-Parameters are variable and should just allow alphanumerical values and punctuation marks.</p><p>XSS, SQL Injection and directory traversal should be avoided. The Solution should be easy to understand, configurable and flexible. Already finished libraries and tools which are tested will be accepted.</p>

Securing a service using WS-Security

<p>We have an existing Web-Service accessible to everyone who knows the address of the endpoint. The software used on the server:</p><ul><li>Java 6</li><li>Apache CXF 2.2.3</li><li>SOAP Webservice</li></ul><p>Because of massive abuse in the past the access should be limited to authorized people only. The login credentials are stored in a database and should be checked with every request made on the service. The login data should be transmitted in the SOAP-Envelope header and an interceptor should&nbsp; verify the data before the actual invocation of a webservice method. The solution should be based on an open standard which is well defined.</p>

process mailbox and extract attachments to directory

<p>Given is a network scanner, which has the ability to mail scans to a mailbox. the solution should contain a mailbox on a linux (ubuntu) server (already there) to which the mails are sent. in order to automate to process of opening a mail client and saving the attached scans to a folder, a script should be developed which listens for new mails in the mailbox and automatically extracts the attachments and saves them to a folder.</p>

Pages

Subscribe to programming