Showing posts with label authentication. Show all posts
Showing posts with label authentication. Show all posts

Thursday, June 14, 2012

IP Authentication - We've Reached 10,000

At JangoSMTP, we stand apart from the crowd in many ways, and one of the most prominent is our ability to authenticate customers directly by IP address. In fact, we now have more than 10,000 IPs authenticating into our transactional mail relays worldwide! 

IP authentication allows customers to pass mail through the JangoSMTP mail relay from anywhere in their organization, without providing traditional account credentials (such as a username and password). Customers who choose to use IP authentication can add their outgoing email IP addresses to the IP authentication list. Then when we receive their email, we can recognize their IP address as a trusted client and forward the email right along. Sending is a breeze.

Add your IP addresses to the "Authenticated IP Addresses" list on the Settings page

JangoSMTP has proven to be a powerful tool for thousands or organizations sending email. They depend on the service for its' outstanding deliverability, reliability, tracking, advanced reporting, sending triggers, and more.  Setup is simple and even more so with the flexibility of IP authentication. Simply specify JangoSMTP as your outgoing email server in your email client or email server, add your IP to our "Authenticated IP Addresses" list under settings. And let us handle the rest. It's that easy! Note: Your IP should be dedicated (not dynamic or shared).

The IP authentication feature is one of JangoSMTP's superstars. Customers from more than 117 countries worldwide authenticate into the mail relays via IP and entrust us with their email delivery. If you haven't given this option of authentication a try we encourage it. Many find that it provides a high level of flexibility to their transactional sending needs.

How are you emailing? Drop us a line. Or an email. We'd love to hear from you! Thanks for using JangoSMTP.

Monday, January 23, 2012

Integrating JangoSMTP with Java

Since Oracle provides the JavaMail package for sending emails in Java, it's easy to integrate JangoSMTP into your current Java software.

First, you need to obtain the JavaMail library. If you're using the enterprise edition of Java, then you probably already have JavaMail installed. Otherwise, you will need to unzip the contents and add them to your buildpath in Eclipse, or your classpath in Windows. To add the package to your buildpath, click Project > Properties > Libraries > Add External JARs.

Then you can use JavaMail to connect to the JangoSMTP server and send a message. You should connect to relay.jangosmtp.net using your JangoSMTP credentials. We've already built a simple example that will connect to JangoSMTP to send a message.

Properties props = new Properties();
props.put("mail.transport.protocol", "smtp");
props.put("mail.smtp.host", "relay.jangosmtp.net");
props.put("mail.smtp.port", 25);
props.put("mail.smtp.auth", "true");
 
// set up a new authenticator
Authenticator Authorization = new SMTPAuthenticator();
Session JangoSMTPSession = 
             Session.getDefaultInstance(props, Authorization);
Transport transport = JangoSMTPSession.getTransport();
 
// this object will hold the details of the email
MimeMessage EmailMessage = new MimeMessage(JangoSMTPSession);
 
// store the plain text and HTML portions of our email
Multipart MultipartContent = new MimeMultipart("alternative");
 
// first set the plain text message
BodyPart part1 = new MimeBodyPart();
part1.setText(PlainTextMessage);
MultipartContent.addBodyPart(part1);
 
// then set the HTML message
BodyPart part2 = new MimeBodyPart();
part2.setContent(HTMLMessage, "text/html");
MultipartContent.addBodyPart(part2); 
 
EmailMessage.setContent(MultipartContent);
        
// Set the From Address.
// Must be a sender that is saved in your from-addresses.
EmailMessage.setFrom(new InternetAddress(FromAddress));
        
// Set the subject
EmailMessage.setSubject(Subject);
        
// set the to-address
EmailMessage.addRecipient(Message.RecipientType.TO,
                                new InternetAddress(ToAddress));
 
// Connect, Send the Message, and Close the Connection
transport.connect();
transport.sendMessage(EmailMessage, 
          EmailMessage.getRecipients(Message.RecipientType.TO));
transport.close();

With the authentication code that is in the example file, this code will allow you to construct and send a transactional email using JangoSMTP. This email will contain all the tracking and other features set up in the settings section of the JangoSMTP site.

Monday, December 6, 2010

New Feature: Get rid of those From Addresses...

...not literally. You still need a From Address when sending any type of email, but you no longer need to specify your From Addresses in your JangoSMTP Settings when using SMTP Authentication (SMTP AUTH) to authenticate into relay.jangosmtp.net.

This is a substantial enhancement to the SMTP service. By simply setting your email client to use SMTP AUTH and passing in your JangoSMTP username and password, the system will be able to assign your emails to your account. This is especially beneficial to organizations that send emails from many different From Addresses through one single JangoSMTP account.

As a result, we will soon be taking away the screen within Settings where you would normally specify a list of From Addresses when using SMTP username/password authentication.

[This screen will soon be removed from JangoSMTP.]

Note that this only applies to users using username/password to authenticate into the SMTP server. If you're using IP authentication, then there is no change, as users using IP authentication have always been able to send without specifying From Addresses.