1
<?xml version="1.0" encoding="UTF-8"?>
4
<widget class="QWidget" name="Form">
5
<property name="geometry">
13
<property name="windowTitle">
16
<layout class="QGridLayout" name="gridLayout">
17
<item row="0" column="0" colspan="2">
18
<layout class="QHBoxLayout" name="horizontalLayout_9">
20
<widget class="QLabel" name="label_15">
21
<property name="text">
22
<string>Send email &from:</string>
24
<property name="buddy">
25
<cstring>email_from</cstring>
30
<widget class="QLineEdit" name="email_from">
31
<property name="toolTip">
32
<string><p>This is what will be present in the From: field of emails sent by calibre.<br> Set it to your email address</string>
38
<item row="1" column="0">
39
<widget class="QGroupBox" name="groupBox_5">
40
<property name="toolTip">
41
<string><p>A mail server is useful if the service you are sending mail to only accepts email from well know mail services.</string>
43
<property name="title">
44
<string>Mail &Server</string>
46
<layout class="QGridLayout" name="gridLayout_3">
47
<item row="0" column="0" colspan="4">
48
<widget class="QLabel" name="label_16">
49
<property name="text">
50
<string>calibre can <b>optionally</b> use a server to send mail</string>
52
<property name="wordWrap">
57
<item row="1" column="0">
58
<widget class="QLabel" name="label_17">
59
<property name="text">
60
<string>&Hostname:</string>
62
<property name="buddy">
63
<cstring>relay_host</cstring>
67
<item row="1" column="1" colspan="2">
68
<widget class="QLineEdit" name="relay_host">
69
<property name="toolTip">
70
<string>The hostname of your mail server. For e.g. smtp.gmail.com</string>
74
<item row="1" column="3">
75
<layout class="QHBoxLayout" name="horizontalLayout_11">
77
<widget class="QLabel" name="label_18">
78
<property name="text">
79
<string>&Port:</string>
81
<property name="buddy">
82
<cstring>relay_port</cstring>
87
<widget class="QSpinBox" name="relay_port">
88
<property name="toolTip">
89
<string>The port your mail server listens for connections on. The default is 25</string>
91
<property name="minimum">
94
<property name="maximum">
95
<number>65555</number>
97
<property name="value">
104
<item row="2" column="0">
105
<widget class="QLabel" name="label_19">
106
<property name="text">
107
<string>&Username:</string>
109
<property name="buddy">
110
<cstring>relay_username</cstring>
114
<item row="2" column="1" colspan="2">
115
<widget class="QLineEdit" name="relay_username">
116
<property name="toolTip">
117
<string>Your username on the mail server</string>
121
<item row="3" column="0">
122
<widget class="QLabel" name="label_20">
123
<property name="text">
124
<string>&Password:</string>
126
<property name="buddy">
127
<cstring>relay_password</cstring>
131
<item row="3" column="1" colspan="2">
132
<widget class="QLineEdit" name="relay_password">
133
<property name="toolTip">
134
<string>Your password on the mail server</string>
136
<property name="echoMode">
137
<enum>QLineEdit::Password</enum>
141
<item row="3" column="3">
142
<widget class="QCheckBox" name="relay_show_password">
143
<property name="text">
144
<string>&Show</string>
148
<item row="4" column="0">
149
<widget class="QLabel" name="label_21">
150
<property name="text">
151
<string>&Encryption:</string>
153
<property name="buddy">
154
<cstring>relay_tls</cstring>
158
<item row="4" column="1">
159
<widget class="QRadioButton" name="relay_tls">
160
<property name="toolTip">
161
<string>Use TLS encryption when connecting to the mail server. This is the most common.</string>
163
<property name="text">
164
<string>&TLS</string>
166
<property name="checked">
171
<item row="4" column="2" colspan="2">
172
<widget class="QRadioButton" name="relay_ssl">
173
<property name="toolTip">
174
<string>Use SSL encryption when connecting to the mail server.</string>
176
<property name="text">
177
<string>&SSL</string>
181
<item row="3" column="4">
182
<spacer name="horizontalSpacer_3">
183
<property name="orientation">
184
<enum>Qt::Horizontal</enum>
186
<property name="sizeHint" stdset="0">
197
<item row="1" column="1">
198
<layout class="QVBoxLayout" name="verticalLayout_9">
200
<widget class="QToolButton" name="relay_use_gmail">
201
<property name="text">
202
<string>Use Gmail</string>
204
<property name="icon">
205
<iconset resource="../images.qrc">
206
<normaloff>:/images/gmail_logo.png</normaloff>:/images/gmail_logo.png</iconset>
208
<property name="iconSize">
214
<property name="toolButtonStyle">
215
<enum>Qt::ToolButtonTextUnderIcon</enum>
220
<widget class="QPushButton" name="test_email_button">
221
<property name="text">
222
<string>&Test email</string>
231
<include location="../images.qrc"/>