Taffy1957 Posted January 22, 2011 Share Posted January 22, 2011 Hi Guys, I'm using a plugin on my new Wordpress site, to notify Twitter, Facebook etc of new posts on my blog. This is being done through a service called Ping.FM, but unfortunately although I have access to 2 accounts with Ping.FM, the plugin only appears to have the option to enter one email address, which is what is used to notify Ping.FM of the updates. I am wondering if it would be possible & if so how difficult it would be to alter the code to allow the entry of more than just the one email address & then for it to notify each one in turn..? I have attached the full code sheet for this plugin as it was too large to post on this page. If anyone can offer some assistance with this I would be very grateful. Thanks Steve [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/225281-how-to-notify-multiple-emails-instead-of-the-standard-1/ Share on other sites More sharing options...
litebearer Posted January 22, 2011 Share Posted January 22, 2011 Without looking at the code, just an idea - put the addresses in an array, then wrap the 'code' in a loop that changes the addressee based upon the current array value Link to comment https://forums.phpfreaks.com/topic/225281-how-to-notify-multiple-emails-instead-of-the-standard-1/#findComment-1163428 Share on other sites More sharing options...
Taffy1957 Posted January 22, 2011 Author Share Posted January 22, 2011 Without looking at the code, just an idea - put the addresses in an array, then wrap the 'code' in a loop that changes the addressee based upon the current array value Ahm well that sounds great, but my knowledge of php is next to useless, so could you explain in a little more detail please..? Thanks Steve Link to comment https://forums.phpfreaks.com/topic/225281-how-to-notify-multiple-emails-instead-of-the-standard-1/#findComment-1163432 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.