@@ -19,7 +19,7 @@ const setConfigOptions = require('../utils/setConfigOptions');
1919 * @typedef {object } MailpitConfig
2020 * @property {string } version - Version of Mailpit to use
2121 * @property {string[] } supported - Supported versions of Mailpit
22- * @property {string[] } sendFrom - Services to configure for sending mail to Mailpit
22+ * @property {string[] } mailFrom - Services to configure for sending mail to Mailpit
2323 * @property {number } maxMessages - Maximum number of messages to store before truncating
2424 * @property {number } port - SMTP port to use for sending mail to Mailpit
2525 * @property {boolean } ssl - Whether to use SSL for the Mailpit UI
@@ -49,7 +49,7 @@ module.exports = {
4949 config : {
5050 version : '1.20' ,
5151 supported : [ '1.20' ] ,
52- sendFrom : [ ] ,
52+ mailFrom : [ ] ,
5353 maxMessages : 500 ,
5454 port : 1025 ,
5555 confSrc : path . resolve ( __dirname , '..' , 'config' ) ,
@@ -108,7 +108,7 @@ module.exports = {
108108 options . meUser = 'root' ;
109109
110110 // Add senders information to options
111- options . info = { sendFrom : options . sendFrom } ;
111+ options . info = { mailFrom : options . mailFrom } ;
112112
113113 // Set configuration options for the Lando service
114114 setConfigOptions ( {
@@ -127,7 +127,7 @@ module.exports = {
127127 addBuildStep ( buildSteps , options . _app , options . name , 'build_as_root_internal' ) ;
128128
129129 // Configure other services to use Mailpit
130- options . sendFrom . forEach ( service => {
130+ options . mailFrom . forEach ( service => {
131131 options . sources . push ( {
132132 services : _ . set ( { } , service , {
133133 environment : {
0 commit comments