Page 1 of 1

Binary attachments

Posted: Mon Apr 04, 2005 5:00 am
by spacebiscuit
Hi,

Does anyone know of any classes or functions that enable binary attachments to be sent to newsgroups via email?

Thanks in advance.

Rob.

Posted: Mon Apr 04, 2005 5:13 am
by Pyrite
Do you have an email to news gateway? If so, PHPMailer can send attachments really easy.

Posted: Mon Apr 04, 2005 5:17 am
by spacebiscuit
Thanks for the rpely, what is an email to news gateway?

I have a username and password that I use to log a newsgroup server that I subscribe to. Not sure if that answers the question?

Rob.

Posted: Mon Apr 04, 2005 7:16 am
by Pyrite
Does your news server support email to news? Can you post to it via email?

Posted: Mon Apr 04, 2005 10:17 am
by spacebiscuit
Yes I can post via email. So PHPMailer is the answer I guess. What is it exactly, ideally I'd like to be able to write my own short script.

Rob.

Posted: Mon Apr 04, 2005 10:45 am
by feyd

Posted: Wed Apr 13, 2005 7:44 am
by spacebiscuit
Hi,

I am trying to post to my newsgroup via phpmailer. I can email regular messages to myself with attachments do I know my setup is working.

I am not sure that I have setup correctly for newsgroups though. I have set the following variables as follows.......

$mail->From = "me@myemail.com";
$mail->FromName = "My name";
$mail->Host = "news.mynewsgroupserver.com";
$mail->Username = "username";
$mail->Password = "password";

Does this look correct? I am not 100% sure that phpbuilder supports NNTP?

Thanks in advance.

Rob Burne.