SRP Mail, Version 1.2 and SSL
Posted September 17th, 2009 by Don Bakke
One of the lesser known but increasingly important features of the SRP Mail utility is support for SSL and custom port settings. As customers begin to utilize free (or low cost) powerful email service providers (e.g. Google) the need for SSL support becomes critical. The ability to encrypt email used to be a luxury, due to the increased bandwidth requirements, but now it is becoming standard operating procedure for business and enterprise email. SRP enhanced their venerable SRP Mail utility to accommodate the ever increasing demand for this feature.
SSL (i.e. Secure Socket Layer) is being superseded by TLS (Transport Layer Security). In either case it is very easy for the programmer to support these protocols. Simply specify the appropriate port number and set the SSL flag to a 1 as demonstrated below:
$insert SRPMAIL_INSERTS
Config = ''
Config<1> = SendUsing_Port$
Config<3> = 465 ; // <-- Port setting.
Config<4> = 'mymail.somedomain.com'
Config<5> = 1
Config<6> = 'myusername'
Config<7> = 'password'
Config<8> = 1 ; // <-- SSL/TLS flag.
Message = ''
Message<1> = 'Subject Line'
Message<2> = 'myemail@somedomain.com'
Message<3> = 'myfriend@somedomain.com'
Message<4> = ''
Message<5> = ''
Message<6> = ''
Message<7> = 'TEXT'
Message<8> = 'Hello World!'
Message<9> = ''
Message<10> = SRPMail_Importance_Normal$
rv = SRP_Send_Mail(Message, Config)
SRP Mail v1.2 is a free upgrade to existing SRP Mail customers. Both upgrading customers and those interested in evaluating the product can download it (without registration) here.
