Gossamer Forum
Home : Products : Gossamer List : Discussion :

Unsubscribe causes fatal error when using SMTP

Quote Reply
Unsubscribe causes fatal error when using SMTP
When Glist is configured to use SMTP, when a user clicks on the 'unsubscribe' link in the email, the following error is displayed:

Code:

A fatal error has occured:
GT::Mail::Send (32040): No To: field specified. at /..../glist/private/lib/GT/Mail.pm line 220.


This is running under plain CGI. Here's the full stack trace:
Code:

Stack Trace
======================================
GList (32169): GT::Base::error called at /.../glist/private/lib/GT/Mail/Send.pm line 179 with arguments
    (GT::Mail::Send=HASH(0xfb55e0), TOEMPTY, FATAL).
GList (32169): GT::Mail::Send::smtp called at /.../glist/private/lib/GT/Mail.pm line 220 with arguments
    (GT::Mail::Send, debug, 0, host, localhost, port, , ssl, , mail, GT::Mail=HASH(0xce5f30)).
GList (32169): GT::Mail::send called at /.../glist/private/lib/GList.pm line 579 with arguments
    (GT::Mail=HASH(0xce5f30), smtp, localhost, sendmail, ).
GList (32169): GList::send called at GList::User::user_unsubscribe line 436 with arguments
    (HASH(0xc193c0), HASH(0xbffa10)).
GList (32169): GList::User::user_unsubscribe called at /.../glist/private/lib/GT/Plugins.pm line 112 with no arguments.
GList (32169): GT::Plugins::dispatch called at /.../glist/private/lib/GList/User.pm line 30 with arguments
    (GT::Plugins, /.../glist/private/lib/GList/Plugins, user_unsubscribe, CODE(0xbd8200)).
GList (32169): GList::User::process called at /.../cgi-bin/glist/glist.cgi line 38 with arguments
    (user_unsubscribe).
GList (32169): main::main called at /.../glist/private/lib/GT/Plugins.pm line 112 with no arguments.
GList (32169): GT::Plugins::dispatch called at /.../cgi-bin/glist/glist.cgi line 23 with arguments
    (GT::Plugins, /.../glist/private/lib/GList/Plugins, main, CODE(0x7fc160)).


(Obviously there are full path listed in the actual error messages)

When using sendmail, there is no problem and users can unsubscribe without problems.
Quote Reply
Re: [paulj] Unsubscribe causes fatal error when using SMTP In reply to
Anyone?
Is this a bug or a problem with my setup?