SMTP fix
This commit is contained in:
@@ -117,15 +117,15 @@ int SMTP2( const char * _server, const char * _from, char * _to, char * _body, c
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Google
|
// Google
|
||||||
snprintf( name, BUF_SIZE, EMAIL_PREFIX"/../src/modules/mailsend -smtp %s -f %s -t %s -d %s -name '%s' +cc +bcc -v -starttls -auth-plain -user %s -pass %s -sub '%s' -M '%s'",
|
snprintf( name, BUF_SIZE, EMAIL_PREFIX"/../src/modules/mailsend -smtp %s -f %s -t %s -domain %s -name '%s' +cc +bcc -v -starttls -port 587 -auth-plain -user %s -pass %s -sub '%s' -content-type 'text/html' -mime-type 'text/html' -M '%s'",
|
||||||
_server, _from, _to, _domain, _name, _user, _pass, subject, body != NULL ? body : _body );
|
_server, _from, _to, _domain, _name, _user, _pass, subject, body != NULL ? body : _body );
|
||||||
/*
|
/*
|
||||||
// Virtualmail
|
// Virtualmail
|
||||||
snprintf( name, BUF_SIZE, EMAIL_PREFIX"/../src/modules/mailsend -smtp %s -f %s -t %s -d %s -name '%s' +cc +bcc -v -port 25 -auth-plain -user %s -pass %s -sub '%s' -M '%s'",
|
snprintf( name, BUF_SIZE, EMAIL_PREFIX"/../src/modules/mailsend -smtp %s -f %s -t %s -domain %s -name '%s' +cc +bcc -v -port 25 -auth-plain -user %s -pass %s -sub '%s' -content-type 'text/html' -mime-type 'text/html' -M '%s'",
|
||||||
_server, _from, _to, _domain, _name, _user, _pass, subject, body != NULL ? body : _body );
|
_server, _from, _to, _domain, _name, _user, _pass, subject, body != NULL ? body : _body );
|
||||||
*//*
|
*//*
|
||||||
// GoDaddy
|
// GoDaddy
|
||||||
snprintf( name, BUF_SIZE, EMAIL_PREFIX"/../src/modules/mailsend -smtp %s -f %s -t %s -d %s -name '%s' +cc +bcc -v -port 80 -auth-plain -user %s -pass %s -sub '%s' -M '%s'",
|
snprintf( name, BUF_SIZE, EMAIL_PREFIX"/../src/modules/mailsend -smtp %s -f %s -t %s -domain %s -name '%s' +cc +bcc -v -port 80 -auth-plain -user %s -pass %s -sub '%s' -content-type 'text/html' -mime-type 'text/html' -M '%s'",
|
||||||
_server, _from, _to, _domain, _name, _user, _pass, subject, body != NULL ? body : _body );
|
_server, _from, _to, _domain, _name, _user, _pass, subject, body != NULL ? body : _body );
|
||||||
*/
|
*/
|
||||||
logfmt( FLOG_MAX, "Calling MAILSEND: %s", name);
|
logfmt( FLOG_MAX, "Calling MAILSEND: %s", name);
|
||||||
|
|||||||
Reference in New Issue
Block a user