phpmailer

i need to use php mailer on my site where can i find the plug in that's shown here:
http://www.zenphoto.org/2009/12/phpmailer/

according to this: http://www.zenphoto.org/documentation/plugins/_zp-extensions---PHPMailer.php.html
it's here:
Source Location: /zp-extensions/PHPMailer.php
but the are no folders named zp-extensions as far as i can tell.

Comments

  • If you have no folder named zp-extensions then you must not be using the current release. (NOTE: it is for reasons like this that we request you provide us with details of your installation. But I guess you did not read the forum rules posting that says "Read before posting".)
  • sorry. i'm using 1.2.6
    after downloading 1.2.7 i see this folder inside of zp-core..
  • acrylian Administrator, Developer
    Well, phpmailer requires 1.2.7 of course.
  • New Question:
    I'm having trouble getting phpmailer to send mail. I am using php 5.
    Mail protocol SMTP .
    Mail pssword is correct
    Mail user is correct
    Outgoing mail server is correct
    POP port 110
    Secure mail tried both
    SMTP port 25

    according to this from my host:
    http://www.webhost4life.com/HostingKB/KnowledgebaseArticle50140.aspx
    there needs to be a "from" ( $mail->From="youremail@yourdomain.com" )
    i'm just guessing at the problem. any ideas?
  • The plugin does provide a "from" so perhaps you have not got one set in your configuration
  • the only fields that display are:
    Mail protocol POP3 SMTP SendMail Mail protocal to use.
    Mail pssword Password for mail server.
    Mail user User ID for mail server.
    Outgoing mail server Outgoing mail server.
    POP port POP port number.
    Secure mail Set to use SSL protocol.
    SMTP port

    there is no from field.
    there are a lot of spelling errors BTW.
  • Well, of course there would not be a "from" email address associated with the plugin. That would be provided by the function which is sending the mail. Kind of like the same reason there is not a "to" address in the options!

    `there are a lot of spelling errors BTW.` Don't suppose you would mind saying what.
  • protocal
    pssword
  • So, back to my original question.
    I'm having trouble getting phpmailer to send mail. I am using php 5. All my settings in the field are correct.
    any ideas?
  • So, what is the context of your sendmails? Presumably you have not set a "from" address for that context. For instance, do you have admin emails setup? do you have a contact email address setup? ....
  • yes. I have email set up on my site.
    I'm not sure if the "from" is the problem. that was a guess.
    I'm not sure if i am understanding you correctly.

    does the admin user email need to be the same?
  • Well, since you have not yet answered the question of what the mail context is that is failing it is hard to help. If it is an admin mail then of course you need to have setup a mail address for the admin. If it is some other context then that context will need the "from" part specified.
  • i changed the admin email to the same as the email i put in phpmailer options.
    the error message i get is:
    PHPMailer failed to send test (mywebsite). ErrorInfo:SMTP Error: The following recipients failed: myemail@gmail.com

    i have set up the email address on our mail server which is mail.mywebsite.com
    i sent a test email from my personal email to the admin email wih out a problem.

    where can i specify the "from" part?
    So, what is the context of your sendmails?

    I'm not clear on what you mean by this.

    the email address specified in the contact form is the same as the mail user in php mailer.
  • So your server is rejecting emails from the contact. You will have to configure your server to allow that if you want people to send you emails.
  • so according to my host:
    Your form is using the visitor as From address, please check the codes of your contact form. The From address should be the admin email.
    I guess that's just there thing?

    Can you give me a hint as to where I need to change this on PHPMailer.php
  • That would be the case. The mail is "from" the person trying to contact "to" you the admin. You have to change this is the register user plugin, it is not an issue of the php mailer. So you would change it instead to "from" you "to" you with the contactor not in the loop?
  • so according to my host (my email) is your "From" Address for the website. Because you are sending from that address.
  • i guess FromName="My site's mailer"
  • do i perhaps need to add this to class.phpmailer.php?
  • never mind i found it on line 114 on PHPmailer.php
    $mail->From = $from_mail;
    chandged to
    $mail->From = 'myemail';
Sign In or Register to comment.