Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 02:04 pm EST

Geeklog Forums

Email Problems again


Anonymous

Anonymous
Hello, I allready asked about an email problem where my mailing client woudn't accept the header format of NAME NAME <email@email.com> when sending new users their passwords. I got a response and It was fixed. Now I have noticed that user submitted email from the site is having the same problem. A lot of my users use the site to email so it is quite a problem. Please help. Thanks in advance, Kane Lauck karnac@mac.com freshlymixed.com
 Quote

Anonymous

Anonymous
Please point out which post helped to fix your previous email problem.
 Quote

Anonymous

Anonymous
here you go
 Quote

Status: offline

rawdata

Forum User
Full Member
Registered: 02/17/03
Posts: 236
I'm not sure which page you are even referring to here. I'll assume you mean people are mailing each other using their profiles. If your mail server doesn't like names in the "to" address line, then try this and see if it fixes your problem. Inside function contactemail in profiles.php, find this section here: $RET = @mail($A['username'] . ' <' . $A['email'] . '>', $subject, strip_tags(stripslashes($message)), "From: $author <$authoremail>rn" . "Return-Path: <$authoremail>rn" . "Content-Type: text/plain; charset=$charsetrn" . "X-Mailer: GeekLog " . VERSION); replace it with this: $RET = @mail($A['email'], $subject, strip_tags(stripslashes($message)), "From: $author <$authoremail>rn" . "Return-Path: <$authoremail>rn" . "Content-Type: text/plain; charset=$charsetrn" . "X-Mailer: GeekLog " . VERSION);
 Quote

All times are EST. The time is now 02:04 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content