email generator form - automatic reply, confirmation email
email generator form - automatic reply, confirmation email
First question:
I have following input fields:
name: John Small
email: john.small@sb.com
Let's assume that my server is "myserver.com"
I receive email from
"John Small" <johnSmall@myserver.com>
How to force mailer to do:
"John Small" <john.small@sb.com>
so that the email could be "replied" by email software?
second question
If sb sends me an email I want my mailer to automatically send not a cc but confirmation message like:
Thank you for sending your message. I will contact you asap ...
How to do that?
Thanx
I have following input fields:
name: John Small
email: john.small@sb.com
Let's assume that my server is "myserver.com"
I receive email from
"John Small" <johnSmall@myserver.com>
How to force mailer to do:
"John Small" <john.small@sb.com>
so that the email could be "replied" by email software?
second question
If sb sends me an email I want my mailer to automatically send not a cc but confirmation message like:
Thank you for sending your message. I will contact you asap ...
How to do that?
Thanx
Cannot do it, like I said here!
http://www.phpwcms.de/forum/viewtopic.php?p=57767#57767
Your server's mailer is not going to let you tell it that you want the email to be from somewhere else, when it "knows" it is the "sender".
http://www.phpwcms.de/forum/viewtopic.php?p=57767#57767
Your server's mailer is not going to let you tell it that you want the email to be from somewhere else, when it "knows" it is the "sender".
Thanks for your quick answer DeXXus.
I think that it is possible. I didn't swiched to phpWCMS yet and on my current page I have mailer that do what I claim i.e. I receive emails from John Small <john.small@sb.com>
Here is my code:
before that I feed variables with:
where are my input form fields.
So is it really not possible in phpWcms to feed $headers with variables ?
How about my second question on confirmation email ?
Thanx
Chris
I think that it is possible. I didn't swiched to phpWCMS yet and on my current page I have mailer that do what I claim i.e. I receive emails from John Small <john.small@sb.com>
Here is my code:
Code: Select all
mail ($recipient2, $subject2, $message2, $headers2);Code: Select all
$headers = "From: $sender_name <$sender_mail>\r\nE-mail: $sender_mail\r\n";Code: Select all
$sender_name and $sender_mailSo is it really not possible in phpWcms to feed $headers with variables ?
How about my second question on confirmation email ?
Thanx
Chris
Actually I don't get your point. So does it meen that there is no built in feature or it is not possible to do due to some system restrictions?
If this is not possible then I am a bit disappointed as I think that this is a very basic function that should certainly be implemented in phpWcms (together with confirmation email)
Any idea how should I do what I want. Maybe I will inert my own PHP script into article?
Maybe it should be posted in Hack section?
Thanx DeXXus
If this is not possible then I am a bit disappointed as I think that this is a very basic function that should certainly be implemented in phpWcms (together with confirmation email)
Any idea how should I do what I want. Maybe I will inert my own PHP script into article?
Maybe it should be posted in Hack section?
Thanx DeXXus
I think you're right, in some occasions it's more logic to have the email address the user fills in, to have as the sender.
Perhaps it's an idea to make it an option in the content part, a radio button:
O sender is phpwcms (value from $phpwcms['SMTP_FROM_EMAIL'] )
O sender is the email address the user fills in
Please post it the phpwcms Feature Requests forum
Perhaps it's an idea to make it an option in the content part, a radio button:
O sender is phpwcms (value from $phpwcms['SMTP_FROM_EMAIL'] )
O sender is the email address the user fills in
Please post it the phpwcms Feature Requests forum
Sounds like you got my point ~exactly~chris102 wrote:Actually I don't get your point.
Not built in, by the fact of how "that" content part ~currently~ works(more "design-oriented" than "funtion-flexible").chris102 wrote: So does it meen that there is no built in feature or it is not possible to do due to some system restrictions?
Not impossible, you have the right ideas for what is required below:chris102 wrote:If this is not possible then I am a bit disappointed as I think that this is a very basic function that should certainly be implemented in phpWcms (together with confirmation email)![]()
chris102 wrote:Any idea how should I do what I want. Maybe I will inert my own PHP script into article?
Maybe it should be posted in Hack section?
- Klappstuhl28
- Posts: 833
- Joined: Fri 4. Mar 2005, 01:58
- Location: Hamburg
- Contact:
To avoid the ...@myserver.com
please read this
http://www.phpwcms.de/forum/viewtopic.p ... highlight=
Lars
please read this
http://www.phpwcms.de/forum/viewtopic.p ... highlight=
Lars
Lars
Don't say you don't have enough time. You have exactly the same number of hours per day that were given to Helen Keller, Pasteur, Michaelangelo, Mother Teresa, Leonardo da Vinci, Thomas Jefferson, and Albert Einstein. - H. Jackson Brown -
Don't say you don't have enough time. You have exactly the same number of hours per day that were given to Helen Keller, Pasteur, Michaelangelo, Mother Teresa, Leonardo da Vinci, Thomas Jefferson, and Albert Einstein. - H. Jackson Brown -
Thanks for your help Klappstuhl28 but before I aksed my question I had already read your post.
First you wrote:
In spite of reading the whole discussion on your post I still don't know what should I do to receive email not from Joe.Blogs@web10.websitesource.net but from Joe.Blogs@joeshost.com
Is a
As I wrote in my first post now I am using PHP mail function. I feed headers with sender_email variable and it works fine. So I cann't blame my server settings for that.
Thanx
First you wrote:
Next you wrote:Presently, if my form is filled out by "Joe Blogs", the email comes through from Joe.Blogs@web10.websitesource.net (my host). I'm using a field name called "email", but I can't get that to show up as the sender...
These are two different things to me. I have a problem with the first one you mentioned.My problem is, that the confirmation-mail to the person who has filled out the form contains user@post.webmailer.de as the sender address.
In spite of reading the whole discussion on your post I still don't know what should I do to receive email not from Joe.Blogs@web10.websitesource.net but from Joe.Blogs@joeshost.com
Is a
solution to this ? I am using different server so settings are most probably not suitable for me.<INPUT type=hidden name="print_config" value="email,subject,realname">.
As I wrote in my first post now I am using PHP mail function. I feed headers with sender_email variable and it works fine. So I cann't blame my server settings for that.
Thanx
- Klappstuhl28
- Posts: 833
- Joined: Fri 4. Mar 2005, 01:58
- Location: Hamburg
- Contact:
Ah,
the joe-blog-thing wasn´t me but it was the same thing. I now use the smtp-mailer with the standard POP3-settings which i use maybe with thunderbird or outlook to receive my mails from the provider-server. This is a triple-must!!! to send a confirmation-mail to the user and to get a"@yourdomain.com"-mail. If not the mailer uses the standard-setting from the provider-server and you´ll get this ugly @myhost.com.
And the smtp-settings are to set in the conf.inc.php.
Hope this will solve your problem
Lars
the joe-blog-thing wasn´t me but it was the same thing. I now use the smtp-mailer with the standard POP3-settings which i use maybe with thunderbird or outlook to receive my mails from the provider-server. This is a triple-must!!! to send a confirmation-mail to the user and to get a"@yourdomain.com"-mail. If not the mailer uses the standard-setting from the provider-server and you´ll get this ugly @myhost.com.
And the smtp-settings are to set in the conf.inc.php.
Hope this will solve your problem
Lars
Lars
Don't say you don't have enough time. You have exactly the same number of hours per day that were given to Helen Keller, Pasteur, Michaelangelo, Mother Teresa, Leonardo da Vinci, Thomas Jefferson, and Albert Einstein. - H. Jackson Brown -
Don't say you don't have enough time. You have exactly the same number of hours per day that were given to Helen Keller, Pasteur, Michaelangelo, Mother Teresa, Leonardo da Vinci, Thomas Jefferson, and Albert Einstein. - H. Jackson Brown -
-
thoblerone@work
- Posts: 8
- Joined: Fri 3. Feb 2006, 14:55
- Location: Sprockhövel, Germany
- Contact:
contact form reply feature
Perhaps this helps:
http://www.phpwcms.de/forum/viewtopic.php?p=62448#62448
http://www.phpwcms.de/forum/viewtopic.php?p=62448#62448