Your SlideShare is downloading. ×
Email Configuration
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Email Configuration

566
views

Published on

A tutorial on how to set the defaults for emails in ProdigyView

A tutorial on how to set the defaults for emails in ProdigyView

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
566
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Email Configuration
  • 2. OverviewObjectiveLearn how to configure the default values of the PVMailclass.Requirements Understanding the basics of sending an email and SMTP email in ProdigyViewEstimated Time10 Minutes www.prodigyview.com
  • 3. Follow Along With Code Example1. Download a copy of the example code at www.prodigyview.com/source.2. Install the system in an environment you feel comfortable testing in.3. Proceed to examples/util/Mail_Configuration.php
  • 4. Configuration InitThe init function of PVMail can be used to setup defaultconfigurations for the mail class. Through this tutorial, wewill go over the defaults passed in the init.
  • 5. Default SenderNormally, the sender has to be applied to the header of anemail before sending an email. Applying a default senderwill ensure that if no sender is set in the header, the emailwill be sent from the supplied email address.
  • 6. MailerNatively, ProdigyView supports sending mail through php andsmtp. By default using the method PVMail::sendMail will sendan email using the php mail function. But the default can bechanged to send email through SMTP by changing the ‘mailer’value to smtp. PVMail::sendMailSend mail using PHP mail Send email through SMTP function Setting the mailer
  • 7. Default SMTP HOSTIf the mailer is set to SMTP, a default SMTP host can beset here. When PVMail::sendMail orPVMail::sendEmailSMTP is called, this value will act asthe default host if none is supplied.
  • 8. Default SMTP UsernameIf the mailer is set to SMTP, a default SMTP usernamecan be set here. When PVMail::sendMail orPVMail::sendEmailSMTP is called, this value will act asthe default username if none is supplied.
  • 9. Default SMTP PasswordIf the mailer is set to SMTP, a default SMTP password canbe set here. When PVMail::sendMail orPVMail::sendEmailSMTP is called, this value will act asthe default password if none is supplied.
  • 10. Default SMTP PortIf the mailer is set to SMTP, a default SMTP port can beset here. When PVMail::sendMail orPVMail::sendEmailSMTP is called, this value will act asthe default port if none is supplied.
  • 11. API ReferenceFor a better understanding of the email, visit the api byclicking on the link below.PVMail More TutorialsFor more tutorials, please visit:http://www.prodigyview.com/tutorials www.prodigyview.com