Avatar

afoster

afoster

À propos…

Pseudo
afoster
Inscrit
Visites
88
Dernière connexion
Statuts
Member

Réponses

  • First of all, it was a bad copy/paste my site is set up like this: https://domain.com/pluxml/ Also, after making the change in the admin module to enable urlRewrite, it seems to be working correctly. Hopefully we can put this to rest and I thank …
  • My mistake, I posted the wrong code in my last message and my code is the same as the one you said in your last post and that is what is not working. My sendmail.php file is in the core/admin folder...does that make a difference? I assume that the …
  • Almost got it, but not quite. Here is the line I have in my sendmail.php file: $a ='urlRewrite(PLX_ROOT).'pluxml/'.$url.'">'.$title.''; This is the error I am getting: Not Found The requested URL was not found on this server. Additionall…
  • Believe it or not, I got it to work. It is now sending the email to all of the subscribers. I found out that I had the wrong path to the subscriber list and once I fixed that, it worked. The last problem I am having is that in the email, the link t…
  • Thanks for the update...I had not thought of the issue regarding saving the article as a draft. Up to this point, I have never done that. I didn't know you were the author of the newsletter plugin...I tried it but could not get it working. Then a…
  • You are not the one at fault. Out of curiosity, how many subscribers did you send it to and is the subscriber list on your site separated by commas? It probably doesn't make any difference but at this point I'm grabbing at straws.
  • I know it works because I have been using a file that sends out the email after an article has been posted. The problem is that I have to enter the send file manually after each posted article instead of sending the email automatically and the emai…
  • I give up, it's not working and I'm tired of trying to figure it out. Thanks again for your help.
  • OK, taking the files you sent and specifically the sendemail.php file, it is working and I am getting the email. However, if I change these two lines in the sendemail.php file in any way, then the email is not sent. I would like to change the conte…
  • I saw that and I will get back to you after I have had a chance to see if these new files will work. Thanks again for your help.
  • If you are referring to the email script I was using before you provided yours, then yes it was working. I was using the phpmailer I have though, not the one that comes with pluxml. Can you send me a copy of the top.php and article.php file with th…
  • Yes, the data.txt file has three subscribers with the correct formatting for an email and separated by a , after each one. What I want to do is send the email notification to the subscribers which are listed in the newsletter/data.txt file in this f…
  • OK, that eliminated the error message, but the email is still only being sent to one of the subscribers and it is shown as a bcc instead of sending it to the subscriber. There are three subscribers in the text file. Any idea why that is happening?
  • While it seems to work, it is sending the email only to the first subscriber in the data.txt file. In this test version of data.txt, I have three subscribers listed. Any idea why that is the case?
  • I thought your directions stated that the code below was to be inserted into the article.php file. Am I mistaken? if(isset($_SESSION['info']) && $_SESSION['info'] == L_ARTICLE_SAVE_SUCCESSFUL) { include('sendemail.php'); echo $alertNewArt…
  • I am getting the following error message when trying to access the admin module to write a new article: Fatal error : type : 8 message : Undefined variable: alertNewArticle file : C:\xampp\htdocs\pluxml\core\admin\top.php line : 149 UPDATE... I c…
  • I checked again and there are no typos. I copy/pasted the email script that was working, copy/pasted the code you provided and just added the path to the email script. Perhaps I did not read your directions correctly and the paths to the subscribe…
  • Come to find out that the email script is not sending out the email...the article is being posted however. I don't understand how that is possible as it is the same code that I placed in the article.php file which is sending out the email. Maybe I …
  • I must have missed it...where would I place echo 'something'? I know I have to change the something. Also, could it have something to do with this code? <?php if(isset($_SESSION['info']) && $_SESSION['info'] == L_ARTICLE_SAVE_SUCCES…
  • Apropos of nothing, how do I quote a statement in the forum and also, how do I place any code I post in the same manner that you do?
  • Since the code I was using in article.php (which is in core/admin) and the sendarticle_email.php file is also in the same admin folder, would not the paths to PHPMailerAutoload.php and ../../newsletter/data.txt not stay the same?
  • First of all, thank you so much for your patience in helping me accomplish my goal. I'm pretty sure that I have followed the instructions you provided in your last message and while the article was posted, no email was received. I am not certain t…
  • I'm a little confused. Here is the code I am entering to send the email. Where in this code would I place the code you suggest for the url and title? require 'PHPMailerAutoload.php'; if(isset($_POST['publish'])) { $mail = new PHPMailer; $mail->…
  • An email notification was sent as soon as I posted a test article, so the code that I added in the location you suggested (between line 27-28) works as designed. The only issue is that I can't figure out how to provide a link to the article. The sc…
  • Yes, I agree with you, but as I mentioned my coding skills are not at the level needed to develop a plugin. The plugin for sending an email for the comments works fine but does not allow me to send it to a subscriber list contained in a txt file. I …
  • When adding this code as you suggested starting on line 28 (if(isset($_POST['publish']) { /* read you subscriber file and extract mail adresses, then send your mail alert from here */ }, I get an error message that says PHP Parse error: syntax …
  • Thanks for that. Where would I add the code in the comments file as I also want that to be sent to the subscribers.
  • I appreciate your help. I already have a subscriber form so that is not necessary. I also have a file that sends emails when a new article is posted, but I have to enter the file in the address bar after the article is posted. I would like the em…
  • I have a send mail file that I can use but I don't know where to place the send email code to ensure that the email goes out when the comment/article is posted.
  • Thank you for your quick response. -My module is one I put together from another blog I was using. The problem with it is that I have to generate the file to send the email instead of sending the email automatically. -I have looked at the plugins …