SMTP with auth

View: New views
2 Messages — Rating Filter:   Alert me  

SMTP with auth

by Giorgio Pioda :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Hi volks

I'm writing a patch to allow SMTP with auth. Just a very basic patch that allow users to login only with default username and passwd taken from username and passwd of phpgwapi

The login itself is already ok, (I managed the decryption of the user passwd), but I cannot get the From field written correctly.

I don't understand where the variable $fromuser is set to the value it effectively gets, since if I set $fromuser = $GLOBAL['phpgw_info']['user']['userid'] the value outputted to the mail server is still wrong and corresponds to the value I set before starting to write the patch to get SMTP auth with a single account as provided in the actual sources. (at line 216 and following)

Any ideas?

cheers

gfwp.

Sent from the phpGroupWare forums @ forums.phpGroupWare.org


_______________________________________________
phpGroupWare-developers mailing list
phpGroupWare-developers@...
http://lists.gnu.org/mailman/listinfo/phpgroupware-developers

Re: SMTP with auth

by Giorgio Pioda :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Fixed

see other thread for the diff file patch

cheers

gfwp.

Sent from the phpGroupWare forums @ forums.phpGroupWare.org


_______________________________________________
phpGroupWare-developers mailing list
phpGroupWare-developers@...
http://lists.gnu.org/mailman/listinfo/phpgroupware-developers