XPertMailer Home Page
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to set up a Reply-To when using a php form.

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    XPertMailer Forum Index -> Help
View previous topic :: View next topic  
Author Message
CaptainMorgan



Joined: 09 Jun 2008
Posts: 1
Location: USA

PostPosted: Mon Jun 09, 2008 6:27 am    Post subject: How to set up a Reply-To when using a php form. Reply with quote

After conducting a search here I found exactly one post related to this topic, but the post was primarily how to send attachments. I simply would like to know how to automate a Reply-To feature, much like a To or From header is employed. After looking through some various XP3/4_FUNC or MAIL files I didn't see an added Reply-To method. What am I missing to allow this feature? It's a small problem at the moment, but it would cut down on response times if the field was populated automatically so I can just hit Reply in my favorite email reader... instead of having to cut and paste as it is now... the To and From fields are correct, however I'm using a php form to allow visitors to send communication, thus their email is not on the reply but mine that I set in apache to enable the form to send or receive. Much like a From or To, how can I take this variable and add it to a method so that the Reply-To header field will be auto-populated?

Thanks in advance,
-Capt
_________________
XPertMailer - Advanced Mail Engine
Back to top
View user's profile Send private message Visit poster's website AIM Address
admin
Site Admin


Joined: 14 Aug 2007
Posts: 139

PostPosted: Tue Jun 10, 2008 11:57 am    Post subject: Reply with quote

For XPM4:
Code:
$m = new MAIL;
$m->AddHeader('Reply-To', 'username@domain.net');

More info: http://www.xpertmailer.com/documentation/mail/addheader.html
_________________
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
divydovy



Joined: 07 Jan 2010
Posts: 2

PostPosted: Thu Jan 07, 2010 2:57 pm    Post subject: Using Xpertmailer with Contact Form 7 - reply-to Reply with quote

Hi, thanks admin for the XPM4 reply-to header code.

I'm a bit of a PHP n00b so sorry if this is an easy/stupid question.

I've managed to add the additional header as below, to give a static reply-to email address.

I'm using Contact Form 7 to allow users to contact us. CF7 allows me to specify a specific reply-to email address that can be the sender's email address, as they entered to the form.

How can I modify the Xpertmailer PHP to use this custom (i.e. sender-specific) reply-to email addresses? Is it possible?

Thanks in advance for reading and any answers/tips you can share.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    XPertMailer Forum Index -> Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group