Gossamer Forum
Home : Products : Links 2.0 : Customization :

Mass mailing linkowners problem (each link instead of each email address)

Quote Reply
Mass mailing linkowners problem (each link instead of each email address)
Hi all,

I'm trying to find a solution for the following:

I want to email the linkowners in my database the adjusted code for the rating. I have linkowners who have more then one site and I want them to get the adjusted code for all their links. From Alex I understand that I should comment the following line in nph-email.cgi:

Code:
($seen{$address}++) and (print qq~Already mailed to: $address $unsub!\n~ and next);

I have done that, but it doesn't help. I have tried to run it in test mode, so that I won't bother the linkowners with this problem. I still get the message:

Code:
Already mailed to: ......


Is there someone who ca help me with this problem?

Regards,

Ilse

Last edited by:

angelscharmedsla: Jun 30, 2002, 11:18 AM
Quote Reply
Re: [angelscharmedsla] Mass mailing linkowners problem (each link instead of each email address) In reply to
How have you "commented" (remmed) out that line of code?

Make sure that the whole line begins with #.
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [Stealth] Mass mailing linkowners problem (each link instead of each email address) In reply to
Yes, I have put the # in front of the line, but it doesn't help. Any other ideas?



Regards,



Ilse
Quote Reply
Re: [angelscharmedsla] Mass mailing linkowners problem (each link instead of each email address) In reply to
Is there someone who has encountered the same problem and has found a solution for this? Please let me know, otherwise I still have to send the linkowners with more then one link individual emails all the times. That's okay for now, since I just have 130 links, but once that's become a lot more it's not a fun thing to do anymore! I'm bit helpless here. I just hope someone our here has the solution.


Regards,



Ilse
Quote Reply
Re: [angelscharmedsla] Mass mailing linkowners problem (each link instead of each email address) In reply to
I still haven't found a solution to this problem. Is there anyone who can help me out here?

Regards,

Ilse
Quote Reply
Re: [angelscharmedsla] Mass mailing linkowners problem (each link instead of each email address) In reply to
Hello.

Don't know what to tell you, since I've remmed out that line in both LINKS 2.0 and LINKS SQL scripts and it does work, it sends out email messages for each link.
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [Stealth] Mass mailing linkowners problem (each link instead of each email address) In reply to
Hi Stealth,



Thanks anyway for trying. Maybe it's glitch at my server, I don't know. I'll ask my provider to have a look at it. It is strange, but if I don't find a solution, I'll just email the linkowners who have more then one link seperately too. I don't think there's any other solution.



Regards,



Ilse
Quote Reply
Re: [angelscharmedsla] Mass mailing linkowners problem (each link instead of each email address) In reply to
I now even have deleted the complete line:

# ($seen{$address}++) and (print qq~Already mailed to: $address $unsub!\n~ and next);



And it still doesn't work. The mesage in debugmode is still:

"Already mailed to:"

I can't find anything a like the above line in any of the other files, not even the mail.pm so there's no way commenting it out somewhere else too.

Someone who has a solution??????



Hope to see a response and solution soon!



BTW, I'm using the site_html.pl version. Don't know if there's any difference with the templates, but I thought I should let ya know.......

Last edited by:

angelscharmedsla: Sep 21, 2002, 2:37 AM
Quote Reply
Re: [angelscharmedsla] Mass mailing linkowners problem (each link instead of each email address) In reply to
I have been thinking..... Is it solution to put in the subjectline the ID ( <%ID%>)? Is this being replaced with the actual ID of the site and would it be send in this case indeed to each linkowner instead of all the emails in the database?

Regards,

Ilse
Quote Reply
Solution Found!: Mass mailing linkowners problem (each link instead of each email address) In reply to
Well, my last suggestion didn't help off course, but I finally figured what was wrong.

Not only do you have to comment out:

Code:
($seen{$address}++) and (print qq~Already mailed to: $address $unsub!\n~ and next);


But you also have to comment out:

Code:
($seen{$data[$db_contact_email]}++) and (print qq~<a href="$href" target="_blank">$data[$db_key_pos]</a> - Already mailed to: '$data[$db_contact_email]'!\n~ and next);


and then the linkowners will get the email for every link they have in the system. A warning for all you webmasters oiut there:

Only do this when you want to send the link information of every link to the linkowners on a regularly basis, like I do every three months. Otherwise it's not usefull and you give the linkowners too many emails!

regards,

Ilse

Last edited by:

angelscharmedsla: Oct 3, 2002, 1:12 AM