Jump to content

Squirrel Mail modyfication!! Need urgent help! Please?


koyot

Recommended Posts

Hi guys!

 

I have a project to do. Basically I need to be able to receve emails which is fine with sqquirrel.

Person who will be answering these emails can't see name or email address. It needs to be confidential. This is for a charity job.

So I have managed to remove 'FROM' from the header when reading email. Problem that I have now is when replying to the email 'TO' is automatically filled in with email address. I got file where the table is created. When I remove that table I am getting error that I did not filled in 'TO' and unable to send. So what I need to do is keep the table but hide this field. So email is there but not visible. Is that even possible? Thanks for your help!!

 

Part of this code:

echo '  <tr>' . "\n" .

        html_tag( 'td', '', 'right', $color[4], 'width="10%"' ) .

        _("To:") . '</td>' . "\n" .

        html_tag( 'td', '', 'left', $color[4], 'width="90%"' ) .

        substr(addInput('send_to', $send_to, 60), 0, -3). $onfocus . ' /><br />' . "\n" .

        '      </td>' . "\n" .

        '  </tr>' . "\n" .

        '  <tr>' . "\n" .

        html_tag( 'td', '', 'right', $color[4] ) .

        _("Cc:") . '</td>' . "\n" .

        html_tag( 'td', '', 'left', $color[4] ) .

        substr(addInput('send_to_cc', $send_to_cc, 60), 0, -3). $onfocus . ' /><br />' . "\n" .

        '      </td>' . "\n" .

        '  </tr>' . "\n" .

        '  <tr>' . "\n" .

        html_tag( 'td', '', 'right', $color[4] ) .

        _("Bcc:") . '</td>' . "\n" .

        html_tag( 'td', '', 'left', $color[4] ) .

        substr(addInput('send_to_bcc', $send_to_bcc, 60), 0, -3). $onfocus . ' /><br />' . "\n" .

        '      </td>' . "\n" .

        '  </tr>' . "\n" .

        '  <tr>' . "\n" .

        html_tag( 'td', '', 'right', $color[4] ) .

        _("Subject:") . '</td>' . "\n" .

        html_tag( 'td', '', 'left', $color[4] ) . "\n";

    echo '        '.substr(addInput('subject', $subject, 60), 0, -3). $onfocus .

        ' />      </td>' . "\n" .

        '  </tr>' . "\n\n";

Does the user need to be able to reply to the email?

 

If not, keep the table but replace the real 'to' email address with a dummy address, i.e. "no-email" or a space character (or if it needs to be a valid email address, "[email protected]", or something along those lines).

 

If they DO need to reply, maybe you can hide the 'To:' box using CSS, or instead of adding a regular input, add the send_to email as a hidden input. Although if the user was smart enough they would still be able to see the email address by simply checking the source of the page.

Hi

 

Thanks a lot for your reply!

 

Yes they do need to be able to reply to the email.

I never though about changing CSS. I will try that option.

Yes I would like to add the send_to email as a hidden input but how?

If you could paste code that would be great!! i have spend days on that and just have no energy!

Your help is much appreciated!!!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.