Menu

Problem with email addres format

Help
Taajuus
2008-03-11
2012-06-07
  • Taajuus

    Taajuus - 2008-03-11

    This would be very handy for me, but there is some kind of bug.

    When selecting multiple receipients and click "Send email", they appear on Thunderbird addres line like this:

    ;test"@test.fi;;test2@test2.fi;;test3@test3.com;

    Semicolons seem to be ok, although regular comma would be better... But for some reason first email addres is always corrupted with extra " before @. Why is this? Thunderbird wont send emails because of this wrong addres format.

     
    • Mark Fierschnaller

      I am also experiencing this problem, but I'm not sure I understand the patch file posted by dezignguy. Do I copy and paste the entire code, and where at in the index.php file? I see lines of code that look similar but not the same.

      Thank you

       
    • chatelao

      chatelao - 2008-03-12

      Hi Taajuss,

      Sorry, I cannot reproduce you problem.

      => You could do two things:
      a) Send me an URL to check the things online.
      b) Create an MySQL-Export with your records and send it over e-Mail.

      Regards
      Olivier

       
      • Court

        Court - 2008-06-25

        I've run into this issue too. The browser doesn't affect it (IE Vs Firefox), it's Thunderbird. I solved it simply by replacing all the semicolon separators with commas. Works now for me in Thunderbird. Someone else should see if it still works with Outlook Express, and other Windows-based email programs.

        Here's a Patch file below:

        --- index.orig.php 2007-02-27 21:16:44.000000000 -0700
        +++ index.php 2008-06-24 20:13:34.000000000 -0700
        @@ -41,7 +41,7 @@
        {
        if( document.getElementsByName("selected[]")[i].accept != "")
        {
        - addresses = addresses + ";" + document.getElementsByName("selected[]")[i].accept;
        + addresses = addresses + "," + document.getElementsByName("selected[]")[i].accept;
        dst_count++;
        }
        }
        @@ -163,7 +163,7 @@
        $alternate = "1";
        }
        echo "<TR bgcolor=$color>";
        - echo "<TD><input type=checkbox id=".$id." name='selected[]' value='$id' title='Select ($firstname $lastname)' alt='Select ($firstname $lastname)' accept=".$myrow['email'].";".$myrow['email2']."></td>";
        + echo "<TD><input type=checkbox id=".$id." name='selected[]' value='$id' title='Select ($firstname $lastname)' alt='Select ($firstname $lastname)' accept=".$myrow['email'].",".$myrow['email2']."></td>";
        echo "<TD>$lastname</td>";
        echo "<td>$firstname</td>";
        echo "<td><a href='mailto:$email'>$email</a></td>";

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.