The application reads a Progress Database and sends email updates. The program loops through various tables. When it hits criteria the requires an email to be sent, a temporary content file is generated, a pdf file for attachment is built, "To" and "From" email address info is selected and a command line command is created. The program then executes the command in the Operating System. This currently works without the "From" email address functionality.
I would like to be able to add the "From" email address to the command line when I build the command line for execution. Creating a temporary muttrc file when I create the email body temporary file is a possibility.
Main Topics
Browse All Topics





by: oklitPosted on 2009-09-04 at 00:39:43ID: 25257440
You can use send_hook to change "from" depending on - for example recipient's address. You can also change "from" option (muttrc) with some script.
Please be a little bit more specific on what you want to achieve. Do you send it from some script? Do you have some list of recipients and from addresses 'linked' somehow with recipients' addresses?