Email Account

Email account allows you to send and receive email messages.

Email account can send email messages in two ways:

Email account receives messages by connecting to a POP3 email server.

The contents of this topic:

 

Sending emails

Email account uses the outgoing message from the Outbox to find the recipient and to compose the content of the email message. The text of the outgoing message may contain a number of parameters separated by vertical line ( | ). The meaning of the parameters depends on the selected recipient and compose types.

The Recipient type setting specifies where should SMS Studio look for the recipient email address. The possible options are:

Note that the recipient email address may also include the name of the recipient, e.g. "John" <john@domain.com>.

The Compose type setting may be either Simple or Advanced.

When the Simple compose type is selected, the outgoing message should contain the subject of the email message as the first parameter, and the rest of the text of the outgoing message will be used as the text of the email message. Either subject or text or both may be overridden, in which case the overridden part will not be extracted from the text of the outgoing message.

When the Advanced compose type is selected, the text of the outgoing message should conform to one of the two following syntaxes:

| Subject | Text

or

Template | Param1 | Param2 | ... | ParamN

If the Template parameter is not supplied, the email message will be created with the subject containing the second parameter and the text containing the rest of the message text.

For example, if a message from the Outbox contains the following text:

| Your account balance | Balance: 120 credits

then an email messages would be sent with the subject line "Your account balance", and the text "Balance: 120 credits".

If the Template parameter is supplied, then email account will use that file as a template for the email message. Optional parameters param1, param2, ... and paramN will be used to replace all occurrences of %1%, %2%, ... and %N% in the template file.

For example, if you have already prepared an email message and stored it in the template folder under the name balance.eml and that message contains the following text:

Your account balance is %1% credits.

then you can send the account balance information by using the following text in the Outbox message:

balance.eml | 120

Note that the Template parameter may contain either relative or absolute path to the file. If the path is relative then the template folder setting is used to resolve the location of the file.

 

Receiving emails

SMS Studio connects to a POP3 server at regular time intervals to collect new email messages. Note that the collected email messages are removed from the server after reception.

Incoming email messages are then converted to incoming SMS messages by using the From and Text formats, which may contain the following text parameters:

SMS Studio tries to detect and extract the phone number from the incoming email message. The first array of at least 6 digits, optionally preceded by the international prefix ( + ) and separated by white spaces, dashes ( - ), slashes ( / ), dots ( . ) or parentheses, is considered as a valid phone number.

For example, if you use the default values for From and Text formats (%Phone% and %Text%, respectively), then you can receive emails with a phone number in the subject line. If an email message like this arrives:

Subject: My phone number is +12 (34) 56-789
Text: It's simply great that I can chat by using email!

SMS Studio will place a new message in the Inbox, which would appear as if it was sent from the phone number +123456789, containing the text It's simply great that I can chat by using email! By using this technique, you can even send back an SMS message to the sender as a reply to his email.

 

Email Connection Dialog

See Connection Dialog for description of the Connection, Account and Statistics tabs.

Login tab

Receive tab

Send tab

Compose tab

 

Copyright © 2002-2007 CodeSegment. All rights reserved.

   www.codesegment.com