fortheloveofubot 0 Posted June 25, 2014 Report Share Posted June 25, 2014 I am using ubotstudio 5.0.13my bot tends to crash when i fill in the the 'sendfrom' field to the 'send email' function. connection error 55 failed sending data to peer, this is the code i used for the 'send from' loop($list total(%mail_list)) { send email($next list item(%mail_list), #subject, "HTML", #html_message, "", "test <test@feedback-serve.com>", "") wait($rand(10, 20)) } the bot works fine as soon as i remove the 'send from' field. Quote Link to post Share on other sites
HelloInsomnia 1103 Posted June 25, 2014 Report Share Posted June 25, 2014 Can you post the entire bit about sending the email? You need to connect to the mail server first, of course leave out your username/password! Quote Link to post Share on other sites
fortheloveofubot 0 Posted June 26, 2014 Author Report Share Posted June 26, 2014 please check the complete code below. everythng works till i include the 'send from' field connect to mail server("SMTP", #email, #password, #smtp_server, #smtp_port) { add list to list(%mail_list, $list from text(#mails, $new line), "Delete", "Global") loop($list total(%mail_list)) { send email($next list item(%mail_list), #subject, "HTML", #html_message, "", "postmaster <test@feedbackserve.com>", "") wait($rand(10, 20)) } } Quote Link to post Share on other sites
HelloInsomnia 1103 Posted June 28, 2014 Report Share Posted June 28, 2014 I get the same results as you, I think you should submit a support ticket here and they can file a bug report: http://support.ubotstudio.com/ Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted June 28, 2014 Report Share Posted June 28, 2014 Send From: In Ubot 5The email address from which the email is being sent from. Simple insert an email address in the following format: janedoe@doelina.com. In UBot 4,To set a sender name, place the send from address in the following format: Jane Doelina <janedoe@doelina.com> http://wiki.ubotstudio.com/wiki/Send_Email Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.