The Joomla! Forum ™





Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Wed Dec 06, 2006 2:03 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Dec 06, 2006 1:18 pm
Posts: 3
Dear all,

I´m searching for a solution to change the "From:" mailadress when I send a mail with CiviCRM to multiple contacts. I would do the changes in the core by myself, but I can´t find the right location of that.

The best would be if I could type in a sender emailadress by my own, like the subject and the message itself. But if this is to difficult, it would also be excellent when a adress like "no-reply@domain.com" is preset.

Hope you can give me some advice.

Kind regards,
Tobias


Top
 Profile  
 
PostPosted: Sat Dec 09, 2006 6:55 am 
Joomla! Guru
Joomla! Guru

Joined: Tue Aug 23, 2005 5:45 am
Posts: 502
The best place to look and change this is CRM/Contact/Form/Task/Email.php. Search for $from

there is no option to control this currently

lobo


Top
 Profile  
 
PostPosted: Mon Dec 11, 2006 1:57 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Dec 06, 2006 1:18 pm
Posts: 3
Yes, I found the var $from and replaced it with another value but this changes only the displayed "from" mail adress and not the one that is really used to deliver. Do know where I can change this? I searched in the whole class for that, but I didn´t find anything.  :(

Maybe Iam only blind  ???


Top
 Profile  
 
PostPosted: Mon Dec 11, 2006 6:05 pm 
Joomla! Guru
Joomla! Guru

Joined: Tue Aug 23, 2005 5:45 am
Posts: 502
If you are hacking the code, please try to understand and follow the logic. You might need to read up and get familiar with PHP.

The actual mail is sent from: CRM/Core/BAO/EmailHistory.php, function sendMail. You'll also need to change it there

lobo


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 



Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group