Send email to an SMTP server. More...
#include "config.h"
#include <stdbool.h>
Go to the source code of this file.
Functions | |
bool | smtp_auth_is_valid (const char *authenticator) |
Check if string is a valid smtp authentication method. | |
int | mutt_smtp_send (const struct AddressList *from, const struct AddressList *to, const struct AddressList *cc, const struct AddressList *bcc, const char *msgfile, bool eightbit, struct ConfigSubset *sub) |
Send a message using SMTP. | |
Send email to an SMTP server.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file smtp.h.
bool smtp_auth_is_valid | ( | const char * | authenticator | ) |
Check if string is a valid smtp authentication method.
authenticator | Authenticator string to check |
true | Argument is a valid auth method |
Validate whether an input string is an accepted smtp authentication method as defined by SmtpAuthenticators.
Definition at line 926 of file smtp.c.
int mutt_smtp_send | ( | const struct AddressList * | from, |
const struct AddressList * | to, | ||
const struct AddressList * | cc, | ||
const struct AddressList * | bcc, | ||
const char * | msgfile, | ||
bool | eightbit, | ||
struct ConfigSubset * | sub | ||
) |
Send a message using SMTP.
from | From Address |
to | To Address |
cc | Cc Address |
bcc | Bcc Address |
msgfile | Message to send to the server |
eightbit | If true, try for an 8-bit friendly connection |
sub | Config Subset |
0 | Success |
-1 | Error |
Definition at line 1099 of file smtp.c.