Find Facebook user (url to profile page) by known email address

The definitive answer to this is from Facebook themselves. In post today at https://developers.facebook.com/bugs/335452696581712 a Facebook dev says The ability to pass in an e-mail address into the “user” search type was removed on July 10, 2013. This search type only returns results that match a user’s name (including alternate name). So, alas, the simple … Read more

In SMTP, must the RCPT TO: and TO: match?

No, they don’t have to match. When the message is sent, the SMTP Server (aka Message Transfer Agent or MTA) is creating a so called SMTP envelope which contains the recipients and the sender of the message (see RFC5321): SMTP transports a mail object. A mail object contains an envelope and content. The SMTP envelope … Read more

send email from localhost

Update for rails 4.0 Now you need these code to make it work: # I recommend using this line to show error config.action_mailer.raise_delivery_errors = true ActionMailer::Base.smtp_settings = { :address => ‘smtp.gmail.com’, :domain => ‘mail.google.com’, :port => 587, :user_name => ‘[email protected]’, :password => ‘******’, :authentication => :plain, :enable_starttls_auto => true }

Java Email message Parser?

JavaMail is an oracle library that provides mail services and mail related services (like parsing conventional & MIME messages) in the javax.mail package. Additionally Apache has a Commons Email library for mail handling. In the JavaMail api, a simple way to parse a string containing an email message (which may or may not be explicitly … Read more

Mailx send html message [duplicate]

It’s easy, if your mailx command supports the -a (append header) option: $ mailx -a ‘Content-Type: text/html’ -s “my subject” [email protected] < email.html If it doesn’t, try using sendmail: # create a header file $ cat mailheader To: [email protected] Subject: my subject Content-Type: text/html # send $ cat mailheader email.html | sendmail -t

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)