mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Email sending tool (#3837)
### What problem does this PR solve? _Briefly describe what this PR aims to solve. Include background context that will help reviewers understand the purpose of the PR._ Added the function of sending emails through SMTP Instructions for use- Corresponding parameters need to be configured Need to output upstream in a fixed format  ### Type of change - [√] New Feature (non-breaking change which adds functionality) --------- Co-authored-by: Kevin Hu <kevinhu.sh@gmail.com>
This commit is contained in:
@ -1050,6 +1050,31 @@ When you want to search the given knowledge base at first place, set a higher pa
|
||||
template: 'Template',
|
||||
templateDescription:
|
||||
'This component is used for typesetting the outputs of various components.',
|
||||
emailComponent: 'Email',
|
||||
emailDescription: 'Send email to specified address',
|
||||
smtpServer: 'SMTP Server',
|
||||
smtpPort: 'SMTP Port',
|
||||
senderEmail: 'Sender Email',
|
||||
authCode: 'Authorization Code',
|
||||
senderName: 'Sender Name',
|
||||
toEmail: 'Recipient Email',
|
||||
ccEmail: 'CC Email',
|
||||
emailSubject: 'Subject',
|
||||
emailContent: 'Content',
|
||||
smtpServerRequired: 'Please input SMTP server address',
|
||||
senderEmailRequired: 'Please input sender email',
|
||||
authCodeRequired: 'Please input authorization code',
|
||||
toEmailRequired: 'Please input recipient email',
|
||||
emailContentRequired: 'Please input email content',
|
||||
emailSentSuccess: 'Email sent successfully',
|
||||
emailSentFailed: 'Failed to send email',
|
||||
dynamicParameters: 'Dynamic Parameters',
|
||||
jsonFormatTip:
|
||||
'Upstream component should provide JSON string in following format:',
|
||||
toEmailTip: 'to_email: Recipient email (Required)',
|
||||
ccEmailTip: 'cc_email: CC email (Optional)',
|
||||
subjectTip: 'subject: Email subject (Optional)',
|
||||
contentTip: 'content: Email content (Optional)',
|
||||
},
|
||||
footer: {
|
||||
profile: 'All rights reserved @ React',
|
||||
|
||||
Reference in New Issue
Block a user