List Info

Thread: E-mailing functionality




E-mailing functionality
user name
2006-12-31 05:21:47
Does Mediawiki HAVE to use the Pear:Mail functions? The
forum software on the server doesn't require the PEAR:Mail
functions. It uses simple SMTP stuff.
   
  Is there any way to get the E-mail functions to work
without using Pear:Mail?
   
  thanks
  Erik

 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection
around 
http://mail.yahoo.com 
_______________________________________________
MediaWiki-l mailing list
MediaWiki-lWikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l

E-mailing functionality
user name
2006-12-31 05:29:18
On 31/12/06, Eric K <ek79501yahoo.com> wrote:
> Does Mediawiki HAVE to use the Pear:Mail functions? The
forum software on the server doesn't require the PEAR:Mail
functions. It uses simple SMTP stuff.

No, MediaWiki can use PHP's built-in mail() function, and
will in fact
attempt to do so as a default - use of the PEAR::Mail
functions is
optional and must be enabled in the site configuration.


Rob Church
_______________________________________________
MediaWiki-l mailing list
MediaWiki-lWikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l

E-mailing functionality
user name
2007-01-01 02:37:40
Hi Rob, thanks for that. 
  I'm trying to use the default mailing function now. It
gets there, but the email still isnt being sent. My admin
then told me the headers werent being set correctly and then
I checked the MW files and found that in userMailer.php, the
following line sends the email:
    mail( $dest, wfQuotedPrintable( $subject ), $body,
$headers );
   
  I debugged the values of these data and they were all
fine, except "$dest" (the 'To' field), which was
just my username e.g. "Erik", instead of what it
should be, my email address "Erik79501yahoo.com"
   
  Thats very strange. My email is there in the DB. It pulls
it up correctly as well on my 'preferences' page. Any idea
why this is happening? I have no idea on how else to debug
this.
   
  I'm using 1.6.8, and I disabled all my extensions as well
just to check if that did anything.
   
  Erik
  
 
  
Rob Church <robchurgmail.com> wrote:
  On 31/12/06, Eric K wrote:
> Does Mediawiki HAVE to use the Pear:Mail functions? The
forum software on the server doesn't require the PEAR:Mail
functions. It uses simple SMTP stuff.

No, MediaWiki can use PHP's built-in mail() function, and
will in fact
attempt to do so as a default - use of the PEAR::Mail
functions is
optional and must be enabled in the site configuration.


Rob Church
_______________________________________________
MediaWiki-l mailing list
MediaWiki-lWikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l


 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection
around 
http://mail.yahoo.com 
_______________________________________________
MediaWiki-l mailing list
MediaWiki-lWikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )