File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/features/payload-cms/payload-cms/tasks Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -348,16 +348,16 @@ export const fetchSmtpBouncesTask: TaskConfig<'fetchSmtpBounces'> = {
348348 extractMatches ( messageIdRegex , rawEmailString ) ;
349349 extractMatches ( messageIdRegex , textForRegex ) ;
350350
351- const queuedRegex = / q u e u e d a s \s * ( [ a - z A - Z 0 - 9 ] + ) / gi;
351+ const queuedRegex = / q u e u e d a s \s * ( [ a - z A - Z 0 - 9 _ - ] + ) / gi;
352352 extractMatches ( queuedRegex , rawEmailString ) ;
353353 extractMatches ( queuedRegex , textForRegex ) ;
354354
355- const postfixRegex = / X - P o s t f i x - Q u e u e - I D : \s * ( [ a - z A - Z 0 - 9 ] + ) / gi;
355+ const postfixRegex = / X - P o s t f i x - Q u e u e - I D : \s * ( [ a - z A - Z 0 - 9 _ - ] + ) / gi;
356356 extractMatches ( postfixRegex , rawEmailString ) ;
357357 extractMatches ( postfixRegex , textForRegex ) ;
358358
359359 // Also check the Received header that contains the Queue ID before sending
360- const receivedRegex = / w i t h E S M T P S A i d \s * ( [ a - z A - Z 0 - 9 ] + ) / gi;
360+ const receivedRegex = / w i t h E S M T P S A i d \s * ( [ a - z A - Z 0 - 9 _ - ] + ) / gi;
361361 extractMatches ( receivedRegex , rawEmailString ) ;
362362
363363 const extractedIds = [ ...possibleIds ] ;
You can’t perform that action at this time.
0 commit comments