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 

simple question from the OOP challenged...

 
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
xtian



Joined: 28 Sep 2010
Posts: 2

PostPosted: Tue Sep 28, 2010 10:14 pm    Post subject: simple question from the OOP challenged... Reply with quote

Setting up the params for file mail-client.php seems self explanatory.

I'm not familiar with capturing errors in OOP style. I use the older method:
$mail_success=mail();
if($mail_success) {...}else{$error="your email didnt go through";}

Can I plug a var from the example mail-client.php in my error test if()?

I've been procrastinating doing the OOP. I will learn the OOP someday. I promise.
X
_________________
XPertMailer - Advanced Mail Engine
Back to top
View user's profile Send private message Visit poster's website
xtian



Joined: 28 Sep 2010
Posts: 2

PostPosted: Tue Oct 05, 2010 5:46 pm    Post subject: Reply with quote

ehehe. I was just feeling intimidated by OO...
I did a crash course over the weekend, then the veil of noobishness was lifted and I was able to read the Xpertmailer Documentation:
MAIL -> boolean send ( [ mixed type ] )
Return TRUE if has been successfully sent, FALSE if not.

Thus,
$mailForward = $m->Send('local');

Asked and Answered.
(>_<)
_________________
XPertMailer - Advanced Mail Engine
Back to top
View user's profile Send private message Visit poster's website
admin
Site Admin


Joined: 14 Aug 2007
Posts: 139

PostPosted: Sat Jan 15, 2011 7:51 am    Post subject: Reply with quote

Great.
_________________
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
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