| Author |
Message |
idaryl first grade
Joined: 09 Oct 2006 Posts: 10
|
Posted: Sun Oct 15, 2006 6:54 am Post subject: |
|
|
I get return emails addressed to "Apache" -- <apache@web1.myhostingservice.com> and it would be better to "Subscripton Notification" then a subject like "for which newsletter" then the senders email in the body of the email ---
Here is the problem as I can see it: - (keep in mind I just started in PHP) the header of the message is what the MTA uses to route the message and communicate with smtp servers. it should not be used (imo) for the message parts itself.
so I would hardcode the header with just the From: header and include everything else in the message.
even then, in the from bit, make sure that the value you insert is secure. ie. send it with $email is not really - rather have some encoded message like "Subscription Notice" and put the actual sender's mail address in the mail body
I would gladly pay for this if it worked well - also - as an inclusive... have two radio buttons (1) subscribe (2) unsubscribe - depending on which one was chosen then an email would be sent to the admin with the Subscribe or Unsubscribe built into the headr of the email - would make the generation of lists easier, especially if they were large
regards
D. Isaacs
|
|
| Back to top |
|
 |
idaryl first grade
Joined: 09 Oct 2006 Posts: 10
|
Posted: Sun Oct 15, 2006 8:14 am Post subject: |
|
|
Is there a way to hard encode a header string to this so it will read as:
(header) Submission Notification (the first line)
then uses the $subject="Subscribe me to Healthy Pet"; (the second line)
then I can add all the /n/r parts to the message including the $email
I get this: in my email box:
----------
(header) Apache <apache@web1.hostingservice.com>
(subject) Newsletter List
(in body of email) someone has registered at the newsletter
-------------------
The problem (as I can see) (and I've just started into PHP) is the header of the message is what the MTA uses to route the message and communicate with smtp servers. it should not be used (imo) for the message parts itself.
so i would hardcode the header with just the From: header and include everything else in the message.
even then, in the from bit, make sure that the value you insert is secure. ie. send it from yourself and put the actual sender's mail address in the mail body
Much rather have it sent with
(header) Newsletter Subscription
(subject) Subscribe me
(in body of email) $email with any comments I can add to "spruce up" the content of the email
I would gladly pay for this if it worked well, and, and had some other functionality like two radio buttons named Subscribe and Unsubscribe, depending on which button was clicked an email was sent to the admin with the (subject) containing Subscribe me or Unsubscribe me - it would make handling larger email lists easier (keep the subscribe.txt (fabulous way to keep the lists intact)
Could it also send a notification back to the $email (sender?) saying thank you or whatever?
|
|
| Back to top |
|
 |
guitarman fourth grade
Joined: 04 Nov 2005 Posts: 725
|
Posted: Sun Oct 15, 2006 2:31 pm Post subject: |
|
|
you get <apache@web1.hostingservice.com> is because we do not input the email address of the subscriber. It can be changed but as it's just send email to you (the webmaster), i think it's fine.
About the radio buttons wise, it actually a great idea and it may be input in the next release version (not in sometimes soon).
notification to sender? that part you can add a mail function just after sending a mail to you (webmaster). it should be straight forwards.
You can PM me if you need help urgently on this and would like to have a complet solution 
|
|
| Back to top |
|
 |
idaryl first grade
Joined: 09 Oct 2006 Posts: 10
|
Posted: Tue Oct 24, 2006 2:20 am Post subject: |
|
|
I wrote - but got no answer
|
|
| Back to top |
|
 |
idaryl first grade
Joined: 09 Oct 2006 Posts: 10
|
Posted: Tue Oct 24, 2006 2:29 am Post subject: |
|
|
I just dicovered "Guitarman" who you told me to write to, is a moderator here... why send me somewhere when he's here all along?
|
|
| Back to top |
|
 |
guitarman fourth grade
Joined: 04 Nov 2005 Posts: 725
|
Posted: Tue Oct 24, 2006 3:08 am Post subject: |
|
|
Pm sent 
|
|
| Back to top |
|
 |
|