![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| I am curious to know what the problem was... What did the trick? |
| Sponsored Links |
| |||
| Well I'm a noob when it comes to coding and pligg. I mean I can copy paste pretty good but when I have to copy paste and modify I'm in big trouble lol. When people were signing up they were getting a confirmation e-mail that looked like this in the Body and Title, Quote:
So I took out this, Code: . PLIGG_PassEmail_From . "\r\n" Code: . PLIGG_Visual_Name Code: echo "Welcome $username<br />"; echo "Check your e-mail for activating your account.<br />"; $from = 'From: admin@blogengage.com' . PLIGG_PassEmail_From . "\r\n"; $subject="Welcome to BlogEngage" . PLIGG_Visual_Name; $message = "Hello " . $username . ",\r\n\r\nThanks for registering with us. Please confirm your activation by clicking the following link or by copy, pasting it into your url address field of your browser.\r\n" . my_base_url . my_pligg_base . "/validation.php?code=$encode&uid=$username\r\n\r\nRegards,\r\nAdministrator"; $to=$email; mail($to, $subject, $message, $from); Code: echo "Welcome $username<br />"; echo "Check your e-mail for activating your account.<br />"; $from = 'From: admin@blogengage.com'; $subject="Welcome to BlogEngage" ; $message = "Hello " . $username . ",\r\n\r\nThanks for registering with us. Please confirm your activation by clicking the following link or by copy, pasting it into your url address field of your browser.\r\n" . my_base_url . my_pligg_base . "/validation.php?code=$encode&uid=$username\r\n\r\nRegards,\r\nAdministrator"; $to=$email; mail($to, $subject, $message, $from); Last edited by bbrian017 : 12-15-2007 at 09:10 AM. |
| |||
| When I add it like that without the ; I get an error Quote:
|
| ||||
| Quote:
Code: $subject="Welcome to " . $PLIGG_Visual_Name; Welcome to Blog Engage If it doesn't work I wouldn't struggle. The way you have done it - by hard-coding the site name into the mail template - is perfectly o.k. Last edited by TobiParrot : 12-15-2007 at 12:15 PM. |
| |||
| Thanks it seems to be working great, minus the waiting time to get the e-mails ![]() I don't see why it's taking so long I run phpbb forums and I get e-mail instantly! |
| ||||
| When the PHP 4 version is released I'll check this, but my guess is there *may* be a problem with how the mail script constructs the email headers. In my experience, if the headers are wrong it can delay email quite badly. |
| |||
| You know how I could check this Tobi? |
| |||
| Is the PHP4 version ready? It would be the best xmas present I ever had!!! ![]() |
| ||||
| @bbrian017 If you check the headers of a received email (open the message in Outlook Express, select 'file/properties' then the 'details' tab) there should be a 'return-path' header (not to be confused with 'reply-to'). Some mail transport systems require the return path to match the 'from' header. Or, it may just be that your ISP subscribes to a Block List service like Spamhaus which can slow things down while mail is checked. If the emails have upset your host's own mail server spam filter, there should be an indication of that in the headers too. One reason I would like to see the Pligg devs address the root vulnerability of this type of spam attack is that sending (potentially) hundreds of registration emails in one go sounds like a sure fire way to get yourself into trouble with your ISP. |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |








Linear Mode
