我正在使用骡3.4我试图从邮件中的文件夹发送文件。骡smtp不发送邮件
控制台显示:
connector.file.mule.default.receiver.01] org.mule.transport.file.FileMessageReceiver: Lock obtained on file: C:\Users\bekbol\Documents\smtp\test.txt
我的配置文件是如下:
<flow name="outcomingSmtp" doc:name="outcomingSmtp">
<file:inbound-endpoint path="${file.outcomingSmtp}" responseTimeout="100000" doc:name="File" pollingFrequency="10000" moveToDirectory="${file.outcomingBackupSmtp}">
<file:filename-wildcard-filter
pattern="*.txt" />
<file:file-to-string-transformer doc:name="File to String"/>
</file:inbound-endpoint>
<object-to-byte-array-transformer doc:name="Object to Byte Array"/>
<smtp:outbound-endpoint host="${smtp.host}" port="${smtp.port}" user="${email.username}" password="${email.password}" to="${header.to}" from="${header.from}" subject="${header.subject}" responseTimeout="100000" mimeType="text/plain" doc:name="SMTP">
<email:string-to-email-transformer doc:name="String to Email"/>
</smtp:outbound-endpoint>
</flow>
您好,请将您的问题妥善这里。! –
smtp.host = smtp.mail.ru smtp.port = 465 pop3.host = pop.mail.ru pop3.port = 995 imap.host = imap.mail.ru imap.port = 143 email.username = shiko_18%40mail.ru email.password = shiko3759086 file.outcomingSmtp = /用户/ bekbol /文档/ SMTP file.outcomingBackupSmtp = /用户/ bekbol /文档/ POP3 file.incomingPop3 = /用户/ bekbol/Documents/pop3 file.incomingImap =/Users/bekbol/Documents/imap [email protected] [email protected] header.subject =测试邮件主题 – user2878774
它在日志中显示什么错误? – user1760178