To make the script work I used 210.54.141.2 as the mailserver address (ping smtp.xtra.co.nz) and used my main email address for the domain and sender address ie. xxxx@xtra.co.nz.
In my case I used my email address for the recipient address as well as I am sending the emails to myself.
Hope this helps.




Reply With Quote
Bookmarks