Opened 4 years ago

Closed 4 years ago

#1485766 closed Feature Requests (fixed)

Config smtp_server hostname substitution like %u in smtp_user

Reported by: romke Owned by:
Priority: 5 Milestone: 0.3-stable
Component: SMTP connection Version: 0.2-stable
Severity: minor Keywords: smtp, host, substitution
Cc: rombar@…

Description

Currently RC has SMTP username and password substitutions implemented but no host.
In case you have multiple imap AND smtp hosts you could use config pattern like that:

$rcmail_config['smtp_server'] = 'smtp.%h';

and %h gets replaced by session imap_host value.

Attachments (1)

roundcube-smtp_server-substitution.2.patch (849 bytes) - added by romke 4 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 Changed 4 years ago by romke

  • Cc rombar@… added

comment:2 Changed 4 years ago by alec

  • Milestone changed from later to 0.3-stable
  • Resolution set to fixed
  • Status changed from new to closed

Implemented in [72cd3c1a].

Note: See TracTickets for help on using tickets.