jjrjr1
Posts: 942
|
| Posted: 02/11/2008, 8:01 AM |
|
If anyone needs to do SMTP server Authentication for e-mail, let me know.
I just had to do this for a project and CCS does not Authenticate.
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
 |
 |
roeya
Posts: 181
|
| Posted: 02/11/2008, 10:55 AM |
|
Hi,
Don't know if this helps:
We use Perl and have developed a module to create and send email (including attachments, embeded images and HTML content) it can authenticate SMTP using several methods
The module is either Win32 COM object or can be configured as command line tool for linux platforms.
_________________
http://www.infoneto.com/ |
 |
 |
jjrjr1
Posts: 942
|
| Posted: 02/11/2008, 4:28 PM |
|
Hi
Thanks for the post.
Actually I was sharing code for SMTP authentication for CSS users in the Send Mail Event
But I could really use a PHP solution for attachements and embedded images if you have any ideas.
Thanks
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
 |
 |
datadoit
|
| Posted: 02/12/2008, 7:06 AM |
|
roeya wrote:
> Hi,
>
> Don't know if this helps:
>
> We use Perl and have developed a module to create and send email (including
> attachments, embeded images and HTML content) it can authenticate SMTP using
> several methods
>
> The module is either Win32 COM object or can be configured as command line tool
> for linux platforms.
> ---------------------------------------
Wouldn't happen to know how to use Perl (or whatever) to -manage- mail
accounts (create, delete, edit) on a hosted Qmail server would ya?
Ex:
We create PHP page(s) to manage the account (create users, change
passwords, etc.), created with CCS of course, then post this information
to the Perl script, which in turn communicates directly with the Qmail
server to make the changes.
We've conquered the web mail part of it using PHP/CCS (inbox,
send/receive, etc. via php_imap tools). Just don't know how to manage
accounts.
I would gladly provide soda money for this ability!
|
|
|
 |
roeya
Posts: 181
|
| Posted: 02/14/2008, 1:23 PM |
|
Quote datadoit:
Wouldn't happen to know how to use Perl (or whatever) to -manage- mail
accounts (create, delete, edit) on a hosted Qmail server would ya?
I would gladly provide soda money for this ability!
Sorry noone here (at Infoneto) is familar with Qmail so although we can probably do what is needed I don't think will be your first choice for it... 
Saying this - here some info I have found looking for Perl & MySQL:
There is mysql patch of the qmail mailer daemon developed by Iain Patterson.
This patch transfer the mailbox information of the smtp protocol and the authentication information of the pop3 protocol from some file in the filesystem into some tables of a mysql database.
So lists of local deliver domains, the mail addresses, the aliases, the mailboxes of the smtp/pop3 qmail daemon if controlled by database tables instead of file.
To have more info about qmail-mysql patch take a look at Iain Patterson web site http://iain.cx/qmail/
_________________
http://www.infoneto.com/ |
 |
 |
jjrjr1
Posts: 942
|
| Posted: 02/14/2008, 4:28 PM |
|
Hi
Thanks so much for your help. But since I made this post I discovered phpmailer.php.
So What I did is sort of obsolete. Check out phpmailer.php... It will do everything including a qmail interface. It also supports attachements both file or embedded.
You can do a google search for phpmailer.php and find places to download it all over. Incidentally the current version is around 2.0 or something.
It is easy to integrate into CSS. Just a couple of includes and off you go.
Let me know if that helps anyone.
Take Care....
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
 |
 |
mbishop1980
Posts: 31
|
| Posted: 04/01/2008, 4:55 PM |
|
I would love to know how to do it. I just changed domain hosts and I now have to authenticate to the new server before sending out emails.
_________________
Thanks,
Eric |
 |
 |
jjrjr1
Posts: 942
|
| Posted: 04/02/2008, 12:18 AM |
|
Hi
The easiest way I found was to include the phpmailer class into your code. It can be found here
http://sourceforge.net/projects/phpmailer
It supports SMTP authorization along with all the functions you will need in an e-mail script
Hope this helps
John
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
 |
 |