Send mail in outoing folder
Originally by [email protected] on 2010-03-04 20:57:46 +0100
When I have mails in outgoing folder they will not send until I hit the button 'send'. This is annoying when you have filters running and have to hit everytime the send button.
Therefore I would like to have the option to send mails in outgoing folder after YAM checked for new mails.
Also a notice when you send a single mail and hit 'send now' that there are still messages for send in the outgoing folder.
Originally on 2010-03-04 20:58:20 +0100
Sorry, don't get the whole intention of what you want. But it is already possible to Send&Receive mails in one run in YAM. Just have a look at the "Exchange mail" menuitem.
Originally by djbase on 2010-03-04 20:58:47 +0100
Yes, but I have to do it by hand. YAM can check for new mails autom. but it doesn't send outgoing mails in this run. Why not?
Originally on 2010-03-04 20:59:09 +0100
Well, because that's very rarely needed. The normal action is (if you have a connection at any time) that you press "send now". If you press "Send later" this is a manual action and as such instructs you to press the send button whenever you think it is time to send the mail. No other mail application that I know of supplies such a functionality where you can put your main in the outgoing folder and where it will send it in a given internal. And I really also can't think of a reason why you would require such an option. Checking for new mail is really something fundamentally different than sending mail.
Originally by djbase on 2010-03-04 20:59:37 +0100
YAM runs here the hole day and has to manage some filters. If nobody is in front of the computer all mails which are forwarded by filters will delayed until someone hit 'send' or use 'Exchange mail'. This is not really productive. I can't be the only one who needs this feature.
Originally on 2010-03-04 21:00:00 +0100
Well, it seems you are :) Or at least you seem to be the only one who is automatically sending out emails based on filter actions? What are you sending out? I really hope it isn't some spam notification stuff or such :)
However, you are of course right that YAM should immediately send out the mail in question if you have a filter with a sent mail action. But I am still not sure if this is something that can/should be implemented or if such a scheduled sent action would make any sense at all. But I will keep that feature request open in case someone of our crew will have some spare time for giving such a scheduled mail exchange function a try...
Originally by djbase on 2010-03-04 21:00:21 +0100
Damn, you got me. ;)
No, joking, I use filters for ML and other stuff. Maybe adding the option for sending mails immediately which are forwarded by filters instead of moving them to outgoing box. That would do the job aswell.
Originally on 2010-03-04 21:00:51 +0100
I would suggest this solution, which is quite straight forward:
Leave the filters as they are and let them move/forward the mails to the outgoing folder. After applying all filters YAM will check if there is mail in the outgoing folder and send it then.
This is the easiest solution, but it has one drawback. Normally YAM will send queued mails only if it is explicitly requested to do so. This solution would send any queued mail without asking!
Originally on 2010-03-04 21:01:24 +0100
In addition, it will always send ALL mails regardless if any filter was fired or not. However, I am still unsure how to adress this and IMHO we should definitly schedule such changes for 2.6+ instead. For a current solution, a user might also fire up a send mail command via Arexx afaik so that he can write himself a kind of a cronjob which will send such an arexx command periodically as a workaround.
Originally on 2013-10-18 21:21:17 +0200
In (d38d0e2):
- tcp/smtp.c, Threads.c, misc: the SendMail() function no longer takes the list of mails to be sent from the supplied user identity, but from an additional parameter. Thus each SMTP server can now be used multiple times in parallel for sending mails. In future this will make it possible to let filters send out automatically generated mails immediately and hence refs #91.