by Code Crafters » Thu Mar 13, 2008 10:48 am
You should use the SMTP part of your scripting capabilities to send emails via the mail server (on localhost or whatever domain). Note that you should have SMTP authentication enabled if it is viewable from the Internet to stop unauthorised mails being relayed via your mail server as SPAM (open relay). With SMTP authentication enabled though, you will have to either set your script to log into the outgoing mail server when sending mail or add the scripts IP address to the SMTP relaying safe IPs to always allow that IP to relay without logging in.
You should set up your outlook to access whatever account you have sent the mails to on the mail server using localhost or your domain as the incoming and outgoing mail server. If you set the account settings within Ability Mail Server to save a copy of sent items you can then view this in Outlook as well. Note you can obviously use the built in WebMail system to view any accounts as you can with outlook providing you have at least the Professional Edition.