Hi Marv,
The email address is in the headers. I should mention that I cheated - big time! I'm using the LHS side of our company email address for the usernames which makes it much easier to code the email address within the gateway script. Yes, I'd like to be able to pull the email address directly from vBulletin but like the user's name - I'm not sure how to go about doing that.
What I've done already was to amend the following:
Code:
// post it
if ($grouptype=='news'){
$response = $news->post($subject,
$group['newsgroup'],
"{$newthread['username']} <$msgid>",
to become:
Code:
// post it
if ($grouptype=='news'){
$response = $news->post($subject,
$group['newsgroup'],
"{$newthread['username']} <{$newthread['username']}@our-domain-name.com>",
Yes, I hard coded the domain, but this could easily be replaced with a variable.
Just need to work out how to get the user's own name in the first bit and we're as good as live
Regards,
Martyn