mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-01-10 01:48:38 +08:00
update ASP generator
This commit is contained in:
parent
2f271c02b8
commit
5cab241ea6
1 changed files with 4 additions and 4 deletions
|
@ -475,7 +475,7 @@ module.exports = (db, server, userHandler) => {
|
||||||
{
|
{
|
||||||
PayloadType: 'Configuration',
|
PayloadType: 'Configuration',
|
||||||
PayloadVersion: 1,
|
PayloadVersion: 1,
|
||||||
PayloadIdentifier: profileOpts.identifier + '.' + userData.username,
|
PayloadIdentifier: profileOpts.identifier + '.' + userData._id,
|
||||||
PayloadUUID: uuid.v4(),
|
PayloadUUID: uuid.v4(),
|
||||||
PayloadDisplayName: description || profileOpts.displayName,
|
PayloadDisplayName: description || profileOpts.displayName,
|
||||||
PayloadDescription: profileOpts.displayDescription,
|
PayloadDescription: profileOpts.displayDescription,
|
||||||
|
@ -485,7 +485,7 @@ module.exports = (db, server, userHandler) => {
|
||||||
{
|
{
|
||||||
PayloadType: 'com.apple.mail.managed',
|
PayloadType: 'com.apple.mail.managed',
|
||||||
PayloadVersion: 1,
|
PayloadVersion: 1,
|
||||||
PayloadIdentifier: profileOpts.identifier + '.' + userData.username,
|
PayloadIdentifier: profileOpts.identifier + '.' + userData._id,
|
||||||
PayloadUUID: uuid.v4(),
|
PayloadUUID: uuid.v4(),
|
||||||
PayloadDisplayName: 'Email Account',
|
PayloadDisplayName: 'Email Account',
|
||||||
PayloadDescription: 'Configures email account',
|
PayloadDescription: 'Configures email account',
|
||||||
|
@ -499,14 +499,14 @@ module.exports = (db, server, userHandler) => {
|
||||||
IncomingMailServerHostName: accountHost,
|
IncomingMailServerHostName: accountHost,
|
||||||
IncomingMailServerPortNumber: accountPort,
|
IncomingMailServerPortNumber: accountPort,
|
||||||
IncomingMailServerUseSSL: accountSecure,
|
IncomingMailServerUseSSL: accountSecure,
|
||||||
IncomingMailServerUsername: userData.username,
|
IncomingMailServerUsername: userData.address,
|
||||||
IncomingPassword: result.password,
|
IncomingPassword: result.password,
|
||||||
OutgoingPasswordSameAsIncomingPassword: true,
|
OutgoingPasswordSameAsIncomingPassword: true,
|
||||||
OutgoingMailServerAuthentication: 'EmailAuthPassword',
|
OutgoingMailServerAuthentication: 'EmailAuthPassword',
|
||||||
OutgoingMailServerHostName: config.smtp.setup.hostname,
|
OutgoingMailServerHostName: config.smtp.setup.hostname,
|
||||||
OutgoingMailServerPortNumber: config.smtp.setup.port || config.smtp.port,
|
OutgoingMailServerPortNumber: config.smtp.setup.port || config.smtp.port,
|
||||||
OutgoingMailServerUseSSL: 'secure' in config.smtp.setup ? !!config.smtp.setup.secure : config.smtp.secure,
|
OutgoingMailServerUseSSL: 'secure' in config.smtp.setup ? !!config.smtp.setup.secure : config.smtp.secure,
|
||||||
OutgoingMailServerUsername: userData.username,
|
OutgoingMailServerUsername: userData.address,
|
||||||
PreventMove: false,
|
PreventMove: false,
|
||||||
PreventAppSheet: false,
|
PreventAppSheet: false,
|
||||||
SMIMEEnabled: false,
|
SMIMEEnabled: false,
|
||||||
|
|
Loading…
Reference in a new issue